diff options
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | autorotate.sh | 5 |
2 files changed, 8 insertions, 5 deletions
@@ -1,4 +1,10 @@ -# Autorotate_sway_script +# sway-autorotate + +This is a fork of https://github.com/tedk0n/autorotate_sway_script + +This is for auto-rotating Sway on my Microsoft Surface Go 2 tablet running Fedora Linux. + + Auto rotate bash script for sway. Using the output of the monitor-sensor command (part of the iio-sensor-proxy package) diff --git a/autorotate.sh b/autorotate.sh index 4895f9d..c4b0c2b 100644 --- a/autorotate.sh +++ b/autorotate.sh @@ -13,10 +13,7 @@ SCREEN="eDP-1" -WAYLANDINPUT=("1003:33798:Atmel_Atmel_maXTouch_Digitizer" - "1386:236:Wacom_ISDv4_EC_Pen" - "2:7:SynPS/2_Synaptics_TouchPad") - +WAYLANDINPUT=("1118:2485:Microsoft_Surface_Keyboard_Touchpad" "1267:10780:ELAN9038:00_04F3:2A1C") function rotate_ms { case $1 in |
