From 4d1612e5ccde3a107a57c1076f0cb6b55babd239 Mon Sep 17 00:00:00 2001 From: caley Date: Wed, 24 Jun 2026 00:31:55 +0200 Subject: Update hypr.nix --- nixos/mdls/hypr.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nixos/mdls/hypr.nix') 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" })) -- cgit v1.3.1