summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorcaley <u65487754@gmail.com>2026-06-24 00:31:55 +0200
committerGitHub <noreply@github.com>2026-06-24 00:31:55 +0200
commit4d1612e5ccde3a107a57c1076f0cb6b55babd239 (patch)
tree0d278d2e91c441fcab6d411cf4988905be2e7f50 /nixos
parent10b20bd02017b599a5909f2b0e4717fa12101b33 (diff)
Update hypr.nix
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" }))