aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2023-12-17 09:51:58 +0100
committerEddy Pedroni <epedroni@pm.me>2023-12-17 09:51:58 +0100
commit13df37246f052b7f67c4e03a2a699630c33529b7 (patch)
tree0f2430508e8542420475be528bbe26f855ac03e9 /dwm.c
parentad9a48f3612b2bf397234af9b4c45f8f5def6d17 (diff)
Add option to hide window title from status bar
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index bc7d1ad..a75c464 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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)