From b5cd20484eac0a0da9988dac3c66414f32d2520d Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 11 Oct 2020 11:02:41 +0200 Subject: [PATCH] Updated screenshot keys --- config/i3/config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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