diff options
-rw-r--r-- | config.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -99,6 +99,7 @@ static const char *browsercmd[] = { "chromium", NULL }; static const char *weechatcmd[] = { "xterm", "-name", "weechat", "-e", "weechat", NULL }; static const char *playercmd[] = { "deadbeef", NULL }; static const char *editorcmd[] = { "gedit", NULL }; +static const char *scrotcmd[] = { "scrot", "~/screenshots/%Y-%m-%d-%H:%M:%S.png", NULL }; static const char *lowervolumecmd[] = { "amixer", "-q", "set", "Master", "2dB-", NULL }; static const char *raisevolumecmd[] = { "amixer", "-q", "set", "Master", "2dB+", NULL }; @@ -112,6 +113,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_p, spawn, {.v = playercmd } }, { MODKEY|ShiftMask, XK_o, spawn, {.v = weechatcmd } }, { MODKEY|ShiftMask, XK_i, spawn, {.v = editorcmd } }, + { 0, XK_Print, spawn, {.v = scrotcmd } }, { MODKEY, XK_Left, focusstack, {.i = -1 } }, { MODKEY, XK_Right, focusstack, {.i = +1 } }, |