-
-
Save SpookNyan/fe6b30a020963e20474337ee3401a581 to your computer and use it in GitHub Desktop.
i3wm config rows to keybind screen shotting
This file contains hidden or 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