Bar height & reset colors

pull/1/head
E. Almqvist 4 years ago
parent fde10d2838
commit 9ab995871b
  1. 16
      config.h
  2. 2
      dwm.c

@ -22,18 +22,18 @@ static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb"; static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee"; static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577"; 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 const char *colors[][3] = { static const char *colors[][3] = {
/* fg bg border */ /* fg bg border */
[SchemeNorm] = { text_color, bg_color_bar, bg_color }, [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { text_color, col_cyan, col_cyan }, [SchemeSel] = { col_gray4, col_cyan, col_cyan },
}; };
/* static const char *colors[][3] = { */
/* /\* fg bg border *\/ */
/* [SchemeNorm] = { text_color, bg_color_bar, bg_color }, */
/* [SchemeSel] = { text_color, col_cyan, col_cyan }, */
/* }; */
/* tagging */ /* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };

@ -1559,7 +1559,7 @@ setup(void)
if (!drw_fontset_create(drw, fonts, LENGTH(fonts))) if (!drw_fontset_create(drw, fonts, LENGTH(fonts)))
die("no fonts could be loaded."); die("no fonts could be loaded.");
lrpad = drw->fonts->h; lrpad = drw->fonts->h;
bh = drw->fonts->h + 2; bh = drw->fonts->h + 5;
updategeom(); updategeom();
/* init atoms */ /* init atoms */
utf8string = XInternAtom(dpy, "UTF8_STRING", False); utf8string = XInternAtom(dpy, "UTF8_STRING", False);

Loading…
Cancel
Save