Flip your screen automatically past a certain hour
Switch branches/tags
Nothing to show
Clone or download
Latest commit eea1e75 Dec 5, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore first commit Dec 5, 2018
LICENSE.md first commit Dec 5, 2018
README.md first commit Dec 5, 2018
invscr.py first commit Dec 5, 2018
main.py first commit Dec 5, 2018
norscr.py first commit Dec 5, 2018



Flip your screen automatically past a certain hour.

Table of contents


  • Linux


  1. Go to your installation path: cd your/desired/installation/path
  2. Clone the repo: git clone https://github.com/timotheechauvin/flip-screen
  3. In main.py, change the value of invert_hour to your preferred value.
  4. Go to "Startup applications" (type Super then startup, and select it).
  5. Click "Add"
  6. Type:
  • name = flip-screen
  • command = /bin/bash -c "sleep 15 && python3 your/path/flip-screen/main.py" (don't forget to put your own path!)
  • comment (optional) = From https://github.com/timotheechauvin/flip-screen

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.

  1. Go to the end of your ~/.bashrc file
  2. Add aliases to norscr and invscr:
  • alias norscr='your/path/flip-screen/norscr.py'
  • alias invscr='your/path/flip-screen/invscr.py'


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 invscr and norscr in your terminal.


Issues, feedback and pull requests are all warmly welcome!


This project is under the MIT license.