summaryrefslogtreecommitdiffstats
path: root/code/st/config.h
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-11-25 15:50:08 -0500
committerMitsuo Tokumori <[email protected]>2023-11-25 15:50:56 -0500
commitc285ddd9d16f0038da0c036882eef7be75e2aae0 (patch)
tree7c4b75f275c2bf63dea6d5691051ea6e973def4c /code/st/config.h
parent6778640f84cce092f425ad4ab9a1ec310a08f6d2 (diff)
downloaddotfiles-c285ddd9d16f0038da0c036882eef7be75e2aae0.tar.gz
dotfiles-c285ddd9d16f0038da0c036882eef7be75e2aae0.tar.bz2
dotfiles-c285ddd9d16f0038da0c036882eef7be75e2aae0.zip
Add helper scripts for dwmblocks
Diffstat (limited to 'code/st/config.h')
-rw-r--r--code/st/config.h6
1 files changed, 6 insertions, 0 deletions
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";