From 166120b84c30e3125b2c8f7e858ef318c835dd69 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Tue, 2 Dec 2025 21:34:46 -0800 Subject: st as term emu --- st/my.diff | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 st/my.diff (limited to 'st/my.diff') diff --git a/st/my.diff b/st/my.diff new file mode 100644 index 0000000..302566c --- /dev/null +++ b/st/my.diff @@ -0,0 +1,38 @@ +--- config.def.h ++++ config.def.h +@@ -6,7 +6,7 @@ + * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html + */ + static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; +-static int borderpx = 2; ++static int borderpx = 0; + + /* + * What program is execed by st depends of these precedence rules: +@@ -16,7 +16,7 @@ + * 4: value of shell in /etc/passwd + * 5: value of shell in config.h + */ +-static char *shell = "/bin/sh"; ++static char *shell = "/bin/bash"; + char *utmp = NULL; + /* scroll program: to enable use a string like "scroll" */ + char *scroll = NULL; +@@ -34,7 +34,7 @@ + * + * More advanced example: L" `'\"()[]{}" + */ +-wchar_t *worddelimiters = L" "; ++wchar_t *worddelimiters = L" `'\"()[]{}"; + + /* selection timeouts (in milliseconds) */ + static unsigned int doubleclicktimeout = 300; +@@ -45,7 +45,7 @@ + + /* allow certain non-interactive (insecure) window operations such as: + setting the clipboard text */ +-int allowwindowops = 0; ++int allowwindowops = 1; + + /* + * draw latency range in ms - from new content/keypress/etc until drawing. -- cgit v1.2.3