Watson statistics
Watson is a simple CLI time tracking application. This block will show the name of your current active project, tags and optionally recorded time. Clicking the widget will toggle the show_time
variable dynamically.
§Configuration
Key | Values | Default |
format | A string to customise the output of this block. See below for available placeholders | `“ $text |
show_time | Whether to show recorded time. | false |
state_path | Path to the Watson state file. Supports path expansions e.g. ~ . | $XDG_CONFIG_HOME/watson/state |
interval | Update interval, in seconds. | 60 |
Placeholder | Value | Type | Unit |
text | Current activity | Text | - |
Action | Description | Default button |
toggle_show_time | Toggle the value of show_time | Left |
§Example
[[block]]
block = "watson"
show_time = true
state_path = "~/.config/watson/state"
§TODO
- Extend functionality: start / stop watson using this block