3 Commits

Author SHA1 Message Date
42ee42b904 Refactor BatteryWidget
- Update tooltip from the rust code instead of slint
2025-11-21 22:17:08 +05:30
962bed3dad Add reusable SquareIconWidget
- Avoid code duplication
- Base square icon button component with common appearance, properties, callbacks
- Refactor BatteryWidget to inherit SquareIconWidget
2025-11-21 19:47:25 +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