diff --git a/config.h b/config.h index 011baaa..2a00dab 100644 --- a/config.h +++ b/config.h @@ -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): diff --git a/dwm.c b/dwm.c index 6eed6a4..3a7ff45 100644 --- a/dwm.c +++ b/dwm.c @@ -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)]);