4 Commits

Author SHA1 Message Date
b0eaa42063 Add BatteryWidget
- Working battery icon
- Read from `sys` files
- Calculate values in Rust and pass it to Slint
2025-11-20 22:44:56 +05:30
48a116c547 Add DateWidget
- Working date widget
- Update at midnight or on date change
- `src/widgets/datewidget.rs` module
2025-11-20 19:41:19 +05:30
497288c585 Update timer
- Change time-updater from 1-minute timer to 1-second timer
- More accuracy
2025-11-20 19:00:25 +05:30
de1bd068d6 Modularize the widegets module
- Divide into sub-modules
- Seperate the logic of different widgets
- Better readability and maintainability
2025-11-20 18:56:09 +05:30