Commit Graph
13 Commits
Author SHA1 Message Date
sankalp ef4065bc1f refactor(modules): improve exception handling and simplify service usage
Enhancements
- Replace bare `except:` with `except Exception:` in multiple modules- Cast step calculation to `int` for consistent type
- Simplify `get_battery_icon_file` to return a string directly
- Use `get_todo_service()` instead of module-level `todo_service` throughout todo widget
- Remove unused `"zen": "zen-browser"` mapping entry

Bug Fixes
- Prevent bare exception swallowing by catching `Exception` explicitly
- Ensure proper cleanup of timer IDs and other resources
- Delete unused modules/osdd components

New Features
- None
2026-03-23 23:34:03 +05:45
sankalp e97311e2b0 feat(modules): restructure battery UI and add dynamic layout rebuilding
New Features
- Introduce `get_battery_icon_file` to generate battery icons based on percentage and charging state.
- Add fallback Bluetooth control using `rfkill` when Fabric Bluetooth fails.

Enhancements
- Refactor layout management with `_rebuild_layout_from_config` and dynamic indicator instantiation.
- Replace large `EnergyModeButton` class with lightweight utility functions.
- Simplify notification icon updates using `dynamic_file`.

Bug Fixes
- No explicit bug fixes; changes focus on feature additions and refactoring.
2026-02-26 06:24:44 +05:45
sankalp 158ce6590c Revert "ready for ignis"
This reverts commit 9d404b100f.
2025-09-01 12:39:28 +05:45
sankalp 9d404b100f ready for ignis 2025-09-01 12:36:58 +05:45
tr1x_em 44987758a8 Fixed Styling 2025-08-11 12:03:32 +05:30
tr1x_em 66464df825 Battery Window Enhanced 2025-08-11 11:28:23 +05:30
tr1x_em 6e6f864382 Initial New Windows 2025-08-11 10:03:38 +05:30
tr1x_em 819659c15d Battery Buttons with bg 2025-08-11 09:13:25 +05:30
tr1x_em 7001dd2797 Battery Mode Icons 2025-08-11 09:10:51 +05:30
sankalp d505b0fc26 ♻️ refactor(battery): rearrange imports and remove unused imports 2025-08-11 03:00:22 +05:45
sankalp a07b556438 ✨ feat(controlcenter): redesign battery widget with energy modes and game mode toggles 2025-08-11 02:59:55 +05:45
tr1x_em d13993d886 Battery Windows Formatted to match control centre 2025-08-10 12:10:32 +05:30
sankalp fb65e0b55d ✨ feat(controlcenter): implement battery control widget with power profiles and game mode 2025-08-07 11:25:42 +05:45