summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorcaley <u65487754@gmail.com>2026-05-31 19:14:39 +0200
committerGitHub <noreply@github.com>2026-05-31 19:14:39 +0200
commitbf6d30a6696924260e6a91f8aaf8cf6023d8339a (patch)
tree1800403fbe4832789f27b5ec65ad26d7ae48cee1 /nixos
parente1a6e2b65654cd3cd13f0054623e108aeaae925c (diff)
Update hypr.nix
Diffstat (limited to 'nixos')
-rw-r--r--nixos/hypr.nix7
1 files 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" }))