2023-04-12 18:15:49 +02:00
|
|
|
#!/bin/sh
|
|
|
|
notify-send -i display "Display profile" "$AUTORANDR_CURRENT_PROFILE"
|
|
|
|
|
|
|
|
if [ "$AUTORANDR_CURRENT_PROFILE" == "workstation" ];
|
|
|
|
then
|
|
|
|
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
|
|
|
|
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$AUTORANDR_CURRENT_PROFILE" == "workstation2" ];
|
|
|
|
then
|
|
|
|
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
|
|
|
|
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$AUTORANDR_CURRENT_PROFILE" == "mobile" ];
|
|
|
|
then
|
|
|
|
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.4
|
|
|
|
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.2
|
|
|
|
fi
|
|
|
|
|
2023-04-29 14:32:43 +02:00
|
|
|
hsetroot -fill /home/sdk/Documents/bg-grey-with-puffy.png
|