summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsn <mail@mhsn.net>2025-06-30 14:41:41 +0100
committermhsn <mail@mhsn.net>2025-06-30 14:41:41 +0100
commit79ce419e601502724895293d8e6a5b73afe1f42f (patch)
tree8ed0a31c597229c367951c1d22e105235642f192
parentf70ba145a109ca8c42d790561b387f66b9bed2f1 (diff)
downloadadelie-79ce419e601502724895293d8e6a5b73afe1f42f.tar.gz
adelie-79ce419e601502724895293d8e6a5b73afe1f42f.zip
add custom config patch for st
-rw-r--r--x11-terms/st/files/9999_custom-config.diff30
-rw-r--r--x11-terms/st/st-0.9.2.ebuild1
2 files changed, 31 insertions, 0 deletions
diff --git a/x11-terms/st/files/9999_custom-config.diff b/x11-terms/st/files/9999_custom-config.diff
new file mode 100644
index 0000000..5699226
--- /dev/null
+++ b/x11-terms/st/files/9999_custom-config.diff
@@ -0,0 +1,30 @@
+diff --git i/config.def.h w/config.def.h
+index b832a90..29075f5 100644
+--- i/config.def.h
++++ w/config.def.h
+@@ -5,12 +5,12 @@
+ *
+ * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
+ */
+-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
++static char *font = "Cozette:size=20:antialias=false:autohint=false";
+
+ /* disable bold, italic and roman fonts globally */
+-int disablebold = 0;
+-int disableitalic = 0;
+-int disableroman = 0;
++int disablebold = 1;
++int disableitalic = 1;
++int disableroman = 1;
+
+ static int borderpx = 2;
+
+@@ -153,7 +153,7 @@ static unsigned int cursorshape = 2;
+ * Whether to use pixel geometry or cell geometry
+ */
+
+-static Geometry geometry = CellGeometry;
++static Geometry geometry = PixelGeometry;
+
+ /*
+ * Default columns and rows numbers
diff --git a/x11-terms/st/st-0.9.2.ebuild b/x11-terms/st/st-0.9.2.ebuild
index f02ee87..0a0d16a 100644
--- a/x11-terms/st/st-0.9.2.ebuild
+++ b/x11-terms/st/st-0.9.2.ebuild
@@ -19,6 +19,7 @@ fi
PATCHES=(
"${FILESDIR}/01_disable-bold-italic-fonts-0.8.2.diff"
"${FILESDIR}/02_any-geometry-0.8.1.diff"
+ "${FILESDIR}/9999_custom-config.diff"
)
LICENSE="MIT"