4f75b3164e
Comments
2025-11-20 13:07:51 +05:30
5b79941341
Minor refactoring
...
- Return `SharedString` from `format_time()`
- Avoid repetition
2025-11-20 12:45:38 +05:30
c878c7f678
Make the time widget work
...
- Show real time, not dummy text
- Update time every minute
- Use slint's Timer
2025-11-20 12:28:26 +05:30
95790db098
Add Config module
...
- Load config from .toml file
- Adjust code in slint and rust accordingly
2025-11-19 23:42:10 +05:30
1d222795a3
Refactor for simplicity & modularity
...
- Write `run_cmd()` to run commands
- Separate command execution from Slint callbacks
- Rename `TimeWidget`'s callback `open_program()` as `show_clock()`
2025-11-19 21:51:13 +05:30
34ccdb6ba0
Move callbacks to separate module
...
- Modularity
- Redability
- Separation of logic
2025-11-19 17:42:28 +05:30
47efaa2d08
Dummy widget: Time widget
...
- Time widget module
- Configure layout and callback
- Dummy: Not real time yet
2025-11-19 16:16:38 +05:30
798f9593b2
Refactor main window setup for clarity
...
- Extract WindowAttributes modification into a named closure
- Simplify and clean up winit/Slint imports
- Explanatory comments
- rustfmt and clippy cleanup
2025-11-18 23:21:18 +05:30
7b82e65493
Remove unwanted dependencies
...
- Remove `winit` from dependencies because it is already re-exported in `i-slint-backend-winit`
- Cargo fmt and clippy fixes
2025-11-18 22:04:21 +05:30
04f2050af0
Set window type to dock
...
- `_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK`
- This lets an X11 WM treat it as a panel/dock
2025-11-18 16:15:44 +05:30
d587a9866b
Minimal bar
...
- Is not of the type "dock" yet
2025-11-18 12:16:18 +05:30
d7504bce1d
Update README.md
2025-11-18 06:10:35 +00:00
84c29e57e6
Initial commit
2025-11-18 06:09:30 +00:00