Added
- Added hook support for system notifications. A hook can now either execute a shell command, send a system notification or both.
- Added cargo feature
hook-command
to enable hook based on shell commands (enabled by default). - Added cargo feature
hook-notify
to enable hook based on system notifications (enabled by default). - Added
config.sample.toml
at https://github.com/soywod/comodoro/blob/master/config.sample.toml.
Changed
-
Moved top-level commands related to client to the
timer
subcommand. -
Improved configuration API:
Before After [example]
[presets.example]
tcp-host
tcp.host
tcp-port
tcp.port
on-time-begin = "cmd"
hooks.on-timer-begin.cmd = "cmd"
The main purpose is to improve error diagnostic line numbers, see toml-rs/toml#589.
Fixed
- Fixed unix release builds.
- Prevented commands
manual
andcompletion
to return an error when configuration file was not found.