Module i3status_rs::blocks::watson

source ·
Expand description

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

KeyValuesDefault
formatA string to customise the output of this block. See below for available placeholders`“ $text
show_timeWhether to show recorded time.false
state_pathPath to the Watson state file. Supports path expansions e.g. ~.$XDG_CONFIG_HOME/watson/state
intervalUpdate interval, in seconds.60
PlaceholderValueTypeUnit
textCurrent activityText-
ActionDescriptionDefault button
toggle_show_timeToggle the value of show_timeLeft

§Example

[[block]]
block = "watson"
show_time = true
state_path = "~/.config/watson/state"

§TODO

  • Extend functionality: start / stop watson using this block

Structs§

Functions§