Skip to content

emilianbold/timewarrior-indicator

 
 

Repository files navigation

Timewarrior Indicator

Simple indicators that display the current activity tracked from timewarrior

Available for:

  • Linux: GNOME Shell extension
  • macOS: Native menu bar application

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

Linux (GNOME Shell Extension)

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

macOS (Menu Bar Application)

See the macOS README.

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 45.9%
  • Swift 38.1%
  • Shell 15.1%
  • CSS 0.9%