59 Commits

Author SHA1 Message Date
Jens Krause
4ee5d7b4e9
Prepare v1.0.0 (#47)
* update README
* update CHANGELOG
* update demo
* bump v1.0.0
v1.0.0
2025-01-10 16:36:57 +01:00
Jens Krause
9ea9f88266
feat(countdown): persist elapsed time (#46) 2025-01-10 16:01:03 +01:00
Jens Krause
c8af76c9e5
feat(countdown): rocket countdown (#45) 2025-01-08 18:52:18 +01:00
Jens Krause
468b4a5abf
simplify style settings, improve naming (#44)
* simplify style settings by passing `style` directly to Widgets. No need to store it in `state` of widgets.
* remove unneeded things
* naming (state vs. widgets)
2025-01-07 19:02:57 +01:00
Jens Krause
8603a823e4
fix(footer): 12-hour format incl. tests (#43) 2025-01-06 19:22:02 +01:00
Jens Krause
94bdeeab11
feat(footer): show local time (#42) 2025-01-06 18:31:22 +01:00
Orhun Parmaksız
66c6d7fc46
docs: Add instructions for installing from the AUR (#41) 2025-01-06 09:06:15 +01:00
jk
568515f65f
add changelog v0.9.0 2025-01-03 16:34:00 +01:00
jk
ec297d4f37
enable ci workflows 2025-01-03 16:26:39 +01:00
Jens K.
ea59a72cd0
Prepare release workflow (#40) 2025-01-03 16:21:38 +01:00
Jens K.
847367f51e
Prepare publish (#39)
* refactor!: rename `.data` and `.log` files
   - `timr.data` -> `app.data`
   - `timr.log` -> `app.log`
* refactor!: rename app name `timr` -> `timr-tui`
* docs: update README (paths, names, installation)
* update Cargo.toml
* fix(release): warning: unused variable: `log_dir`
2025-01-02 12:16:56 +01:00
jk
f3a6e073e2
don't restrict countdown edit
(see #33)
2025-01-01 18:51:24 +01:00
jk
e4dcf61153
move parse_duration into duration module 2025-01-01 18:23:19 +01:00
Jens K.
a4f8885eb1
feat(cli): arg --menu (#37)
- Add `--menu` to args
- Add `--version` to args
- Change default behavior: At a first run of the app, the menu will be shown by default (similar to what @tschinz suggested in #33). However, if an user hides the menu later and closes the app, the menu will be hidden again with a next start. Just because the app restores the last app state.
2025-01-01 15:13:10 +01:00
Jens K.
e674314207
fix(cli): invalid format of --help output (#36) 2025-01-01 14:51:12 +01:00
Jens K.
7312ad51d8
fix: use data_local_dir if state_dir not found (#31)
Fixes #30
2024-12-30 19:56:27 +01:00
jk
88293898f6
clippy 2024-12-28 13:23:38 +01:00
jk
75fadb3aff
format 2024-12-28 13:23:25 +01:00
jk
7206714f96
extract Content into common 2024-12-28 13:18:43 +01:00
Jens K.
9bfe4e528b
extract clock elements (#28)
Few tests. Extract `Style` to `common`.
2024-12-28 12:32:27 +01:00
Jens K.
d56434f2de
demo time (#27) 2024-12-27 18:59:33 +01:00
jk
5eb831457b
progressbar: remove label 2024-12-27 18:34:56 +01:00
jk
49365d3db4
fix: tick timer 2024-12-27 18:34:12 +01:00
jk
0673b8e1dd
update README 2024-12-26 20:06:28 +01:00
jk
3ea715f83b
fix: initial values via args 2024-12-26 20:03:55 +01:00
Jens K.
ca81094a36
fix edits (#26)
incl. editing `deciseconds` + more tests
2024-12-26 20:03:22 +01:00
jk
ed7c17caf9
DurationEx 2024-12-26 15:14:41 +01:00
Jens K.
ae1a48e5e8
Progressbar (#25)
* Progressbar
* header
* label
* border
2024-12-25 12:21:36 +01:00
Jens K.
acb627b1d7
Add styles: Light, Medium, Dark, Braille (#24)
* add `Style::Braille`, use ratatui's shades/arrows

* update args

* update README
2024-12-23 15:13:06 +01:00
Jens K.
d86f8905f2
Cleanup (#23)
* simplify footer

* improve: &T vs. &mut T

* remove header

* adjust table space

* update README
2024-12-23 14:24:15 +01:00
Jens K.
98ee2bc16b
menu: appearance + controls (#22) 2024-12-23 10:39:53 +01:00
Jens K.
c9b444e91a
Persist app state (#21) 2024-12-22 18:56:55 +01:00
Jens K.
2cf411e2ae
more args: mode, style, decis (#20) 2024-12-21 18:00:46 +01:00
Jens K.
d705f20e2d
deciseconds (#19) 2024-12-21 16:50:26 +01:00
Jens K.
ab10a38901
clock style (#18) 2024-12-18 13:51:22 +01:00
Jens K.
3c9ae881c9
Editable timer (#17) 2024-12-18 08:49:57 +01:00
Jens K.
3e278d63c5
refactor format (#16) 2024-12-18 08:29:07 +01:00
Jens K.
8ddbc77baf
handle hours (#15) 2024-12-17 11:16:53 +01:00
Jens K.
b7d6a6c139
Args (#14) 2024-12-14 18:24:51 +01:00
Jens K.
6c7bedabe3
Pipe events into subviews (#13)
and match only unhandled events afterwards
2024-12-12 18:43:12 +01:00
Jens K.
64300631c7
Editable Countdown (#12)
- Editable `Countdown`
- ASCII Symbols for `Clock` states
- Update labels
2024-12-12 14:16:05 +01:00
Jens K.
4c38ac368e
Pomodoro (editable) (#11) 2024-12-12 09:00:36 +01:00
jk
709224b31f
unstable just 2024-12-06 16:05:28 +01:00
jk
ec02821825
test: center|horizontal|vertical 2024-12-06 16:05:00 +01:00
jk
04d3dced63
src/clock.rs -> src/widgets/clock.rs 2024-12-06 15:24:23 +01:00
Jens K.
929e453d85
ClockWidget (#10) 2024-12-05 17:25:09 +01:00
jk
b5f9147b45
Display for Clock<T> 2024-12-04 15:28:06 +01:00
Jens K.
6e6217bd21
alejandra (#9)
* alejandra
* update GH workflow
2024-12-04 13:41:09 +01:00
Jens K.
634884d483
Logging (#8)
- Add `Logger`, `Config`
- Back to `nixos-unstable`
- `nix flake update`
2024-12-04 13:29:58 +01:00
Jens K.
b815b1f5eb
wip 2024-12-03 17:14:05 +01:00