summaryrefslogtreecommitdiff
path: root/st-0.8.4
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-10-17 18:43:19 -0500
committerstkhan <personal@slickd.xyz>2021-10-17 18:43:19 -0500
commit3b852e0f10892789210fd8e3fdd8415faf3cf2d8 (patch)
tree9ff20de62f5e354926a5aed15b3f99c0dbd5cd63 /st-0.8.4
parentcc844e1931ba6f4c417ea8682f5cfa72ef5e4fec (diff)
3.0
Diffstat (limited to 'st-0.8.4')
-rw-r--r--st-0.8.4/config.h2
-rw-r--r--st-0.8.4/patches/st-rightclickpaste-0.8.2.diff28
-rw-r--r--st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff34
-rwxr-xr-xst-0.8.4/stbin0 -> 106440 bytes
-rw-r--r--st-0.8.4/st.obin0 -> 77144 bytes
-rw-r--r--st-0.8.4/x.obin0 -> 75712 bytes
6 files changed, 63 insertions, 1 deletions
diff --git a/st-0.8.4/config.h b/st-0.8.4/config.h
index c3012af..6ac76a1 100644
--- a/st-0.8.4/config.h
+++ b/st-0.8.4/config.h
@@ -1,4 +1,4 @@
-#include "../theme.h"
+#include "../dwm-6.2/colors.h"
/* See LICENSE file for copyright and license details. */
/*
diff --git a/st-0.8.4/patches/st-rightclickpaste-0.8.2.diff b/st-0.8.4/patches/st-rightclickpaste-0.8.2.diff
new file mode 100644
index 0000000..d959417
--- /dev/null
+++ b/st-0.8.4/patches/st-rightclickpaste-0.8.2.diff
@@ -0,0 +1,28 @@
+From 111e5d0311f174592ccecee2af11067103abaee7 Mon Sep 17 00:00:00 2001
+From: aleks <aleks.stier@icloud.com>
+Date: Sun, 11 Aug 2019 03:15:26 +0200
+Subject: [PATCH] Make right-click paste
+
+Pressing right-click pastes from the primary-selection.
+If combined with the clipboard-patch right-click pastes from the clipboard.
+Middle-click does nothing.
+---
+ x.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/x.c b/x.c
+index 0422421..13a5849 100644
+--- a/x.c
++++ b/x.c
+@@ -643,7 +643,7 @@ brelease(XEvent *e)
+ return;
+ }
+
+- if (e->xbutton.button == Button2)
++ if (e->xbutton.button == Button3)
+ selpaste(NULL);
+ else if (e->xbutton.button == Button1)
+ mousesel(e, 1);
+--
+2.22.0
+
diff --git a/st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff b/st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff
new file mode 100644
index 0000000..9556a9d
--- /dev/null
+++ b/st-0.8.4/patches/st-scrollback-mouse-increment-0.8.2.diff
@@ -0,0 +1,34 @@
+From 63e717e51dcd2f59c7a3aa75b659926aa92e08f3 Mon Sep 17 00:00:00 2001
+From: Jacob Louis Prosser <geriatricjacob@cumallover.me>
+Date: Mon, 5 Aug 2019 18:20:25 +1000
+Subject: [st] [patch] Exposed variable to easily change mouse scroll increment.
+
+---
+ config.def.h | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/config.def.h b/config.def.h
+index ad20c4c..47e4b66 100644
+--- a/config.def.h
++++ b/config.def.h
+@@ -154,6 +154,7 @@ static unsigned int defaultattr = 11;
+ * Internal mouse shortcuts.
+ * Beware that overloading Button1 will disable the selection.
+ */
++const unsigned int mousescrollincrement = 1;
+ static MouseShortcut mshortcuts[] = {
+ /* button mask string */
+ { Button4, XK_NO_MOD, "\031" },
+@@ -162,8 +163,8 @@ static MouseShortcut mshortcuts[] = {
+
+ MouseKey mkeys[] = {
+ /* button mask function argument */
+- { Button4, ShiftMask, kscrollup, {.i = 1} },
+- { Button5, ShiftMask, kscrolldown, {.i = 1} },
++ { Button4, ShiftMask, kscrollup, {.i = mousescrollincrement} },
++ { Button5, ShiftMask, kscrolldown, {.i = mousescrollincrement} },
+ };
+
+ /* Internal keyboard shortcuts. */
+--
+2.22.0
diff --git a/st-0.8.4/st b/st-0.8.4/st
new file mode 100755
index 0000000..b5216af
--- /dev/null
+++ b/st-0.8.4/st
Binary files differ
diff --git a/st-0.8.4/st.o b/st-0.8.4/st.o
new file mode 100644
index 0000000..e3f7921
--- /dev/null
+++ b/st-0.8.4/st.o
Binary files differ
diff --git a/st-0.8.4/x.o b/st-0.8.4/x.o
new file mode 100644
index 0000000..5eb1e8b
--- /dev/null
+++ b/st-0.8.4/x.o
Binary files differ