22 Commits

Author SHA1 Message Date
486db525e0 Adjust window-name width
- Shorter, cleaner look
2025-11-25 00:15:51 +05:30
8992d14a7b Adjust icon sizes
- Temp icons and font sizes until dedicated icons
2025-11-24 22:32:28 +05:30
6bfe4d0e69 Minor fixes
- Remove placeholder bg colors
- Remove commented out code
2025-11-24 19:14:38 +05:30
b679952b88 Add: LeftWM workspace widget
- Show tags in workspace "0"
- Callback to switch tag on click
2025-11-24 19:08:44 +05:30
c284df88a1 Add widget: LeftWM Window Title
- Display the title of the current window
- Only for LeftWM
- Use `leftwm-state -q`
2025-11-23 22:57:35 +05:30
6ac513f301 Basic color styles
- Remove placeholder colors from right-side widgets
- Set actual colors to give a glassy look
2025-11-23 22:01:25 +05:30
c73a4b575e Add: Power button widget
- Just another square button
- Constant icon
2025-11-23 19:36:45 +05:30
68037d7f24 Icon badge and Notification widget
- Add badge feature to `SquareIconWidget`
- Badges for notifications, weather alerts, etc.
2025-11-23 19:12:05 +05:30
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
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
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
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
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
d587a9866b Minimal bar
- Is not of the type "dock" yet
2025-11-18 12:16:18 +05:30