A Powerline segment shows the time tracked in watson.
Project description
POWERLINE WATSON
A Powerline segment shows the time tracked in watson.
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.
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'.
- PlaceHolders:
- Default: "{time}({tags})⏲️"
- notask (string): The string to show when watson is stopped.
- Default: "Free"
License
Licensed under the GPL3 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file powerline_watson-1.0.1.tar.gz
.
File metadata
- Download URL: powerline_watson-1.0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a100651726440a0c31441d57037987662db3b5a3648d5f64a9a18135fc348a |
|
MD5 | f431664c8206d01c977462e69fa5e46c |
|
BLAKE2b-256 | d2a79adb46a12cbb3653fc46d6725418e4f1b566f363c011369d8a4635e810ff |
File details
Details for the file powerline_watson-1.0.1-py2-none-any.whl
.
File metadata
- Download URL: powerline_watson-1.0.1-py2-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cba16beaa6194b09867c262574d98c7643851b672600c6eb4c6c6c1a05ab654b |
|
MD5 | 3ba06e13022ec80e745b2d458a29162c |
|
BLAKE2b-256 | c910c40fb0ddae3515ba366dab0474bbbe670fe3335e987e8cd84a7dd6943eeb |