Jens Krause
94bdeeab11
feat(footer): show local time ( #42 )
2025-01-06 18:31:22 +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
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
jk
3ea715f83b
fix: initial values via args
2024-12-26 20:03:55 +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.
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.
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
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
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.
cbb6a60ee9
StatefulWidgets (#7 )
...
* trait EventHandler
* StatefulWidget: AppWidget, CountdownWidget
* StatefulWidget: TimerWidget
2024-12-03 11:23:43 +01:00
Jens K.
4f66ea86d4
Clock<T> ( #6 )
2024-12-02 17:54:47 +01:00
Jens K.
2f587c97b5
Event handling ( #5 )
...
- Refactor `event` handling (heavily inspired by [crates-tui](https://github.com/ratatui/crates-tui/ ) via [Tui with Terminal and EventHandler](https://ratatui.rs/recipes/apps/terminal-and-event-handler/ ))
- Refactor widget structure
- Disable `nixos-unstable` temporarily
- Add `.rustfmt.toml`
2024-12-02 15:43:04 +01:00
Jens K.
3d0d55c8d8
rustfmt, clippy, gh actions, justfile, Default app ( #4 )
...
* `Default` app
* add zed settings
* add justfile
* flake: update devShell, ignore tests, add `just`
* update README
* gh actions: lint, format, tests. build
2024-11-29 15:49:55 +01:00
Jens K.
a9e573122d
footer ( #3 )
2024-11-28 21:57:01 +01:00
Jens K.
b1e9b027a2
standard layout ( #2 )
2024-11-28 16:02:01 +01:00