diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 18:08:20 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 18:08:20 +0200 |
commit | dddd58a8cdc9ffd9f207c45316e9f9a28b4bf519 (patch) | |
tree | 99da0740293ed099f9bef473a6ce3fde893c7e72 /main.c | |
parent | 010fd21b2037923e9ba1f0d67a67bbf8d8da2c89 (diff) | |
download | dwm-dddd58a8cdc9ffd9f207c45316e9f9a28b4bf519.tar.gz |
added symbols for different modes
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -128,8 +128,11 @@ setup(void) { dc.status[ColBG] = getcolor(STATUSBGCOLOR); dc.status[ColFG] = getcolor(STATUSFGCOLOR); setfont(FONT); - - bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL); + + bmw = textw(VSTACKSYMBOL) > textw(BSTACKSYMBOL) ? + textw(VSTACKSYMBOL) : textw(BSTACKSYMBOL); + bmw = bmw > textw(FLOATSYMBOL) ? + bmw : textw(FLOATSYMBOL); sx = sy = 0; sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen); |