mirror of git://git.suckless.org/dwm
update
This commit is contained in:
parent
7ac8c1d4e1
commit
d4bfde79f3
|
@ -14,7 +14,7 @@ static unsigned int borderpx = 1; /* border pixel of windows */
|
||||||
static unsigned int snap = 32; /* snap pixel */
|
static unsigned int snap = 32; /* snap pixel */
|
||||||
|
|
||||||
/* monitor(s) symbols */
|
/* monitor(s) symbols */
|
||||||
static const char *monsyms[] = { "I", "II", "III", "IV", "V" };
|
static const char *monsyms[] = { "i", "ii", "iii", "iv", "v" };
|
||||||
|
|
||||||
/* tagging */
|
/* tagging */
|
||||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||||
|
|
2
dwm.c
2
dwm.c
|
@ -636,7 +636,7 @@ drawbar(Monitor *m) {
|
||||||
dc.x = 0;
|
dc.x = 0;
|
||||||
if(mons->next) { /* more than a single monitor */
|
if(mons->next) { /* more than a single monitor */
|
||||||
dc.w = TEXTW(monsyms[m->screen_number]);
|
dc.w = TEXTW(monsyms[m->screen_number]);
|
||||||
drawtext(monsyms[m->screen_number], selmon == m ? dc.sel : dc.norm, True);
|
drawtext(monsyms[m->screen_number], selmon == m ? dc.sel : dc.norm, False);
|
||||||
dc.x += dc.w;
|
dc.x += dc.w;
|
||||||
}
|
}
|
||||||
m->btx = dc.x;
|
m->btx = dc.x;
|
||||||
|
|
Loading…
Reference in New Issue