diff options
author | sinanmohd <pcmsinan@gmail.com> | 2022-07-02 00:20:09 +0530 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-11 18:42:33 +0530 |
commit | 8f58f57439816b7941a7d79110a5b119b90ae198 (patch) | |
tree | f9037c38943730e97059977c9fab7eb574159077 | |
parent | bda43b365c8b98c3d7e516a61fa8e7249e355f75 (diff) |
remove gimp floating rule
-rw-r--r-- | config.def.h | 3 |
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 } }, |