added symbols for different modes
This commit is contained in:
parent
010fd21b20
commit
dddd58a8cd
4 changed files with 13 additions and 6 deletions
7
main.c
7
main.c
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue