Integration into Status Bars¶
The status can be integrated into status bars.
The integration should work with all status bars that allow to call external programs periodically. It has been tested with the following status bars.
Formatting can be customized with the --fmt flag.
The following parameters are available:
Variable |
Description |
|---|---|
|
List of currently active tasks w/o statistics |
|
Similar to |
|
List of all tasks that have been touched w/o statistics |
|
Similar to |
|
Calculated break duration (see Automatic Break Handling) (HH:MM:SS) |
|
Similar to |
|
Calculated end of the working day (HH:MM:SS) |
|
Similar to |
|
Number of overtime hours worked on this day (HH:MM:SS) |
|
Similar to |
|
Percentage of hours worked measured against the target value (w/o percent sign) |
|
Percentage of overtime hours worked measured against the soft limit (w/o percent sign) |
|
Percentage of hours to work until the target value is reached (w/o percent sign) |
|
Time remaining until the end of the working day (HH:MM:SS) |
|
Similar to |
|
Total working time (HH:MM:SS) |
|
Similar to |
|
Current tracking status (‘on’ or ‘off’) |
Variables must be wrapped in single curly braces:
$ wl status --fmt '{tracking_status} | {remaining_time_short} {percentage_done}%'
on | 7:38 4%
$ wl status --fmt '{tracking_status} | {active_tasks_stats}'
on | (2) [task1, task2]