summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2023-07-09 08:16:59 -0500
committerCraig Jennings <c@cjennings.net>2023-07-09 08:16:59 -0500
commit938cd8d3771e5b72971e0314810d921643e5df03 (patch)
treebb4de87ca9fb9990a1c2146c84f7bd9ffa079f54
parentc7c4ee12c78eb7782ba75698cd59417ecd0d7122 (diff)
freebsd library locations and fontsize for hidpi patch
-rw-r--r--freebsd+fontsize.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/freebsd+fontsize.patch b/freebsd+fontsize.patch
new file mode 100644
index 0000000..a5fd923
--- /dev/null
+++ b/freebsd+fontsize.patch
@@ -0,0 +1,41 @@
+diff --git a/config.def.h b/config.def.h
+index 38952c5..262e5a1 100644
+--- a/config.def.h
++++ b/config.def.h
+@@ -14,9 +14,9 @@ static const int showbar = 1; /* 0 means no bar */
+ static const int topbar = 1; /* 0 means bottom bar */
+ static const int focusonwheel = 0;
+ static const char *fonts[] =
+- { "FiraCode Nerd Font Mono:pixelsize=18:antialias=true:autohint:true",
+- "Noto Color Emoji:pixelsize=18:antialias=true:autohint=true" };
+-static const char dmenufont[] = "FiraCode Nerd Font Mono:pixelsize=18:antialias=true:autohint:true";
++ { "FiraCode Nerd Font Mono:pixelsize=24:antialias=true:autohint:true",
++ "Noto Color Emoji:pixelsize=24:antialias=true:autohint=true" };
++static const char dmenufont[] = "FiraCode Nerd Font Mono:pixelsize=24:antialias=true:autohint:true";
+ static const char col_gray1[] = "#222222";
+ static const char col_gray2[] = "#444444";
+ static const char col_gray3[] = "#bbbbbb";
+diff --git a/config.mk b/config.mk
+index ff9e508..2bd91ef 100644
+--- a/config.mk
++++ b/config.mk
+@@ -7,8 +7,8 @@ VERSION = 6.2
+ PREFIX = /usr/local
+ MANPREFIX = ${PREFIX}/share/man
+
+-X11INC = /usr/X11R6/include
+-X11LIB = /usr/X11R6/lib
++X11INC = /usr/local/include
++X11LIB = /usr/local/lib
+
+ # Xinerama, comment if you don't want it
+ XINERAMALIBS = -lXinerama
+@@ -16,7 +16,7 @@ XINERAMAFLAGS = -DXINERAMA
+
+ # freetype
+ FREETYPELIBS = -lfontconfig -lXft
+-FREETYPEINC = /usr/include/freetype2
++FREETYPEINC = /usr/local/include/freetype2
+ # OpenBSD (uncomment)
+ #FREETYPEINC = ${X11INC}/freetype2
+ #KVMLIB = -lkvm