This commit is contained in:
array-in-a-matrix 2022-01-12 12:25:48 -05:00
parent f9892a40fa
commit 602017b3dd

View file

@ -274,8 +274,8 @@ output eDP-1 pos 0 0
# Screen capture
set $screenshot 1 selected, 2 whole, 3 selected clipboard, 4 whole clipboard, 5 swappy
mode "$screenshot" {
bindsym 1 exec 'grim -g "$(slurp)" ~/ps_$(date +"%Y%m%d%H%M%S").png', mode "default"
bindsym 2 exec 'grim ~/ps_$(date +"%Y%m%d%H%M%S").png', mode "default"
bindsym 1 exec 'grim -g "$(slurp)" ~/Pictures/Screenshots/ps_$(date +"%Y%m%d%H%M%S").png', mode "default"
bindsym 2 exec 'grim ~/Pictures/Screenshots/ps_$(date +"%Y%m%d%H%M%S").png', mode "default"
bindsym 3 exec 'grim -g "$(slurp)" - | wl-copy', mode "default"
bindsym 4 exec 'grim - | wl-copy', mode "default"
bindsym 5 exec 'grim -g "$(slurp)" - | swappy -f -', mode "default"