diff options
-rwxr-xr-x | autostart | 3 | ||||
-rwxr-xr-x | mouse-settings | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -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 |