fix: capture active monitor in screenshot bind instead of hardcoded DP-1

Ctrl+Print was tied to DP-1, so it failed on the laptop alone or with
a different external. Using -m active picks the currently focused
output, so the same bind works on any host.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jeena 2026-05-14 12:30:50 +00:00
parent 7b99932299
commit 8ac4023dc1

View file

@ -12,7 +12,7 @@ bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen bind = $mainMod, F, fullscreen
# Screenshot # Screenshot
bind = CTRL, PRINT, exec, hyprshot -m output -m DP-1 bind = CTRL, PRINT, exec, hyprshot -m active -m output
bind = , PRINT, exec, hyprshot -m window bind = , PRINT, exec, hyprshot -m window
bind = SHIFT, PRINT, exec, hyprshot -m region bind = SHIFT, PRINT, exec, hyprshot -m region