aboutsummaryrefslogtreecommitdiffstats
path: root/st
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-28 18:21:55 +0200
committerMattias Andrée <maandree@kth.se>2021-06-28 18:21:55 +0200
commitf808dde5bf50b0de6aba9e611b9963b4bf955290 (patch)
tree49f68b4c7d21a7084a5cb9de528dfd4d24f66fe4 /st
parentFix font rendering antialiasing (diff)
downloaddotfiles-f808dde5bf50b0de6aba9e611b9963b4bf955290.tar.gz
dotfiles-f808dde5bf50b0de6aba9e611b9963b4bf955290.tar.bz2
dotfiles-f808dde5bf50b0de6aba9e611b9963b4bf955290.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-xst/st10
1 files changed, 8 insertions, 2 deletions
diff --git a/st/st b/st/st
index cf056a3..79422c5 100755
--- a/st/st
+++ b/st/st
@@ -1,7 +1,13 @@
#!/bin/dash
+#font="schumacher clean-11"
+#font="DejaVu Sans Mono-10"
+#font="Mono-9:autohint=true"
+font="vectorfixed:pixelsize=11:antialias=false:autohint=false"
+#font="-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-utf-8"
+
if test -x /usr/local/bin/st; then
- exec /usr/local/bin/st -f vectorfixed:pixelsize=11:antialias=false:autohint=false "$@"
+ exec /usr/local/bin/st -f "$font" "$@"
else
- exec /usr/bin/st -f vectorfixed:pixelsize=11:antialias=false:autohint=false "$@"
+ exec /usr/bin/st -f "$font" "$@"
fi