diff options
| author | Mikkel Thestrup <mikkel@mithe.dk> | 2026-01-17 17:05:14 +0100 |
|---|---|---|
| committer | Mikkel Thestrup <mikkel@mithe.dk> | 2026-01-17 17:05:14 +0100 |
| commit | 4fbeab8d66681ac20173c741e0ef5e2f6f745e39 (patch) | |
| tree | 7bff4295403a049190b5fa66c004b4ee0d1c29ba /config.def.h | |
| parent | 14a0fd7a46057cda4bf3d0d37df4f2ab71b19277 (diff) | |
| download | dwm-4fbeab8d66681ac20173c741e0ef5e2f6f745e39.tar.gz dwm-4fbeab8d66681ac20173c741e0ef5e2f6f745e39.zip | |
xrdb patch
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/config.def.h b/config.def.h index 92b3732..7dec81a 100644 --- a/config.def.h +++ b/config.def.h @@ -7,15 +7,16 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "Iosevka Custom:size=24" }; static const char dmenufont[] = "Iosevka Custom:size=24"; -static const char col_gray1[] = "#222222"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; -static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; -static const char *colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, +static char normbgcolor[] = "#222222"; +static char normbordercolor[] = "#444444"; +static char normfgcolor[] = "#bbbbbb"; +static char selfgcolor[] = "#eeeeee"; +static char selbordercolor[] = "#005577"; +static char selbgcolor[] = "#005577"; +static char *colors[][3] = { + /* fg bg border */ + [SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor }, + [SchemeSel] = { selfgcolor, selbgcolor, selbordercolor }, }; /* tagging */ @@ -55,7 +56,7 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *dmenucmd[] = { "dmenu_run", NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *browsercmd[] = { "qutebrowser", NULL }; @@ -64,6 +65,7 @@ static const Key keys[] = { { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, spawn, {.v = browsercmd } }, + { MODKEY, XK_F5, xrdb, {.v = NULL } }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY|ShiftMask, XK_q, killclient, {0} }, |