summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-28 12:39:43 +0300
committerPaul Buetow <paul@buetow.org>2024-08-28 12:39:43 +0300
commit60821cda9cbaf5cc345ca471b572b5925439d6aa (patch)
tree757b8f2e02d534fe585a3a42891abf1b77257784
parent7264c45f685b8c674cf134ac9762f68b44da0055 (diff)
update readm
-rw-r--r--README.md8
-rw-r--r--autorotate.sh5
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