summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/mdls/hypr.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/mdls/hypr.nix b/nixos/mdls/hypr.nix
index bfd55c5..708ed0b 100644
--- a/nixos/mdls/hypr.nix
+++ b/nixos/mdls/hypr.nix
@@ -119,13 +119,14 @@
hl.bind(mod .. " + R", hl.dsp.exec_cmd("quickshell ipc call menu toggle"))
hl.bind(mod .. " + T", hl.dsp.exec_cmd("quickshell ipc call master toggle"))
hl.bind(mod .. " + W", hl.dsp.exec_cmd("quickshell ipc call bar toggle"))
+ hl.bind(mod .. " + X", hl.dsp.exec_cmd("quickshell ipc call mic toggle"))
hl.bind(mod .. " + E", hl.dsp.exec_cmd(filemanager))
hl.bind(mod .. " + B", hl.dsp.exec_cmd(browser))
hl.bind(mod .. " + C", hl.dsp.window.close())
hl.bind(mod .. " + V", hl.dsp.window.float({ action = "toggle" }))
hl.bind(mod .. " + F", hl.dsp.window.fullscreen({ mode = 0 }))
hl.bind(mod .. " + Tab", hl.dsp.focus({ workspace = "m+1" }))
- hl.bind("ALT + S", hl.dsp.exec_cmd("bash -c '[[ -f /tmp/slurplock ]] && exit; touch /tmp/slurplock; mkdir -p /home/silly/Pictures/screenshots; f=\"/home/silly/Pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png\"; grim -g \"$(slurp)\" \"$f\" && wl-copy < \"$f\"; rm -f /tmp/slurplock'"))
+ hl.bind("ALT + S", hl.dsp.exec_cmd("grim -g \"$(slurp)\" - | wl-copy"))
hl.bind(mod .. " + left", hl.dsp.focus({ direction = "left" }))
hl.bind(mod .. " + right", hl.dsp.focus({ direction = "right" }))