From 60821cda9cbaf5cc345ca471b572b5925439d6aa Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 28 Aug 2024 12:39:43 +0300 Subject: update readm --- README.md | 8 +++++++- autorotate.sh | 5 +---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4a30b6f..70d5419 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3