feat: add hold-to-talk listener and restore Handy-managed preferences
This commit is contained in:
1 parent
0992f3b863
commit
e61f230978
7 files changed
+135
-47
No files matched your search
@@ -36,19 +36,23 @@ in
|
||||
};
|
||||
|
||||
# Dictation
|
||||
"Mod+Shift+D" = {
|
||||
"Mod+D" = {
|
||||
spawn = [
|
||||
handy
|
||||
"--toggle-transcription"
|
||||
"systemctl"
|
||||
"--user"
|
||||
"start"
|
||||
"handy-ptt.service"
|
||||
];
|
||||
_props.repeat = false;
|
||||
_props.hotkey-overlay-title = "Hold to Dictate";
|
||||
};
|
||||
"Mod+Shift+D" = {
|
||||
spawn-sh = "systemctl --user stop handy-ptt.service && ${handy} --toggle-transcription";
|
||||
_props.repeat = false;
|
||||
_props.hotkey-overlay-title = "Toggle Dictation";
|
||||
};
|
||||
"Mod+Ctrl+D" = {
|
||||
spawn = [
|
||||
handy
|
||||
"--cancel"
|
||||
];
|
||||
spawn-sh = "systemctl --user stop handy-ptt.service && ${handy} --cancel";
|
||||
_props.repeat = false;
|
||||
_props.hotkey-overlay-title = "Cancel Dictation";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user