Diff
1diff --git a/dot_config/hypr/hyprland.lua.tmpl b/dot_config/hypr/hyprland.lua.tmpl
2index ef1a28fecd6d7d57d921a4915902e09e42e0d4f5..84fefb863d4b94388d9cad7de8695ef57e0400c3 100644
3--- a/dot_config/hypr/hyprland.lua.tmpl
4+++ b/dot_config/hypr/hyprland.lua.tmpl
5@@ -151,6 +151,17 @@ hl.bind(mod .. " + BackSpace", hl.dsp.exec_cmd(menu))
6 hl.bind(mod .. " + J", hl.dsp.exec_cmd("BEMOJI_PICKER_CMD='fuzzel -d' bemoji"))
7 hl.bind(mod .. " + D", hl.dsp.exec_cmd("fuzzel '--launch-prefix=uwsm app --'"))
8 hl.bind(mod .. " + Return", hl.dsp.exec_cmd("uwsm app -- " .. terminal .. " +new-window"))
9+hl.bind(
10+ mod .. " + A",
11+ hl.dsp.exec_cmd(
12+ "echo 'start' | /usr/bin/socat - UNIX-CONNECT:$XDG_RUNTIME_DIR/whisper-dictate/whisper-dictate.sock"
13+ )
14+)
15+hl.bind(
16+ mod .. " + A",
17+ hl.dsp.exec_cmd("echo 'stop' | /usr/bin/socat - UNIX-CONNECT:$XDG_RUNTIME_DIR/whisper-dictate/whisper-dictate.sock"),
18+ { release = true }
19+)
20
21 hl.bind(mod .. " + H", hl.plugin.hy3.move_focus("left"))
22 hl.bind(mod .. " + I", hl.plugin.hy3.move_focus("right"))