add screenshot bind

master
lub 5 years ago
parent 7d7bfaed50
commit faf1093469

@ -226,6 +226,11 @@ bindsym XF86AudioPrev exec --no-startup-id 'rhythmbox-client --no-start --previo
bindsym XF86AudioPlay exec --no-startup-id 'rhythmbox-client --no-start --play-pause'
bindsym XF86AudioNext exec --no-startup-id 'rhythmbox-client --no-start --next'
#screenshot
#requires grim,slurp,wl-clipboard
bindsym $mod+shift+s exec --no-startup-id 'grim -g "$(slurp)" - | wl-copy'
bindsym $mod+ctrl+shift+s exec --no-startup-id 'grim - | wl-copy'
#for gaming
for_window [workspace="9"] floating enable
for_window [workspace="10"] floating enable

Loading…
Cancel
Save