Add Hyprland screenshot shortcuts

This commit is contained in:
ltadeu6 2026-04-20 18:44:39 -03:00
parent 6987ad3f49
commit 0cd9eea75b
2 changed files with 23 additions and 2 deletions

View file

@ -16,8 +16,8 @@
$ULTRA = desc:LG Electronics LG ULTRAWIDE 512AZWSDD473
$SIDE = desc:STD Computer Inc LED
monitor = $ULTRA,3440x1440@159.96,0x0,1, bitdepth, 10, cm, hdr, sdrbrightness, 1.3
# monitor = $ULTRA,3440x1440@159.96,0x0,1
monitor = $ULTRA,3440x1440@159.96,0x0,1
# monitor = $ULTRA,3440x1440@159.96,0x0,1, bitdepth, 10, cm, hdr, sdrbrightness, 1.3
monitor = $SIDE,1920x1080@60,-1400x-1080,1
@ -218,6 +218,11 @@ bind = $mainMod, F, fullscreen
bind = $mainMod CTRL, F, fullscreenstate, 0, 2
bind = $mainMod, C, centerwindow, 1
# Screenshots to clipboard
bind = , Print, exec, sh -lc 'grim -g "$(slurp)" - | wl-copy --type image/png'
bind = CTRL, Print, exec, sh -lc 'grim - | wl-copy --type image/png'
bind = ALT, Print, exec, ~/.config/hypr/scripts/screenshot-active-window.sh
# Focus and movement
# Move focus with mainMod + arrow keys
bind = $mainMod, right, movefocus, l