diff options
| author | stkhan <personal@slickd.xyz> | 2021-05-11 10:39:20 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-05-11 10:39:20 -0500 |
| commit | 5420b2198206e741e8813d0041918de73e23cdb8 (patch) | |
| tree | d07e1b6cdac262380b51aac35ffe6e1ba5e9c25a | |
| parent | 32266087d52ef656cc03ce71a1e2f62eb7ed2d18 (diff) | |
Changed scrolling on st
| -rwxr-xr-x | etc/clean | 7 | ||||
| -rwxr-xr-x | install.sh | 1 | ||||
| -rw-r--r-- | st/config.h | 4 | ||||
| -rwxr-xr-x | st/st | bin | 120776 -> 120776 bytes | |||
| -rw-r--r-- | st/x.o | bin | 88160 -> 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* @@ -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"} }, Binary files differBinary files differ |