Restore the binds that the resize change removed by mistake

d6d8aa0 cut the whole range between the resize submap and the screenshots
section, which also deleted the "sysadmin toolbox" binds: Mod+S (SSH menu),
Mod+T/B/K, Mod+Shift+B/T, Mod+F1 (cheatsheet), Mod+[ ], Mod+, and Mod+.
Put them back; the resize change itself is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 14:13:41 +05:00
co-authored by Claude Sonnet 5.5
parent d6d8aa00c8
commit af3b12a131
+16
View File
@@ -205,6 +205,22 @@ for key, d in pairs(rs) do
b(mod .. " + CTRL + " .. key, hl.dsp.window.resize({ x = d[1], y = d[2], relative = true }), { repeating = true }) b(mod .. " + CTRL + " .. key, hl.dsp.window.resize({ x = d[1], y = d[2], relative = true }), { repeating = true })
end end
-- sysadmin toolbox
b(mod .. " + S", hl.dsp.exec_cmd("kitty --class ssh-menu -o font_size=12 -o env=SSH_MENU=1 --title 'ssh menu' ~/.config/hypr/scripts/ssh-menu.sh")) -- SSH hub (fzf)
local raise = "~/.config/hypr/scripts/raise.sh "
b(mod .. " + T", hl.dsp.exec_cmd(raise .. "'^org.telegram.desktop$' flatpak run org.telegram.desktop")) -- focus if open, else launch
b(mod .. " + B", hl.dsp.exec_cmd(raise .. "'^google-chrome$' flatpak run com.google.Chrome")) -- again = next Chrome window
b(mod .. " + SHIFT + B", hl.dsp.exec_cmd("flatpak run com.google.Chrome --new-window")) -- always a new window
b(mod .. " + F1", hl.dsp.exec_cmd("~/.config/hypr/scripts/cheatsheet.sh")) -- hotkey reference
b(mod .. " + K", hl.dsp.exec_cmd(raise .. "'^org.keepassxc.KeePassXC$' keepassxc"))
b(mod .. " + SHIFT + T", hl.dsp.window.pin()) -- keep a floating window on top
b(mod .. " + bracketright", hl.dsp.group.next())
b(mod .. " + bracketleft", hl.dsp.group.prev())
-- two monitors: laptop <-> external (focus only)
b(mod .. " + comma", hl.dsp.focus({ monitor = "-1" }))
b(mod .. " + period", hl.dsp.focus({ monitor = "+1" }))
-- screenshots (grim + slurp; saved to ~/Pictures/Screenshots and copied) -- screenshots (grim + slurp; saved to ~/Pictures/Screenshots and copied)
local shot = "mkdir -p ~/Pictures/Screenshots; f=~/Pictures/Screenshots/$(date +%F_%H-%M-%S).png; " local shot = "mkdir -p ~/Pictures/Screenshots; f=~/Pictures/Screenshots/$(date +%F_%H-%M-%S).png; "
b("Print", hl.dsp.exec_cmd(shot .. "grim -g \"$(slurp)\" - | tee $f | wl-copy")) b("Print", hl.dsp.exec_cmd(shot .. "grim -g \"$(slurp)\" - | tee $f | wl-copy"))