Flip your screen automatically past a certain hour.
Table of contents
- Go to your installation path:
- Clone the repo:
git clone https://github.com/timotheechauvin/flip-screen
main.py, change the value of invert_hour to your preferred value.
- Go to "Startup applications" (type Super then startup, and select it).
- Click "Add"
- name =
- command =
/bin/bash -c "sleep 15 && python3 your/path/flip-screen/main.py"(don't forget to put your own path!)
- comment (optional) =
Now the main program is working (you'll have to restart your computer, though). Now you may want to be able to revert the screen(s) back to normal on certain circumstances. That's where
norscr.py comes in handy.
- Go to the end of your
- Add aliases to norscr and invscr:
If you've completed the steps above, and restarted your computer, your screen should get inverted at the hour specified by the variable invert_hour.
You can also invert and get your screen back to normal by typing respectively
norscr in your terminal.
Issues, feedback and pull requests are all warmly welcome!
This project is under the MIT license.