From 3d3d79a57fb6d0a5728e0070475f05d1699f0818 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Wed, 16 Mar 2022 23:37:09 -0500 Subject: move a lot of scripts around and make a bunch of minor changes. once again i am too lazy to document the changes properly since im never going to read these commit messages anyways --- x11/bsdtpscroll | 4 ---- x11/capsmap | 8 -------- x11/settitle | 4 ---- x11/testtimmywm | 5 ----- x11/xkeyconf | 12 ++++++++++++ 5 files changed, 12 insertions(+), 21 deletions(-) delete mode 100755 x11/bsdtpscroll delete mode 100755 x11/capsmap delete mode 100755 x11/settitle delete mode 100755 x11/testtimmywm create mode 100755 x11/xkeyconf (limited to 'x11') diff --git a/x11/bsdtpscroll b/x11/bsdtpscroll deleted file mode 100755 index 0f2cd20..0000000 --- a/x11/bsdtpscroll +++ /dev/null @@ -1,4 +0,0 @@ -#!/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 deleted file mode 100755 index 36c5eb1..0000000 --- a/x11/capsmap +++ /dev/null @@ -1,8 +0,0 @@ -#!/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 diff --git a/x11/settitle b/x11/settitle deleted file mode 100755 index 7cdd7d1..0000000 --- a/x11/settitle +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -xdotool set_window --class "$2" $(xdotool search --pid $1) # command chaining doesnt work for some reason -#xdotool getactivewindow set_window --class "$1" -#[ -z "$2" ] && echo -n "\e]0;$2\a" diff --git a/x11/testtimmywm b/x11/testtimmywm deleted file mode 100755 index 33cda37..0000000 --- a/x11/testtimmywm +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -Xephyr -br -ac -reset -screen 2160x1440 :1 & -sleep 1 -export DISPLAY=:1 -timmywm & diff --git a/x11/xkeyconf b/x11/xkeyconf new file mode 100755 index 0000000..cea356f --- /dev/null +++ b/x11/xkeyconf @@ -0,0 +1,12 @@ +#!/bin/sh +# Faster repeated keys and less delay before repeating +xset r rate 250 50 & + +# 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 -- cgit v1.2.3