feat: add local dictation with Handy and Niri shortcuts
This commit is contained in:
1 parent
4949aef927
commit
786fc97ea0
4 files changed
+48
No files matched your search
@@ -1,5 +1,6 @@
|
||||
{
|
||||
browser,
|
||||
handy,
|
||||
launcher,
|
||||
swapMonitorWorkspaces,
|
||||
terminal,
|
||||
@@ -34,6 +35,24 @@ in
|
||||
_props.hotkey-overlay-title = "App Launcher";
|
||||
};
|
||||
|
||||
# Dictation
|
||||
"Mod+D" = {
|
||||
spawn = [
|
||||
handy
|
||||
"--toggle-transcription"
|
||||
];
|
||||
_props.repeat = false;
|
||||
_props.hotkey-overlay-title = "Toggle Dictation";
|
||||
};
|
||||
"Mod+Shift+D" = {
|
||||
spawn = [
|
||||
handy
|
||||
"--cancel"
|
||||
];
|
||||
_props.repeat = false;
|
||||
_props.hotkey-overlay-title = "Cancel Dictation";
|
||||
};
|
||||
|
||||
# Hardware media, volume, and brightness keys
|
||||
"XF86AudioPlay" = spawnLocked "playerctl play-pause";
|
||||
"XF86AudioStop" = spawnLocked "playerctl stop";
|
||||
|
||||
Reference in new issue
Block a user