Skip to content

tedk0n/autorotate_sway_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Autorotate_sway_script

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

Auto rotate bash script for sway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages