Skip to content

Commit

Permalink
use Ctrl+Q as launch hot key
Browse files Browse the repository at this point in the history
  • Loading branch information
zu1k committed Oct 24, 2021
1 parent f408d38 commit f134710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Copy Translator 是使用Rust编写的翻译小工具

## 使用说明

工具仅一个exe,启动后会驻留后台,选中文本后按 `ctrl+d``ctrl+q` 唤起翻译界面,`esc`关闭界面,`ctrl+shift+d`完全退出
工具仅一个exe,启动后会驻留后台,选中文本后按 `ctrl+q` 唤起翻译界面,`esc`关闭界面,`ctrl+shift+d`完全退出

在界面开启的情况下,可以通过选中文本触发翻译行为,无需快捷键,俗称“划词翻译”

Expand Down
2 changes: 1 addition & 1 deletion src/hotkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub struct HotkeySetting {
impl Default for HotkeySetting {
fn default() -> Self {
let mut hotkey_settings = Self {
launch: "ALT+D".to_string(),
launch: "CMDORCTRL+Q".to_string(),
quit: "CMDORCTRL+SHIFT+D".to_string(),
hk_mng: HotkeyManager::new(),
};
Expand Down

0 comments on commit f134710

Please sign in to comment.