Hi,
the attached patch moves the layout indicator to the left of the tag bar.
Kind Regards,
Matthias-Christian
diff -r 3f66d2d2cd6e dwm.c
--- a/dwm.c Mon Sep 01 22:18:50 2008 +0100
+++ b/dwm.c Tue Sep 02 17:49:51 2008 +0200
@@ -514,6 +514,11 @@ drawbar(void) {
}
dc.x = 0;
+ if(blw > 0) {
+ dc.w = blw;
+ drawtext(lt[sellt]->symbol, dc.norm, False);
+ dc.x += dc.w;
+ }
for(i = 0; i < LENGTH(tags); i++) {
dc.w = TEXTW(tags[i]);
col = tagset[seltags] & 1 << i ? dc.sel : dc.norm;
@@ -521,13 +526,7 @@ drawbar(void) {
drawsquare(sel && sel->tags & 1 << i, occ & 1 << i, urg & 1 << i, col);
dc.x += dc.w;
}
- if(blw > 0) {
- dc.w = blw;
- drawtext(lt[sellt]->symbol, dc.norm, False);
- x = dc.x + dc.w;
- }
- else
- x = dc.x;
+ x = dc.x;
dc.w = TEXTW(stext);
dc.x = ww - dc.w;
if(dc.x < x) {