diff options
| -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 \ |
