aboutsummaryrefslogtreecommitdiff
path: root/bin/executable_mice.sh
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2025-08-21 13:21:45 -0400
committerRyan Kavanagh <rak@rak.ac>2025-08-21 13:21:45 -0400
commitf19f5df73ac0fdc3efa14649c4b646bcc4de84f4 (patch)
treec323a796deb32800dd3dc054fe778f1787d3f953 /bin/executable_mice.sh
parentAdopt straight.el (diff)
Move ~/bin to ~/.local/bin
Diffstat (limited to 'bin/executable_mice.sh')
-rwxr-xr-xbin/executable_mice.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/bin/executable_mice.sh b/bin/executable_mice.sh
deleted file mode 100755
index 794f86f..0000000
--- a/bin/executable_mice.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# Synaptics:
-synclient HorizTwoFingerScroll=0 || true
-synclient HorizEdgeScroll=1 || true
-# Enable circular scrolling with top edge activating
-synclient CircularScrolling=1 || true
-synclient CircScrollTrigger=1 || true
-# One finger is left click
-synclient TapButton1=1 || true
-# Two is right click
-synclient TapButton2=3 || true
-# Three is middle click
-synclient TapButton3=2 || true
-# Enable coasting
-synclient CoastingSpeed=5
-synclient CoastingFriction=30
-
-trackball=$(xinput | grep "Kensington Expert Wireless TB" | grep pointer | sed -e 's/.*id=//g;s/\s\+.*//g')
-if [ "x${trackball}" != "x" ]; then
- xinput set-button-map "${trackball}" 1 2 8 4 5 6 7 3 9 10 11 12 13 14 15 16
- xinput set-prop "${trackball}" "libinput Accel Speed" 0.25
-fi
-
-