Commit Graph
21 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
sankalp 2801412746 🐛 fix(bluetooth): handle bluetooth enable/disable failures with subprocess 2025-08-17 18:44:57 +05:45
sankalp 75a87f9134 🐛 fix(bluetooth): use rfkill as fallback to enable/disable bluetooth 2025-08-16 13:38:47 +05:45
sankalp 73f3839d85 ✨ feat(bluetooth): control scanning based on other devices section visibility 2025-08-16 13:20:40 +05:45
sankalp 2eba79b98e 🐛 fix(bluetooth): add fallback to bluetoothctl for enabling/disabling bluetooth 2025-08-16 13:15:21 +05:45
sankalp 07d0705fd4 ✨ feat(ui): add pomodoro timer and todo list to readme and refine network indicator margin 2025-08-13 16:57:59 +05:45
tr1x_em dd05ef786c Buton Hover in Bluetooth 2025-08-11 10:11:15 +05:30
tr1x_em 6e6f864382 Initial New Windows 2025-08-11 10:03:38 +05:30
sankalp faed1b9111 ✨ feat(bluetooth): improve device handling and monitoring for real-time updates 2025-08-11 01:53:58 +05:45
sankalp 122254c394 ✨ feat(bluetooth): implement pull-to-refresh for device scanning 2025-08-11 01:03:19 +05:45
sankalp 9a20337ced ✨ feat(controlcenter): redesign Wi-Fi and Bluetooth panels with macOS-style UI 2025-08-11 00:44:34 +05:45
tr1x_em 42f9f66146 Added bluetooth battery indicator 2025-08-10 09:38:28 +05:30
tr1x_em 84af1ab3bc Fix Memory Leak(maybe??) 2025-08-07 11:21:36 +05:30
tr1x_em 26587a4717 fix: restore working Bluetooth functionality in control center by reverting to direct initialization
Bluetooth in control center was failing with AttributeError: 'Device' object has no attribute 'get_paired'.
Restored the working initialization pattern from 20 commits back where BluetoothClient is created directly
during control center initialization rather than lazy loading, which avoids the device enumeration error.

🤖 Generated with [opencode](https://opencode.ai)
2025-08-06 16:28:31 +05:30
sankalp babdf40262 ♻️ refactor(bluetooth): remove bounce animation code to simplify refresh logic 2025-08-05 09:08:26 +05:45
sankalp 25d12a838b ✨ feat(controlcenter): integrate network and bluetooth indicators with control center 2025-08-05 08:57:44 +05:45
sankalp c3d01b3185 Huge updates: ControlCenter: Wi-Fi, Bluetooth, Password Entry Dialog, Notification, CustomRevealer for notif 2025-08-01 07:54:43 +05:45
sankalp 9540d2913a Huge updates: ControlCenter, DropDown Menu 2025-07-31 20:46:02 +05:45