diff --git a/config.h b/config.h index 80288bb..4e6f9e8 100644 --- a/config.h +++ b/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 */