diff options
author | dx <aryadevchavali1@gmail.com> | 2020-07-09 21:50:14 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-07-09 21:50:14 +0100 |
commit | 105b5dc5db0640e838680e41cdb408cfa0011e69 (patch) | |
tree | 193021e56f675367d03fa23c3eb8aa8036c83473 /config.def.h | |
parent | f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2 (diff) | |
download | dwm-105b5dc5db0640e838680e41cdb408cfa0011e69.tar.gz dwm-105b5dc5db0640e838680e41cdb408cfa0011e69.tar.bz2 dwm-105b5dc5db0640e838680e41cdb408cfa0011e69.zip |
+patches for scratchpad, color specification and gaps
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 1c0b587..ca595ff 100644 --- a/config.def.h +++ b/config.def.h @@ -16,6 +16,11 @@ static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, [SchemeSel] = { col_gray4, col_cyan, col_cyan }, + [SchemeStatus] = { col_gray3, col_gray1, "#000000" }, // Statusbar right {text,background,not used but cannot be empty} + [SchemeTagsSel] = { col_gray4, col_cyan, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty} + [SchemeTagsNorm] = { col_gray3, col_gray1, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty} + [SchemeInfoSel] = { col_gray4, col_cyan, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty} + [SchemeInfoNorm] = { col_gray3, col_gray1, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty} }; /* tagging */ @@ -58,11 +63,14 @@ 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_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; +static const char scratchpadname[] = "scratchpad"; +static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, |