Update multiple things

This commit is contained in:
Justin Lin
2022-08-07 10:18:14 +08:00
parent 8275315dc9
commit 4557f2e97f
16 changed files with 140 additions and 24 deletions

View File

@@ -9,3 +9,5 @@ setxkbmap -option caps:super,altwin:menu_win
killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
# Turn off caps lock if on since there is no longer a key for it.
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
xinput --set-prop 'pointer:Razer Razer Basilisk X HyperSpeed' 'libinput Accel Speed' -1
xinput --set-prop 'pointer:MM731 Hybrid Mouse' 'libinput Accel Speed' -1

View File

@@ -7,4 +7,4 @@ PID="$(pstree -lpA "$PID")"
PID="${PID##*"${SHELL##*/}"(}"
PID="${PID%%)*}"
cd "$(readlink /proc/"$PID"/cwd)" || return 1
"$TERMINAL"
"$TERMINAL" &