From 5420b2198206e741e8813d0041918de73e23cdb8 Mon Sep 17 00:00:00 2001 From: stkhan Date: Tue, 11 May 2021 10:39:20 -0500 Subject: Changed scrolling on st --- etc/clean | 7 +++++++ install.sh | 1 + st/config.h | 4 ++-- st/st | Bin 120776 -> 120776 bytes st/x.o | Bin 88160 -> 88160 bytes 5 files changed, 10 insertions(+), 2 deletions(-) create mode 100755 etc/clean 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 Binary files a/st/st and b/st/st differ diff --git a/st/x.o b/st/x.o index c13f536..98e3146 100644 Binary files a/st/x.o and b/st/x.o differ -- cgit v1.2.3