diff options
-rw-r--r-- | configs/framework.h | 1 | ||||
-rw-r--r-- | dwm.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configs/framework.h b/configs/framework.h index 2a7af14..ad8a4b0 100644 --- a/configs/framework.h +++ b/configs/framework.h @@ -17,6 +17,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 8; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 0; /* 0 means bottom bar */ +static const int showtitle = 0; /* True means titles are shown on status bar */ static const char *fonts[] = { "DVIcons:size=8" }; static const char dmenufont[] = "DVIcons:size=8"; @@ -834,7 +834,7 @@ drawbar(Monitor *m) x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0); if ((w = m->ww - tw - x) > bh) { - if (m->sel) { + if (m->sel && showtitle) { drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]); drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0); if (m->sel->isfloating) |