Match top bar background to main theme background across all themes
This commit is contained in:
@@ -118,7 +118,7 @@ struct ThemeSpec {
|
||||
|
||||
// Core colors (24-bit RGB)
|
||||
uint32_t bgMain = 0x222222;
|
||||
uint32_t bgBar = 0x323232;
|
||||
uint32_t bgBar = 0x222222;
|
||||
uint32_t bgHeader = 0x1c1c1c;
|
||||
uint32_t bgFooter = 0x181818;
|
||||
uint32_t bgOverlay = 0x161616;
|
||||
@@ -190,7 +190,7 @@ struct ThemeSpec {
|
||||
(bgMain & 0xff) * 114) / 1000;
|
||||
int dir = (luma > 140) ? -1 : 1;
|
||||
|
||||
bgBar = adjustRgb(bgMain, dir * 16);
|
||||
bgBar = bgMain;
|
||||
bgHeader = adjustRgb(bgMain, -dir * 6);
|
||||
bgFooter = adjustRgb(bgMain, -dir * 10);
|
||||
bgOverlay = adjustRgb(bgMain, -dir * 12);
|
||||
|
||||
@@ -7,7 +7,7 @@ static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const char font[] = "Fira Code, DejaVuSansM Nerd Font 15px";
|
||||
static const char dmenufont[] = "Fira Code:pixelsize=18:style=Regular:antialias=true:autohint=true";
|
||||
static const char col_gray1[] = "#323232";
|
||||
static const char col_gray1[] = "#222222";
|
||||
static const char col_gray2[] = "#444444";
|
||||
static const char col_gray3[] = "#dddddd";
|
||||
static const char col_gray4[] = "#ffffff";
|
||||
|
||||
@@ -7,7 +7,7 @@ static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const char font[] = "Fira Code, DejaVuSansM Nerd Font 15px";
|
||||
static const char dmenufont[] = "Fira Code:pixelsize=18:style=Regular:antialias=true:autohint=true";
|
||||
static const char col_gray1[] = "#323232";
|
||||
static const char col_gray1[] = "#222222";
|
||||
static const char col_gray2[] = "#444444";
|
||||
static const char col_gray3[] = "#dddddd";
|
||||
static const char col_gray4[] = "#ffffff";
|
||||
|
||||
+1
-1
@@ -3512,7 +3512,7 @@ readxresources(void)
|
||||
}
|
||||
|
||||
set_color_slot(SchemeNorm, ColBg,
|
||||
xrm_lookup_any(xdb, "theme.bgBar", "dwm.background", "dwm.normbgcolor"));
|
||||
xrm_lookup_any(xdb, "theme.bgBar", "theme.bgMain", "dwm.background"));
|
||||
set_color_slot(SchemeNorm, ColFg,
|
||||
xrm_lookup_any(xdb, "theme.fgMain", "dwm.foreground", "dwm.normfgcolor"));
|
||||
set_color_slot(SchemeNorm, ColBorder,
|
||||
|
||||
Reference in New Issue
Block a user