Skip to content

An indicator for gnome-shell that shows the current activity tracked by timewarrior

License

Notifications You must be signed in to change notification settings

tassos/timewarrior-indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/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

Upcoming features

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!

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/.

About

An indicator for gnome-shell that shows the current activity tracked by timewarrior

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •