diff options
Diffstat (limited to 'code')
| -rw-r--r-- | code/dwm/config.h | 6 | ||||
| -rw-r--r-- | code/st/config.h | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/code/dwm/config.h b/code/dwm/config.h index 1ce52fb..d12931a 100644 --- a/code/dwm/config.h +++ b/code/dwm/config.h @@ -5,7 +5,11 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=10" }; +static const char *fonts[] = { + "monospace:size=10", + "Noto Sans CJK JP:size=10", //:antialias=true:autohint=true", + "Noto Color Emoji:size=8", //:antialias=true:autohint=true", +}; static const char dmenufont[] = "monospace:size=10"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; diff --git a/code/st/config.h b/code/st/config.h index bffaed5..267246f 100644 --- a/code/st/config.h +++ b/code/st/config.h @@ -8,6 +8,12 @@ * 2560x1440 (15.6"): pixelsize=16 * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html + * + * NOTE: Use either pixelsize=10 (absolute) or size=10 (relative to xrandr DPI + * setting). In my config I'm currently using `size` for dwm, but + * `pixelsize` for st. Idk, maybe one day I'll make it tidy. Also the + * font for st is Hack because I'm used to it, but in dwm is monospace, + * which currently defaults to "Noto Sans Mono". */ //static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; static char *font = "Hack:pixelsize=16:antialias=true:autohint=true"; |
