/work_time_percent_applet

An Ubuntu applet that displays the % of the work day passed

Primary LanguagePython

image

Work Day Percentage Display Applet

This will display the percent of the work day that's passed (8am - 5pm) as an Ubuntu applet

image

Quickstart

To run: python3 main.py

To run on boot open the Ubuntu "Startup Applications" app and add an entry for main.py

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.

Tests

To run tests run pytest

Config

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