This will display the percent of the work day that's passed (8am - 5pm) as an Ubuntu or OSX toolbar applet
To run: python3 main.py # 8AM to 5PM by default
If you want a different time range then pass it in, for example: python3 main.py 9 20
or edit the config.py
file to change the defaults.
To run on boot open the Ubuntu "Startup Applications" app and add an entry for main.py
You'll need to install the fire
package
pip3 install fire
You'll need to install the fire
and rumps
packages
pip3 install fire rumps
To run tests run pytest
You can edit the start and end times in the config.py
file, and change the number of decimal places to display.
You can also change the icon that appears next to the applet by passing in a number from 0-4 for --icon_num
when you run the applet:
python3 main.py --icon_num=1
You can also run it as a full day percentage with python3 main.py 0 0