A very simple indicator for the gnome-shell that displays the current activity tracked from timewarrior
Timewarrior :) You can get it from here: https://timewarrior.net/
This is a very simple gnome-shell extension that parses the output of the timew binary and returns the current activity and the duration of it. The current activity is derived from all the tags that are returned from the timew command. The longest tag is used. The string is cut to be max 20 char long.
The duration is also derived from the output of the timew command and is displayed in a HH:MM format.
The extension can be installed directly from source, either for the convenience of using git or to test the latest version.
Clone the latest version with git
git clone https://github.com/tassos/timewarrior-indicator.git \
~/.local/share/gnome-shell/extensions/[email protected]
A Shell reload is required Alt+F2 r Enter
and extension
has to be enabled with gnome-tweak-tool
Some ideas for extra features:
Create a settings panel(implemented in 38625363c7c357a69418896f5ff35377abe62ef6)Restart previous activities from the panel(implemented in 38625363c7c357a69418896f5ff35377abe62ef6)- Change the display format
- Change the tag to display
If you have any ideas on how to make this tool more useful, please contact me!
- tassos (Tassos Natsakis)
Copyright (C) 2017 Tassos Natsakis
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.