aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 08d2112..923313f 100644
--- a/config.h
+++ b/config.h
@@ -57,6 +57,8 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_gray2, "-sf", col_gray3, NULL };
static const char *termcmd[] = { "urxvt", NULL };
+static const char scratchpadname[] = "scratchpad";
+static const char *scratchpadcmd[] = { "urxvt", "-title", scratchpadname, "-g", "127x43", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -96,6 +98,7 @@ static Key keys[] = {
{ MODKEY, XK_q, killclient, {0} },
{ MODKEY, XK_a, shiftview, {.i = -1} },
{ MODKEY, XK_d, shiftview, {.i = +1} },
+ { MODKEY, XK_minus, togglescratch, {.v = scratchpadcmd } },
};
/* button definitions */