Lets you track your time with the popular time tracking services.
- python3
- git
- gnomepomodoro.org
# Install
sh -c "$(curl -fsSL https://raw.githubusercontent.com/gnome-pomodoro/gnome-pomodoro-tracking/master/startup.sh)" "" --install
# Upgrade
sh -c "$(curl -fsSL https://raw.githubusercontent.com/gnome-pomodoro/gnome-pomodoro-tracking/master/startup.sh)" "" --upgrade
# Uninstall
sh -c "$(curl -fsSL https://raw.githubusercontent.com/gnome-pomodoro/gnome-pomodoro-tracking/master/startup.sh)" "" --uninstall
usage: gnome-pomodoro-tracking [-h] [--plugin {odoo,clockify,toggl}] [-n NAME]
[-r] [-k] [-s]
optional arguments:
-h, --help show this help message and exit
--plugin {odoo,clockify,toggl}
Select Time Tracking Service
-n NAME, --name NAME Set the name of the time entry
-r, --restart Restart Pomodoro
-k, --stop Stop Pomodoro
-s, --status Status Pomodoro
Preferences / Plugins ... / Custom Actions(Execute shell scripts) / Add
gnome-pomodoro-tracking -gps "$(state)" -gpt "$(triggers)" -gpd "$(duration)" -gpe "$(elapsed)"
# 1.- Run with mock values
python -m unittest
# 2.- Run with Third-party response
# Clockify
export GP_TRACKING_CLOCKIFY_TOKEN=Token
# Toggl
export GP_TRACKING_TOGGL_TOKEN=Token
# Odoo
export GP_TRACKING_ODOO_URL=Url
export GP_TRACKING_ODOO_PASSWORD=Password
export GP_TRACKING_ODOO_USERNAME=User
export GP_TRACKING_ODOO_DATABASE=Db
python -m unittest