aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMarcel Screm <marcel@marcelscrem.com>2026-01-05 18:49:07 +0100
committerMarcel Screm <marcel@marcelscrem.com>2026-01-05 18:49:07 +0100
commit57d6a1e9a9b00d427e9c919d906f61352be22ee6 (patch)
tree79e511ae058b0aa1061b81fe87944185d0d19a4a /config.h
parent5d900a3458cc4051b1bb2168345ca3f3e2a718a9 (diff)
added xrdb patch for pywal
Diffstat (limited to 'config.h')
-rwxr-xr-xconfig.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/config.h b/config.h
index b4e440f..8ea5c38 100755
--- a/config.h
+++ b/config.h
@@ -10,17 +10,17 @@ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "FiraCode Nerd Font:size=14", "Noto Color Emoji:size=14" };
static const char dmenufont[] = "FiraCode Nerd Font:size=14";
-static const char col_gray1[] = "#2E3440"; /* nord0 - Hintergrund */
-static const char col_gray2[] = "#3B4252"; /* nord1 - Sekundärer Hintergrund */
-static const char col_gray3[] = "#D8DEE9"; /* nord4 - Normaler Text */
-static const char col_gray4[] = "#ECEFF4"; /* nord6 - Hervorgehobener Text */
-static const char col_cyan[] = "#616E88"; /* nord9 - Akzent (Light Gray Bright) */
-static const char col_urgborder[] = "#ff0000";
-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 */
static const char *tags[] = { "1", "2", "3", "4", "5" };
@@ -62,13 +62,13 @@ static const Layout layouts[] = {
/* commands */
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 *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
static const char *termcmd[] = { "st", NULL };
/*custom */
static const char *fecmd[] = { "st", "lf", NULL };
static const char *musiccmd[] = { "st", "ncmpcpp", NULL };
-static const char *passmenucmd[] = { "passmenu", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
+static const char *passmenucmd[] = { "passmenu", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
static const char *passmenuotpcmd[] = { "/bin/sh", "-c", "~/.local/share/scripts/passmenu-otp", NULL };
static const char *browsercmd[] = { "firefox", NULL };
static const char *bookmarkscmd[] = { "/bin/sh", "-c", "~/.local/share/scripts/dmenu_websearch", NULL };
@@ -107,6 +107,7 @@ static const Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ { MODKEY, XK_F5, xrdb, {.v = NULL } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
@@ -116,10 +117,10 @@ static const Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
- { MODKEY|ShiftMask, XK_q, quit, {0} },
- { 0, XF86XK_MonBrightnessUp, spawn, {.v = light_up} }, /* increase screen brightness */
+ { MODKEY|ShiftMask, XK_q, quit, {0} },
+ { 0, XF86XK_MonBrightnessUp, spawn, {.v = light_up} }, /* increase screen brightness */
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = light_down} }, /* decrease screen brightness */
- { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol} }, /* lower volume */
+ { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol} }, /* lower volume */
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol} }, /* raise volume */
{ 0, XF86XK_AudioMute, spawn, {.v = mutevol} }, /* mute volume */
{ 0, XF86XK_AudioMicMute, spawn, {.v = mutemic} }, /* mute mic */