dotfiles/config/sway/config.d/screencapture

13 lines
351 B
Plaintext
Raw Normal View History

2023-12-21 11:27:01 +02:00
set $ps1 Print
set $ps2 Control+Print
set $ps3 Alt+Print
set $ps4 Alt+Control+Print
set $psf $(xdg-user-dir PICTURES)/ps_$(date +"%Y%m%d%H%M%S").png
bindsym $ps1 exec grim - | wl-copy
bindsym $ps2 exec grim -g "$(slurp)" - | wl-copy
bindsym $ps3 exec grim $psf
bindsym $ps4 exec grim -g "$(slurp)" $psf
#bindsym $mod+shift+s exec grimshot copy area