diff --git a/config/i3/config b/config/i3/config index b1d5fe8..57d3d29 100644 --- a/config/i3/config +++ b/config/i3/config @@ -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 remmina -i &' 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 libinput-gestures-setup start 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 # Take Screenshot -bindsym Print exec ~/Bin/screenshooter.sh +#bindsym Print exec ~/Bin/screenshooter.sh 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 bindsym XF86Display exec ~/Bin/screenlayout.sh