From c285ddd9d16f0038da0c036882eef7be75e2aae0 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sat, 25 Nov 2023 15:50:08 -0500 Subject: Add helper scripts for dwmblocks --- code/st/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'code/st') 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"; -- cgit v1.2.3