From 0a345df1a58003b8ee6d728f1662d303d6c7967c Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Thu, 13 Feb 2025 23:10:00 +0000
Subject: [PATCH] st: change the font size

---
 nix/overlays/default.nix     |  6 ++++++
 patches/st/change-font.patch | 13 +++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 patches/st/change-font.patch

diff --git a/nix/overlays/default.nix b/nix/overlays/default.nix
index c25fafd5..86f1706b 100644
--- a/nix/overlays/default.nix
+++ b/nix/overlays/default.nix
@@ -18,6 +18,12 @@
         "${self}/patches/dwm/dwm-hide_vacant_tags-6.4.diff"
       ];
     };
+
+    st = prev.st.override {
+      patches = [
+        "${self}/patches/st/change-font.patch"
+      ];
+    };
   };
 
   stable-packages = final: _prev: {
diff --git a/patches/st/change-font.patch b/patches/st/change-font.patch
new file mode 100644
index 00000000..bdc33ca9
--- /dev/null
+++ b/patches/st/change-font.patch
@@ -0,0 +1,13 @@
+diff --git a/config.def.h b/config.def.h
+index 2cd740a..195bc80 100644
+--- a/config.def.h
++++ b/config.def.h
+@@ -5,7 +5,7 @@
+  *
+  * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
+  */
+-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
++static char *font = "Liberation Mono:pixelsize=20:antialias=true:autohint=true";
+ static int borderpx = 2;
+ 
+ /*