aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-02-03 11:07:50 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-02-03 11:07:50 -0500
commitd4198fe4039458028f55ba627e0ec5d7b0863372 (patch)
tree3687c474b76c02fb66d0345b05fbbee61f0a5532
parent3c770612c92b8a6fb19a3165bb4521ed1dba694d (diff)
downloadst-master.tar.gz
st-master.tar.xz
Update word delimiters and add a few different fonts for quick accessHEADnord-alphamaster
-rw-r--r--config.def.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 95dc300..4d9023c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,7 +5,17 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
+#define PROFONT_LARGE "ProfontOTB:pixelsize=13:antialias=false:autohint=false"
+#define PROFONT_SMALL "ProfontOTB:pixelsize=10:antialias=false:autohint=false"
+#define ROBOTO_XLARGE "RobotoMono-Regular:pixelsize=18:antialias=true:autohint=true"
+#define FONT_SCIENTIFICA "scientifica:style=Bold:pixelsize=10:antialias=false:autohint=false"
+#define FONT_CURIE "curie:style=Medium:pixelsize=10:antialias=false:autohint=false"
+#define FONT_CURIE_SQUARE "curie:style=Italic:pixelsize=10:antialias=false:autohint=false"
+#define TERMINUS_XLARGE "Terminus (TTF):pixelsize=18:antialias=false:autohint=false"
+#define TERMINUS_LARGE "Terminus (TTF):pixelsize=16:antialias=false:autohint=false"
+#define TERMINUS "Terminus (TTF):pixelsize=12:antialias=false:autohint=false"
+// static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
+static char *font = FONT_CURIE_SQUARE;
static int borderpx = 2;
/*
@@ -34,7 +44,7 @@ static float chscale = 1.0;
*
* More advanced example: L" `'\"()[]{}"
*/
-wchar_t *worddelimiters = L" ";
+wchar_t *worddelimiters = L" │`'\"()[]{}<>";
/* selection timeouts (in milliseconds) */
static unsigned int doubleclicktimeout = 300;