tix-0.1.2 is not a library.
tix
🕞 tix is a small rust alarm and timer cli.
you can use it for:
- relative timers like
tix 10m - absolute alarms like
tix 12.03.2026 13:30 - slash dates like
tix 12/31/2026 8:15pm - time-only alarms like
tix 13:30ortix 01:30pm - multiple background alarms at the same time
- foreground mode with a live clock/countdown view
install
from crates.io:
from this repo:
quick use
schedule a background alarm:
run in foreground:
force background mode:
check active alarms:
stop one alarm:
stop all alarms:
show or change volume:
config
the config file lives here:
~/.config/tix/config.toml
example:
= "europe/berlin"
= "dmy"
= true
= "24h"
= "background"
= 0
= 0.3
= "/home/ax/music/3.mp3"
[]
= true
= true
= 0
= true
[]
= 250
= true
= true
= true
= true
= "digital"
notes
- cli flags override the default mode from config
- unambiguous slash dates parse in any common order; ambiguous ones follow the locale-aware config policy
auto_stop_seconds = 0means the alarm keeps ringing until you stop it- background alarms send a desktop notification on linux and macos when they trigger
notifications.timeout_ms = 0keeps the notification open until you dismiss it- notification click actions and Stop buttons are Linux/XDG only with
notify-rust; macOS still shows the notification but ignores those action settings - if custom audio fails, tix falls back to the built-in tone or terminal bell