dotfiles/.config/autorandr/postswitch
2023-11-08 11:02:15 +01:00

21 lines
729 B
Bash
Executable File

#!/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" == "workstation-usbc" ];
# then
# xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
# xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
# fi