GNOME shell extension for smooth two-click time tracking on linux with Toggl Track.
Built with the purpose of making time tracking on Linux a smoother experience.
Built on top of Argos.
- Display your current timer in the GNOME topbar
- Stop your current timer, or start a new one with just two clicks
- "No connection" indicator
-
In the current version, it is impossible to set tags or a description when starting a new timer. The only configurable property of the new timer is its project.
-
Internet connection is required for the extension to function
Install Argos following the instructions.
Rainbow Track requires python3 to run, with the requests module installed
-
Make sure that you have
python3andpipinstalled -
run
pip install requests
Additionally, make sure, that you have curl installed.
You can check it by running curl -V in the terminal.
- Clone this repository. One possible location to clone this repository to is
~/.config/argos/, however, you can clone it wherever you want
cd ~/.config/argos/
git clone "https://github.com/ArtemPt239/rainbow-track"
-
Create config:
- Create config file
cd PATH_TO_THE_CLONNED_REPO cp config.json.default config.json-
Obtain Toggl Track API token and workplace id
-
Add them to the config file created at step 2.i
-
Create symlink from Argos directory (located at
~/.config/argos) to the rainbow-track.py:
cd ~/.config/argos
ln -s PATH_TO_THE_CLONNED_REPO/rainbow-track.py rainbow-track.c.1s.py
Note: it is important to specify this exact name for the symlink, because Argos uses this name to determine update
frequency and position of the extension button on the topbar.
Alternatively, you can name the symlink rainbow-track.l.1s.py to place the extension button on the left side of the
topbar, or rainbow-track.r.1s.py to place the extension button on the right side of the topbar.
- Go to https://track.toggl.com/profile
- Scroll to the bottom of the page
- Click "click to reveal" and copy your API token
- Go to the bottom of the sidebar and click the workspace icon
- In the opened popup click "Manage Workspaces"
- Click the name of your personal workspace
- Workspace id will be a part of the opened url. Copy it






