Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdtrooper/powerline_watson
A Powerline segment shows the time tracked in watson.
https://github.com/mdtrooper/powerline_watson
powerline td-watson timetracker watson
Last synced: about 1 month ago
JSON representation
A Powerline segment shows the time tracked in watson.
- Host: GitHub
- URL: https://github.com/mdtrooper/powerline_watson
- Owner: mdtrooper
- License: gpl-3.0
- Created: 2019-11-25T10:56:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-26T23:41:28.000Z (almost 5 years ago)
- Last Synced: 2024-06-10T07:38:27.091Z (4 months ago)
- Topics: powerline, td-watson, timetracker, watson
- Language: Python
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# POWERLINE WATSON
A [Powerline](https://powerline.readthedocs.io/en/master/) segment shows the time tracked in [watson](https://github.com/TailorDev/Watson).
By [Miguel de Dios Matias](https://github.com/mdtrooper).
## 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`:```json
{
"function": "powerline_watson.status",
"priority": 30
},
```It shows a segment with time as hh:mm:ss and tags.
![screenshot powerline_watson](https://raw.githubusercontent.com/mdtrooper/powerline_watson/master/powerline_watson.screenshot.jpg "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](https://github.com/mdtrooper/powerline_swissarmyknife/blob/master/LICENSE).