Switched Japanese font and renamed tags

This commit is contained in:
Bazsalanszky 2020-08-22 23:21:14 +02:00
parent f7ad726adc
commit 84602ae66a
Signed by: Bazsalanszky
GPG key ID: 1B0B72C7139E2884
2 changed files with 4 additions and 3 deletions

View file

@ -19,7 +19,7 @@ static const int systraybargap = 50;
static const int vertpad = 10; /* vertical padding of bar */
static const int sidepad = 10; /* horizontal padding of bar */
static const char *fonts[] = { "Noto Sans:size=12","fontawesome:size=12","kochi:size=12" };
static const char *fonts[] = { "Noto Sans:size=12","fontawesome:size=12","IPAGothic:size=12" };
static const char dmenufont[] = "Noto Sans:size=10";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
@ -42,7 +42,8 @@ static const char *colors[][3] = {
};
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" };
static const char *tags[] = { "", "", "", "", "", "", "", "", "", "" };
//static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" };
//static const char *tags[] = { "1" };
static const Rule rules[] = {
/* xprop(1):

2
dwm.c
View file

@ -813,7 +813,7 @@ drawbar(Monitor *m)
if ((unsigned int)*ts > LENGTH(colors)) { ts++; continue ; }
ctmp = *ts;
*ts = '\0';
drw_text(drw, m->ww - tw + tx - stw +40, 0, tw - tx, bh, 0, tp, 0);
drw_text(drw, m->ww - tw + tx - stw + systraybargap, 0, tw - tx, bh, 0, tp, 0);
tx += TEXTW(tp) -lrpad;
if (ctmp == '\0') { break; }
drw_setscheme(drw, scheme[(unsigned int)(ctmp-1)]);