Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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)

Usage example echo 'monitor-sensor | bash autorotate.sh &> autorotate.log' | at now

Script test and using on lenovo thinkpad helix. Variable WAYLANDINPUT is array devices input which will be rotated after turning the screen Device list can be viewed by command "swaymsg -t get_inputs"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages