/python-202020

A non-ancient looking 202020 application built in Python

Primary LanguagePython

Python 202020

A python made application to remind the user to follow 20-20-20; For 20 seconds, look at something 20 metres away every 20 minutes (to rest your eyes and keep them working well over time)

Executable Installation

Download the latest release from the releases section to the right. Extract the zip and run main.exe.

Prerequisites

We use Qt for UI management stuff:

pip install PyQt5

For building the desktop application:

pip install pyinstaller

Running

Assuming all the pip requirements were satisfied:

python main.py

Building

pyi-makespec --onefile --icon=icon.ico main.py

After making relevant modifications to the spec file:

pyinsaller main.spec

How does it look

alt text

With toast notification: alt text

When it's not time for the break: alt text alt text