From 8b679a2e892310e461c3f5028dfaf60b25eea37f Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Fri, 8 Oct 2021 16:00:33 -0700 Subject: fix(theme): consistent theme --- sys/cmd/dwm/config.h | 10 +++++----- sys/cmd/dwm/dwm.c | 8 ++++---- sys/cmd/dwm/util.c | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sys/cmd/dwm') diff --git a/sys/cmd/dwm/config.h b/sys/cmd/dwm/config.h index d14aded..4af0de5 100644 --- a/sys/cmd/dwm/config.h +++ b/sys/cmd/dwm/config.h @@ -9,11 +9,11 @@ static int swallowfloating = 0; /* 1 will swallow floating by default static int showbar = 1; /* 0 means no bar */ static int topbar = 1; /* 0 means bottom bar */ static char *fonts[] = { "consolas:size=12" }; -static char col_gray1[] = "#323232"; -static char col_gray2[] = "#444444"; -static char col_gray3[] = "#bbbbbb"; -static char col_gray4[] = "#eeeeee"; -static char col_cyan[] = "#24aed8"; +static char col_gray1[] = "#504945"; +static char col_gray2[] = "#282828"; +static char col_gray3[] = "#fbf1c7"; +static char col_gray4[] = "#504945"; +static char col_cyan[] = "#83a598"; static char *colors[][3] = { /* fg bg border */ diff --git a/sys/cmd/dwm/dwm.c b/sys/cmd/dwm/dwm.c index a432ab8..0567650 100644 --- a/sys/cmd/dwm/dwm.c +++ b/sys/cmd/dwm/dwm.c @@ -313,19 +313,19 @@ drawbar(Monitor *m) Client *c; /* draw status first so it can be overdrawn by tags later */ - if (m == selmon) { /* status is only drawn on selected monitor */ + if(m == selmon) { /* status is only drawn on selected monitor */ drw_setscheme(drw, scheme[SchemeNorm]); tw = TEXTW(stext) - lrpad + 2; /* 2px right padding */ drw_text(drw, m->ww - tw, 0, tw, bh, 0, stext, 0); } - for (c = m->clients; c; c = c->next) { + for(c = m->clients; c; c = c->next) { occ |= c->tags; if (c->isurgent) urg |= c->tags; } x = 0; - for (i = 0; i < arrlen(tags); i++) { + for(i = 0; i < arrlen(tags); i++) { w = TEXTW(tags[i]); drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]); drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i); @@ -339,7 +339,7 @@ drawbar(Monitor *m) drw_setscheme(drw, scheme[SchemeNorm]); x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0); - if ((w = m->ww - tw - x) > bh) { + if((w = m->ww - tw - x) > bh) { if (m->sel) { drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]); drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0); diff --git a/sys/cmd/dwm/util.c b/sys/cmd/dwm/util.c index 46db60a..0db71cc 100644 --- a/sys/cmd/dwm/util.c +++ b/sys/cmd/dwm/util.c @@ -9,7 +9,7 @@ fatal(char *fmt, ...) { vfprintf(stderr, fmt, args); va_end(args); - if (fmt[0] && fmt[strlen(fmt)-1] == ':') { + if(fmt[0] && fmt[strlen(fmt)-1] == ':') { fputc(' ', stderr); perror(NULL); } else { -- cgit v1.2.1