Skip to content

krupan/laptop-autorotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

autorotate

A script that uses iio-sensor-proxy (the monitor-sensor command) to detect screen orientation changes and rotate the screen and any pointers (touchpad, touchscreen, pen) accordingly.

Use

Put the script somewhere, make it executable, and start it when your desktop and/or window manager starts. For example, you could put this in your ~/.config/i3/config:

exec --no-startup-id /path/to/autorotate

NOTE: if you are not using an HP Spectre 13-ap0059dx like me, you will probably need to edit the script and change the device names. Run xinput list to see the names of your devices.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages