Files
nvrl b27936a237 feat(hypr): one meaning per modifier in the keybinds
SUPER opens what the key names, SHIFT takes the window along, CTRL
switches session state, ALT resizes. ALT alone is left to the apps,
except ALT+TAB.

- clipboard ALT+M -> SUPER+C, replay ALT+Z -> SUPER+Z, camera
  ALT+SHIFT+C -> SUPER+CTRL+C
- maximize SUPER+M, pdfs SUPER+R (read), group SUPER+G
- SUPER+N opens the notification log (new IPC call), SHIFT clears it
- float and pin on SUPER+SHIFT+V, replacing the separate pin on O
- dnd, stay awake, wallpaper, mirror, reload and layout on SUPER+CTRL
- record the monitor on SUPER+CTRL+PRINT, matching CTRL+PRINT
- every bind carries a description, so the cheatsheet is complete
2026-11-03 18:31:54 +01:00

27 lines
1.3 KiB
Lua

-- Launching things.
-- https://wiki.hypr.land/Configuring/Basics/Binds/
--
-- How the keys are laid out, across every file in binds/:
--
-- SUPER + key open or go to the thing the key names
-- SUPER + SHIFT + key the same, but take the focused window along
-- (or the bigger version of it)
-- SUPER + CTRL + key switches for the session: lock, quiet, awake,
-- mirror, layout, wallpaper, camera, reload
-- SUPER + ALT + hjkl resize
-- PRINT pictures; SHIFT to a file, CTRL without selecting,
-- SUPER for video
--
-- ALT alone is left to the apps, except ALT+TAB. Letters resolve by symbol
-- (lua/input.lua), so they mean the same on Dvorak and QWERTY.
local apps = require("lua/apps")
local mod = "SUPER"
hl.bind(mod .. " + RETURN", hl.dsp.exec_cmd(apps.terminal), { description = "terminal" })
hl.bind(mod .. " + SPACE", hl.dsp.exec_cmd(apps.menu), { description = "app launcher" })
hl.bind(mod .. " + E", hl.dsp.exec_cmd(apps.fileManager), { description = "file explorer" })
hl.bind(mod .. " + R", hl.dsp.exec_cmd(apps.pdfs), { description = "read a pdf" })
hl.bind(mod .. " + B", hl.dsp.exec_cmd(apps.bluetooth), { description = "bluetooth menu" })
hl.bind(mod .. " + C", hl.dsp.exec_cmd(apps.clipboard), { description = "clipboard history" })