Giter VIP home page Giter VIP logo

gnome-pomodoro-tracking's Introduction

GNOME Pomodoro Tracking

Lets you track your time with the popular time tracking services.

Contents

Getting Started

Requirements

Install

# If you have installed v3, first uninstall old version
sh -c "$(curl -fsSL https://raw.githubusercontent.com/gnome-pomodoro/gnome-pomodoro-tracking/master/startup.sh)" "" --uninstall
pip3 install -U gnome-pomodoro-tracking

Uninstall

pip3 uninstall -y gnome-pomodoro-tracking

GNOME Pomodoro Settings

Preferences / Plugins ... / Custom Actions(Execute shell scripts) / Add

gnome-pomodoro-tracking -gps "$(state)" -gpt "$(triggers)" -gpd "$(duration)" -gpe "$(elapsed)"

Command Line

usage: gnome-pomodoro-tracking [-h] [--plugin {odoo,clockify,toggl}] [-n NAME]
                               [-g TAG] [-r] [-k] [-s] [-w] [-p]
                               [--token TOGGL_TOKEN]
optional arguments:
  -h, --help            show this help message and exit
  --plugin {odoo,clockify,toggl}
                        Time Tracking Service
  -n NAME, --name NAME  Pomodoro name
  -g TAG, --tag TAG     Pomodoro tag
  -r, --restart         Pomodoro restart
  -k, --stop            Pomodoro stop
  -s, --status          Pomodoro status
  -e, --time-entry      Create time entry
  -m, --min-trace       Time minimal elapsed to track
  -d, --debug           Enable debug

gnome-pomodoro-tracking's People

Contributors

josehbez avatar kamilprusko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gnome-pomodoro-tracking's Issues

Can't install on Ubuntu 22.10

When using pip3 to install, then I get the following error message on Ubuntu 22.10:

$ pip3 install -U gnome-pomodoro-tracking
Defaulting to user installation because normal site-packages is not writeable
Collecting gnome-pomodoro-tracking
  Downloading gnome_pomodoro_tracking-4.0.3-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from gnome-pomodoro-tracking) (2.27.1)
Installing collected packages: gnome-pomodoro-tracking
  WARNING: The script gnome-pomodoro-tracking is installed in '/home/sojusnik/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed gnome-pomodoro-tracking-4.0.3

How to install on Ubuntu 23.04?

When using the provided command pip3 install -U gnome-pomodoro-tracking, then under Ubuntu 23.04 you get error: externally-managed-environment etc.

What would be the recommended way to install this script on Ubuntu 23.04?

Allow adding tags and specify the default entry name

It would be helpful, if you could also specify a tag that will be added to an entry. This option could be added, when configuring a plugin.

By having a tag added to an entry, one could easily see all entries in Toggl, that were added by using Gnome-Pomodoro. This is useful, if one is not solely using Gnome-Pomodoro, but Toggl on other devices, as on Android, for example.

Defining the name of an entry, at the moment all entries are called Pomodoro, would also be useful.

Can't add toggl token

Hey!

The new toggl plugin seems not to be working. When adding a token, then the following appears:

~$ gp-tracking --toggl-token 34jf827162hdasf...

usage: gp-tracking [-h] --clockify-token CLOCKIFY_TOKEN
gp-tracking: error: the following arguments are required: --clockify-token

or

~$ gp-tracking --plugin toggl

usage: gp-tracking [-h] --clockify-token CLOCKIFY_TOKEN
gp-tracking: error: the following arguments are required: --clockify-token

Adjust commands

You recommend to use alias gp-tracking=gnome-pomodoro-tracking, but the alias isn't permanent.

Therefore gp-tracking -gps "$(state)" -gpt "$(triggers)" -gpd "$(duration)" -gpe "$(elapsed)" doesn't work after a restart, only gnome-pomodoro-tracking "$(state)" -gpt "$(triggers)" -gpd "$(duration)" -gpe "$(elapsed)" does.

Can you either provide a command for a permanent alias or adjust the commands to gnome-pomodoro-tracking in the readme and the other instructions in order to prevent confusion?

toggl intergration

Hey!

Your script looks very interesting. Just wanted to know if it's possible to integrate it with toggl?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.