aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index c29dae4..8dc588e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -46,7 +46,6 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask iscentered isfloating isterminal noswallow monitor */
- { "Gimp", NULL, NULL, 0, 0, 1, 0, 0, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, 0, 0, -1, -1 },
{ "St", NULL, NULL, 0, 0, 0, 1, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 0, 0, 0, 1, -1 }, /* xev */
@@ -81,6 +80,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *scrnlock[] = { "slock", NULL };
+static const char *mem_sleep[] = { "msleep", NULL };
static const char *scrnshot[] = { "scst", NULL };
static const char *scrnshotsel[] = { "scst", "s", NULL };
static const char *nnnfm[] = { "st", "nnn", "-decC", NULL };
@@ -140,6 +140,7 @@ static const Key keys[] = {
{ 0, XK_XF86AudioPrev, spawn, {.v = audioprev } },
{ 0, XK_XF86AudioNext, spawn, {.v = audionext } },
{ MODKEY, XK_x, spawn, {.v = scrnlock } },
+ { MODKEY, XK_z, spawn, {.v = mem_sleep } },
{ MODKEY, XK_s, spawn, {.v = scrnshotsel } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = scrnshot } },
{ MODKEY, XK_a, spawn, {.v = nnnfm } },