-
Release v1.4.0 Stable
released this
2022-08-31 07:19:23 -05:00 | 95 commits to main since this releaseNow in 1.4.0:
Chart formatter
Displays a nice chart of the weekly progress. To use pass
--format chart
(or-f chart
for short) to any display command:t w -f chart
Settings
By default this formatter will only display a nice chart of the progress divided
by week and respecting theweek_start
setting. However you may specify a daily
goal and a weekly goal to customize the chart, as well as how many minutes each
character represents:In toml:
[formatters.chart] daily_goal_hours = 4 weekly_goal_hours = 20 character_equals_minutes = 30
In yaml:
formatters: chart: daily_goal_hours: 4 weekly_goal_hours: 20 character_equals_minutes: 30
Per-command default formatters:
It might be the case that you want to use one default formatter for when you use
t week
and a different one fort month
ort today
. That's what per-command
default formatters are for. To use them just add acommands
section to your
config file and setdefault_formatter
on some formatters. This is what it
would look like:In toml
[commands.week] default_formatter = "chart" [commands.month] default_formatter = "ical"
In yaml
commands: week: default_formatter: chart month: default_formatter: ical
Downloads