diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-07-01 14:20:20 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-07-01 14:20:20 +0200 |
| commit | 9d37495257005a9c45c7d7b85244796508494c16 (patch) | |
| tree | 03ed76e4416a148ec95b4583c47f445167ad8a19 | |
| parent | 82cd78a9447c82f596ca012a726789e869c74942 (diff) | |
| download | st-master.tar.gz st-master.tar.bz2 st-master.zip | |
| -rw-r--r-- | config.def.h | 4 | ||||
| -rw-r--r-- | config.h | 4 | ||||
| -rw-r--r-- | config.mk | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index f12e606..485143d 100644 --- a/config.def.h +++ b/config.def.h @@ -5,7 +5,11 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ +#ifdef CACHARLE_CARBON +static char *font = "Fira Mono:pixelsize=12:antialias=true:autohint=true"; +#else static char *font = "Fira Code:pixelsize=12:antialias=true:autohint=true"; +#endif static int borderpx = 0; static char *font2[] = { @@ -5,7 +5,11 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ +#ifdef CACHARLE_CARBON +static char *font = "Fira Mono:pixelsize=12:antialias=true:autohint=true"; +#else static char *font = "Fira Code:pixelsize=12:antialias=true:autohint=true"; +#endif static int borderpx = 0; static char *font2[] = { @@ -29,6 +29,10 @@ STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS) STLDFLAGS = $(LIBS) $(LDFLAGS) +ifeq ($(shell uname -n), charleslaptopcarbon) + STCFLAGS += -DCACHARLE_CARBON +endif + # OpenBSD: #CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE #LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \ |
