summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h4
-rw-r--r--config.h4
-rw-r--r--config.mk4
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[] = {
diff --git a/config.h b/config.h
index f12e606..485143d 100644
--- a/config.h
+++ b/config.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[] = {
diff --git a/config.mk b/config.mk
index 595c5f0..75c3638 100644
--- a/config.mk
+++ b/config.mk
@@ -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 \