A bin folder must exist in $HOME and be in $PATH.
$ make release
$ clocktui
Or
$ make build
$ ./target/release/clocktui
Timezone settings are loaded from:
$HOME/.config/clocktui/config.toml
Example:
primary_timezone = "America/Sao_Paulo"
timezones = [
"America/Los_Angeles",
"America/Denver",
"America/Chicago",
"America/New_York",
"America/Sao_Paulo",
]
[theme]
theme = "default"Notes:
primary_timezonecontrols the large primary clock.timezonescontrols the smaller comparison clocks.
CLI:
--primaryoverridesprimary_timezonefrom config when provided.--timezoneoverridestimezonesfrom config when provided.--bypass-confirmation-on-closecloses immediately withCtrl+CorCtrl+Q.
Example:
clocktui --primary America/New_York --timezone Asia/Tokyo --timezone Europe/Lisbon
By default, Ctrl+Q opens a confirmation dialog before closing.
To close immediately with Ctrl+C or Ctrl+Q, run:
clocktui --bypass-confirmation-on-closeTheme files are loaded from:
$HOME/.config/clocktui/themes/<theme>/theme.toml
- Install the app:
make release- The install step copies all bundled theme folders from
./themesinto:
$HOME/.config/clocktui/themes/
- Select a theme in your config file:
$HOME/.config/clocktui/config.toml
[theme]
theme = "default"You can also override at runtime:
clocktui --theme darkdefaultdark
- Update README to add build/install instructions
- Config for each
clockindividually