- Simplify screen recording modes by removing the "all-creen" capture
- Introduce dynamic audio source resolution using `wpctl` to target the
active Pipewire output monitor
- Refactor keybindings to use `CTRL` as a modifier for system audio
toggle:
- `SUPER + W` series for video-only capture.
- `SUPER + Ctrl + W` series for video capture with system audio
loopback
- Harden the recording script to handle audio device resolution failures
gracefully.
14 lines
849 B
Lua
14 lines
849 B
Lua
-- Optional per-user keybind overrides (managed by DMS). Loaded after default binds.
|
|
|
|
-- Screen screenshots
|
|
hl.bind("SUPER + S", hl.dsp.exec_cmd("grimblast --notify copysave area"))
|
|
hl.bind("SUPER + SHIFT + S", hl.dsp.exec_cmd("grimblast --notify copysave active"))
|
|
hl.bind("SUPER + CTRL + S", hl.dsp.exec_cmd("grimblast --notify copysave output"))
|
|
hl.bind("SUPER + SHIFT + CTRL + S", hl.dsp.exec_cmd("grimblast --notify copysave screen"))
|
|
|
|
-- Screen video recordings (SUPER + W series)
|
|
hl.bind("SUPER + W", hl.dsp.exec_cmd("~/.config/hypr/scripts/record.sh area"))
|
|
hl.bind("SUPER + SHIFT + W", hl.dsp.exec_cmd("~/.config/hypr/scripts/record.sh output"))
|
|
hl.bind("SUPER + CTRL + W", hl.dsp.exec_cmd("~/.config/hypr/scripts/record.sh area audio"))
|
|
hl.bind("SUPER + SHIFT + CTRL + W", hl.dsp.exec_cmd("~/.config/hypr/scripts/record.sh output audio"))
|