Timewarrior indicator gnome-shell extensions
A very simple indicator for the gnome-shell that displays the current activity tracked from timewarrior
Prerequisites
Timewarrior :) You can get it from here: https://timewarrior.net/
Project overview
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.
Installation
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/emilianbold/timewarrior-indicator.git \
~/.local/share/gnome-shell/extensions/timewarrior-indicator@natsakis.com
A Shell reload is required Alt+F2 r Enter
and extension
has to be enabled with gnome-extensions-app and/or gnome-tweak-tool
Author
- tassos (Tassos Natsakis)
License
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/.