Skip to main content

A Powerline segment shows the time tracked in watson.

Project description

POWERLINE WATSON

A Powerline segment shows the time tracked in watson.

By Miguel de Dios Matias.

Installation

Using pip

pip install powerline-watson

Configuration

You can activate the Powerline Slotmachine segment by adding it to your segment configuration, for example in .config/powerline/themes/shell/default.json:

{
    "function": "powerline_watson.status",
    "priority": 30
},

It shows a segment with time as hh:mm:ss and tags.

screenshot powerline_watson

Arguments

  • line (string): The string to format the content of segment.
    • Default: "{time}({tags})⏲️"
      • PlaceHolders:
        • {time}: The time elapsed (as hh:mm:ss) in the task.
        • {start}: The datetime when started the task.
        • {tags}: The list of the tags.
        • {project}: The project name.
        • {human_time}: The time in human format example 'a minute ago'.
  • notask (string): The string to show when watson is stopped.
    • Default: "Free"

License

Licensed under the GPL3 License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for powerline-watson, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size powerline_watson-1.0.1-py2-none-any.whl (16.3 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size powerline_watson-1.0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page