Adding screenshot capabilities using scrot and stuff
This commit is contained in:
parent
6cadef10c6
commit
671d78516f
1 changed files with 3 additions and 0 deletions
3
config.h
3
config.h
|
@ -117,6 +117,9 @@ static const Key keys[] = {
|
|||
TAGKEYS( XK_8, 7)
|
||||
TAGKEYS( XK_9, 8)
|
||||
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
||||
{ 0, XK_Print, spawn, SHCMD("scrot -s -F $(xdg-user-dir PICTURES)/scrot/scrot.png -e 'xclip -selection clipboard -t image/png -i $f'") },
|
||||
{ WINKEY, XK_Print, spawn, SHCMD("scrot -M 0 -F $(xdg-user-dir PICTURES)/scrot/scrot.png -e 'xclip -selection clipboard -t image/png -i $f'") },
|
||||
{ ALTKEY, XK_Print, spawn, SHCMD("scrot -u -F $(xdg-user-dir PICTURES)/scrot/scrot.png -e 'xclip -selection clipboard -t image/png -i $f'") },
|
||||
};
|
||||
|
||||
/* button definitions */
|
||||
|
|
Loading…
Reference in a new issue