Files
dotfiles/config/hypr/hyprland/binds/main.lua
T

16 lines
1.4 KiB
Lua

hl.bind("SUPER + X", hl.dsp.submap("launch"), { description = "Launching programs" })
hl.bind("SUPER + D", hl.dsp.submap("device"), { description = "Device controls" })
hl.bind("SUPER + C", hl.dsp.submap("notifications"), { description = "Notifications management" })
hl.bind("SUPER + G", hl.dsp.submap("groups"), { description = "Window group management" })
hl.bind("SUPER + S", hl.dsp.submap("screenshot"), { description = "Screenshots" })
hl.bind("SUPER + W", hl.dsp.submap("window"), { description = "Window management" })
hl.bind("SUPER + A", hl.dsp.submap("workspace"), { description = "Workspace controls" })
hl.bind("SUPER + P", hl.dsp.submap("groupedlaunch"), { description = "Launch groups of programs" })
hl.bind("SUPER + Q", hl.dsp.window.close(), { description = "Close active window" })
hl.bind("SUPER + Space", hl.dsp.exec_cmd("dms ipc call spotlight toggle"), { description = "Toggle app launcher" })
hl.bind("SUPER + SHIFT + Space", hl.dsp.exec_cmd("dms ipc call spotlight-bar toggle"), { description = "Toggle app launcher as small bar" })
hl.bind("SUPER + Escape", hl.dsp.exec_cmd("wlogout"), { description = "Toggle logout screen" })
hl.bind("SUPER + I", hl.dsp.exec_cmd("dms ipc call control-center open"), { description = "Toggle control centre" })
hl.bind("SUPER + CTRL + H", hl.dsp.exec_cmd("dms ipc call keybinds toggle hyprland"), { description = "Toggle keybinds panel" })