From bf6d30a6696924260e6a91f8aaf8cf6023d8339a Mon Sep 17 00:00:00 2001 From: caley Date: Sun, 31 May 2026 19:14:39 +0200 Subject: Update hypr.nix --- nixos/hypr.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/hypr.nix b/nixos/hypr.nix index befd736..5e652ad 100644 --- a/nixos/hypr.nix +++ b/nixos/hypr.nix @@ -14,7 +14,6 @@ local mod = "SUPER" local terminal = "kitty" local filemanager = "nautilus" - local menu = "rofi -show drun" local browser = "helium" hl.on("hyprland.start", function () @@ -117,15 +116,15 @@ }) hl.bind(mod .. " + Q", hl.dsp.exec_cmd(terminal)) + 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 .. " + E", hl.dsp.exec_cmd(filemanager)) hl.bind(mod .. " + B", hl.dsp.exec_cmd(browser)) - hl.bind(mod .. " + R", hl.dsp.exec_cmd(menu)) 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(mod .. " + T", hl.dsp.exec_cmd("master")) - hl.bind(mod .. " + W", hl.dsp.exec_cmd("pkill -SIGUSR1 waybar")) 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(mod .. " + left", hl.dsp.focus({ direction = "left" })) -- cgit v1.3.1