hypr-dotfiles/hypr/keybindings.conf
Jeena 8ac4023dc1 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>
2026-05-14 12:30:50 +00:00

32 lines
1 KiB
Text

bind = $mainMod, T, exec, $terminal
bind = $mainMod, B, exec, $browser
bind = $mainMod, W, killactive,
bind = $mainMod SHIFT, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bindr = $mainMod, SUPER_L, exec, $app_menu
bind = SHIFT, SUPER_L, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen
# Screenshot
bind = CTRL, PRINT, exec, hyprshot -m active -m output
bind = , PRINT, exec, hyprshot -m window
bind = SHIFT, PRINT, exec, hyprshot -m region
# Color picker
bind = $mainMod, C, exec, hyprpicker --autocopy
# Lock
bind = $mainMod, L, exec, ~/.config/hypr/scripts/lock.sh
bind = $mainMod SHIFT, L, exec, wlogout --protocol layer-shell
# Cheatsheet
bind = $mainMod, F1, exec, ~/.config/hypr/scripts/cheatsheet.py ~/.config/hypr/shortcuts.txt
# OBS
bind = $mainMod ALT, TAB, pass, class:^(com.obsproject.Studio)$
bind = , F1, pass, class:^(com.obsproject.Studio)$
bind = , F2, pass, class:^(com.obsproject.Studio)$