diff options
author | Eddy Pedroni <epedroni@pm.me> | 2023-12-17 09:51:58 +0100 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2023-12-17 09:51:58 +0100 |
commit | 13df37246f052b7f67c4e03a2a699630c33529b7 (patch) | |
tree | 0f2430508e8542420475be528bbe26f855ac03e9 /dwm.c | |
parent | ad9a48f3612b2bf397234af9b4c45f8f5def6d17 (diff) |
Add option to hide window title from status bar
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |