commit 2c16d1d77ebd00f3da6f8c8193a32ae6c1ce1008
parent 34b07a98124a1ddff5b8fec1a98660085a4ef2d5
Author: hhvn <hayden@haydenvh.com>
Date: Sun, 22 Nov 2020 18:40:37 +0000
dwm.c: draw seperator between each title in bar
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -839,7 +839,11 @@ drawbar(Monitor *m)
}
remainder--;
}
- drw_text(drw, x, 0, tabw, bh, lrpad / 2, c->name, 0);
+ drw_text(drw, x, 0, tabw - borderpx, bh, lrpad / 2, c->name, 0);
+ /* draw seperator */
+ drw_setscheme(drw, scheme[SchemeNorm]);
+ drw_rect(drw, x + tabw - borderpx, 0, borderpx, bh, 1, 1);
+
x += tabw;
}
} else {