add new keybindings

This commit is contained in:
Simon Rieger 2025-08-29 12:19:13 +02:00
parent e101f4c425
commit db35616e4d
2 changed files with 6 additions and 2 deletions

View file

@ -43,9 +43,10 @@ bind = Super, Print, exec, ~/.config/hypr/scripts/screenshot.sh window
bind = $mainMod, P, exec, ~/.config/hypr/scripts/screenshot.sh area
bind = $mainMod+Shift, P, exec, ~/.config/hypr/scripts/screenshot.sh edit
bind = Super, P, exec, ~/.config/hypr/scripts/screenshot.sh window
bind = Super+Shift, P, exec, ~/.config/hypr/scripts/screenshot.sh window-edit
# Text Pasting Script
bind = Super+Shift, P, exec, ~/.config/hypr/scripts/dotool_wp-paste.sh
bind = Super+Shift, O, exec, ~/.config/hypr/scripts/dotool_wp-paste.sh
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l

View file

@ -8,10 +8,13 @@ case $1 in
grim -g "$(slurp -d)" - | satty -f -
;;
"window")
grim -g "$(slurp -o -r -c '##ff0000ff')" - | wl-copy
;;
"window-edit")
grim -g "$(slurp -o -r -c '##ff0000ff')" -t ppm - | satty --filename - --fullscreen
;;
*)
echo "Usage: $0 [area|edit|window]"
echo "Usage: $0 [area|edit|window|window-edit]"
exit 1
;;
esac