aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 56f86f9..9c1510b 100644
--- a/config.h
+++ b/config.h
@@ -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 } },