Updated screenshot keys

This commit is contained in:
dbroqua 2020-10-11 11:02:41 +02:00
parent ef288a00f5
commit b5cd20484e

View file

@ -178,7 +178,7 @@ exec --no-startup-id i3-msg 'exec nm-applet &'
exec --no-startup-id i3-msg 'exec nextcloud &' exec --no-startup-id i3-msg 'exec nextcloud &'
exec --no-startup-id i3-msg 'exec remmina -i &' exec --no-startup-id i3-msg 'exec remmina -i &'
exec --no-startup-id xsettingsd & exec --no-startup-id xsettingsd &
exec --no-startup-id compton --config ~/.compton.conf & #exec --no-startup-id compton --config ~/.compton.conf &
exec --no-startup-id setxkbmap -option compose:rctrl & exec --no-startup-id setxkbmap -option compose:rctrl &
exec --no-startup-id libinput-gestures-setup start exec --no-startup-id libinput-gestures-setup start
exec --no-startup-id i3-msg 'exec /usr/bin/terminator' exec --no-startup-id i3-msg 'exec /usr/bin/terminator'
@ -244,8 +244,11 @@ bindsym XF86AudioPrev exec ~/Bin/music.sh Previous
bindsym XF86AudioNext exec ~/Bin/music.sh Next bindsym XF86AudioNext exec ~/Bin/music.sh Next
# Take Screenshot # Take Screenshot
bindsym Print exec ~/Bin/screenshooter.sh #bindsym Print exec ~/Bin/screenshooter.sh
bindsym $mod+Print exec ~/Bin/slip bindsym $mod+Print exec ~/Bin/slip
# Based on https://www.reddit.com/r/i3wm/comments/j8ufof/screenshot_script/
bindsym --release Shift+Print exec "scrot -s -e 'xclip -selection c -t image/png < $f && mv $f ~/Pictures/screenshots'"
bindsym --release Print exec "scrot -e 'xclip -selection c -t image/png < $f && mv $f ~/Pictures/screenshots'"
# Switch screen layouts # Switch screen layouts
bindsym XF86Display exec ~/Bin/screenlayout.sh bindsym XF86Display exec ~/Bin/screenlayout.sh