summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-05-11 10:39:20 -0500
committerstkhan <personal@slickd.xyz>2021-05-11 10:39:20 -0500
commit5420b2198206e741e8813d0041918de73e23cdb8 (patch)
treed07e1b6cdac262380b51aac35ffe6e1ba5e9c25a
parent32266087d52ef656cc03ce71a1e2f62eb7ed2d18 (diff)
Changed scrolling on st
-rwxr-xr-xetc/clean7
-rwxr-xr-xinstall.sh1
-rw-r--r--st/config.h4
-rwxr-xr-xst/stbin120776 -> 120776 bytes
-rw-r--r--st/x.obin88160 -> 88160 bytes
5 files changed, 10 insertions, 2 deletions
diff --git a/etc/clean b/etc/clean
new file mode 100755
index 0000000..4236ecf
--- /dev/null
+++ b/etc/clean
@@ -0,0 +1,7 @@
+#!/bin/sh
+# This script is used to test new installations of sarc and delete current ones
+
+sudo rm -r ~/.config/sarc
+sudo rm /usr/local/bin/dm*
+sudo rm /usr/local/bin/dwm*
+sudo rm /usr/local/bin/st*
diff --git a/install.sh b/install.sh
index 1f99430..4b41b62 100755
--- a/install.sh
+++ b/install.sh
@@ -59,3 +59,4 @@ theme="$(cat /tmp/.theme_sel)"
sudo cp ./bin/* /usr/local/bin
dialog --title "sarc" --msgbox "The installation is complete! Type *startx* to launch dwm." 0 0
+clear
diff --git a/st/config.h b/st/config.h
index 418fc0e..1035b22 100644
--- a/st/config.h
+++ b/st/config.h
@@ -226,8 +226,8 @@ ResourcePref resources[] = {
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
- { XK_NO_MOD, Button4, kscrollup, {.i = 1} },
- { XK_NO_MOD, Button5, kscrolldown, {.i = 1} },
+ { XK_NO_MOD, Button4, kscrollup, {.i = 4} },
+ { XK_NO_MOD, Button5, kscrolldown, {.i = 4} },
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
diff --git a/st/st b/st/st
index 975853f..6a033aa 100755
--- a/st/st
+++ b/st/st
Binary files differ
diff --git a/st/x.o b/st/x.o
index c13f536..98e3146 100644
--- a/st/x.o
+++ b/st/x.o
Binary files differ