diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-11 00:36:13 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-11 00:36:13 -0500 |
commit | 0a9053c2902adab8b94eaacdb15390441143078c (patch) | |
tree | 1f1a38272dbd554cde8cdec263187112b9c6a7e8 /x11 | |
download | scripts-0a9053c2902adab8b94eaacdb15390441143078c.tar.xz scripts-0a9053c2902adab8b94eaacdb15390441143078c.zip |
redid repo cus of fucking chromium rip old commit messages
Diffstat (limited to 'x11')
-rwxr-xr-x | x11/bsdtpscroll | 4 | ||||
-rwxr-xr-x | x11/capsmap | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/x11/bsdtpscroll b/x11/bsdtpscroll new file mode 100755 index 0000000..0f2cd20 --- /dev/null +++ b/x11/bsdtpscroll @@ -0,0 +1,4 @@ +#!/bin/sh +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5 diff --git a/x11/capsmap b/x11/capsmap new file mode 100755 index 0000000..ad107da --- /dev/null +++ b/x11/capsmap @@ -0,0 +1,9 @@ +#!/bin/sh + +# Remap caps to super when held +setxkbmap -option caps:super +# Remap caps to escape when pressed +killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' + +# Turn off caps lock, just in case it was on prior +xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock |