summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautostart3
-rwxr-xr-xmouse-settings4
2 files changed, 3 insertions, 4 deletions
diff --git a/autostart b/autostart
index dfa94ca..20d858f 100755
--- a/autostart
+++ b/autostart
@@ -21,7 +21,8 @@ exec ${HOME}/bin/ratcpi &
exec ${HOME}/.local/bin/mouse-settings &
if [[ $(hostname) == "bryant" ]]; then
- exec xrandr --output DP-7 --rotate right &
+ #exec xrandr --output DP-7 --rotate right &
+ exec xrandr --output HDMI-2 --rotate right &
exec sudo nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan-0]/GPUTargetFanSpeed=1" &
fi
diff --git a/mouse-settings b/mouse-settings
index 8065c2f..01dcca1 100755
--- a/mouse-settings
+++ b/mouse-settings
@@ -3,9 +3,7 @@
export EXT_POINTER=$(xinput list | grep "USB-HID Keyboard" | grep pointer | awk -F'=' '{print $2}' | cut -f 1)
if [[ $(hostname) == "bryant" ]]; then
- xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Constant Deceleration" | awk -F '[()]' '{print $2}') 2.5
- xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Adaptive Deceleration" | awk -F '[()]' '{print $2}') 1.0
- xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "Device Accel Velocity Scaling" | awk -F '[()]' '{print $2}') 5.0
+ xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep -P "libinput Accel Speed \(\d+\)" | awk -F '[()]' '{print $2}') -0.75
elif [[ $(hostname) == "bogues" ]]; then
exec xinput set-prop $EXT_POINTER 268 2.5
exec xinput set-prop $EXT_POINTER 269 1.25