10 Commits

Author SHA1 Message Date
2a1beab0e8 Add: Weather widget
- Use OWM daemon's cache file
- OWM icon codes
- Add dependency: serde_json
2025-11-23 12:48:43 +05:30
61f7020fd3 Add: Wifi widget
- Use `nmcli`
2025-11-23 12:14:40 +05:30
8851869f07 Add widget: Brightness
- Use `/sys/class/backlight/` values
2025-11-23 01:12:58 +05:30
fa206d7f42 Add: Volume widget
- Use `amixer` command
- Comment out bg color lines to use default vals
2025-11-23 00:45:00 +05:30
3dca171063 Refactor SquareIconWidget & remove redundant classes
- Eliminate `BatteryWidget`
- Pass all properties to reusable `SquareIconWidget`
- Eliminate need for duplication
2025-11-22 23:00:56 +05:30
42ee42b904 Refactor BatteryWidget
- Update tooltip from the rust code instead of slint
2025-11-21 22:17:08 +05:30
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