Created
November 7, 2017 14:05
-
-
Save reneegyllensvaan/1b202562ac16b29454d290ce4cf95b60 to your computer and use it in GitHub Desktop.
i3wm config rows to keybind screen shotting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#depends: scrot, xclip | |
#mod+printscrn: take full screenshot, place in ~/img/scrot, copy to clipboard | |
bindsym --release $mod+Print exec "scrot 'scrot-%Y-%m-%d_%h-%m-%s_$wx$h.png' -e 'mv $f ~/img/scrot/ && xclip -t image/png ~/img/scrot/$f -sel clip'" | |
#mod+shift+printscrn: take selection screenshot, place in ~/img/scrot, copy to clipboard | |
bindsym --release $mod+Shift+Print exec "scrot --select 'scrot-%Y-%m-%d_%h-%m-%s_$wx$h_snip.png' -e 'mv $f ~/img/scrot/ && xclip -t image/png ~/img/scrot/$f -sel clip'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment