Commit Graph
35 Commits
Author SHA1 Message Date
sankalp 63862a08da feat(modules/panel): hide tray items when empty and sync visibility on config changes
This update ensures the panel's tray is hidden when there are no visible items and updatesits visibility automatically when the configuration changes or when notifications are added
or removed.

New Features:
- Add `_update_tray_visibility` method that hides the tray when empty and updates UI
  accordingly.
- Connect `tray` "add" and "remove" signals to trigger visibility updates.
- Adjust chevron button visibility, icon, and left margin based on tray state.

Enhancements:
- Invoke visibility update on panel initialization, DND changes, and configuration changes.
- Reset visual elements (chevron icon, margin) when the tray becomes hidden.
- Preserve layout spacing improvements when tray is hidden.

Bug Fixes:
- Prevent stale tray visibility state after configuration updates.
2026-04-09 18:28:43 +05:45
sankalp cf7666a8a5 refactor(modules): clean up dock update logic and fix TOTP action closure
- Refactor dock update loop to use explicit parentheses and improve readability
- Fix closure capture in OTP plugin action to correctly pass current code
- Remove redundant lambda wrapper in player label binding
- Update logger messages with full exception context
- Adjust imports and naming for consistency across modules
- Minor code style updates and whitespace cleanup
2026-02-26 06:54:29 +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 02c32a331a feat(panel): add Hyprland workspaces indicator with workspace filtering 2025-09-08 07:59:23 +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 feec2917f6 Added Todo 2025-08-14 13:26:24 +05:30
tr1x_em f5d3172cef Remove opening of notification centre from date 2025-08-11 19:25:42 +05:30
tr1x_em 67bc5b8251 removed dnd indicator 2025-08-11 16:03:19 +05:30
tr1x_em d8735cc64e Added notifiaction icon 2025-08-11 15:57:21 +05:30
tr1x_em 52fb865b6f Fix Apple logo and size 2025-08-11 08:38:05 +05:30
sankalp ef50ab5f69 Reapply "New icons"
This reverts commit b0665d1f4c.
2025-08-10 22:50:35 +05:45
sankalp b0665d1f4c Revert "New icons"
This reverts commit dca44f9f69.
2025-08-10 22:32:12 +05:45
tr1x_em dca44f9f69 New icons 2025-08-10 17:22:21 +05:30
tr1x_em d13993d886 Battery Windows Formatted to match control centre 2025-08-10 12:10:32 +05:30
sankalp 610865ef2d ✨ feat(panel): add workspace indicator to panel 2025-08-08 21:41:46 +05:45
tr1x_em 47c192444a Added Correct Sized Icon 2025-08-03 15:56:19 +05:30
tr1x_em 86fcbd35b1 Added New ICON for bluetooth paired 2025-08-03 15:49:15 +05:30
tr1x_em 7598a3eadb Misc Fixes and CSS 2025-08-03 13:14:41 +05:30
tr1x_em cc5680e1ff Added New SVG and Made Title name bold 2025-08-02 20:37:48 +05:30
tr1x_em f64d47c85e Add AM/PM 2025-08-02 20:08:22 +05:30
sankalp cecae22ad9 ✨ feat(notification): implement notification center with persistent storage and DND support 2025-08-02 19:25:33 +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 8c9b9fc5b5 ✨ feat(ui): add new applet icons for better visual representation 2025-08-01 01:02:07 +05:45
tr1x_em 9a2a434eab Better Size 2025-07-31 21:29:33 +05:30
tr1x_em d1ce3ff003 Merge branch 'macos' of https://github.com/tr1xem/Modus into macos 2025-07-31 21:27:21 +05:30
sankalp 455604de0d Merge branch 'macos' into macos 2025-07-31 21:35:44 +05:45
tr1x_em 4710b53354 Merge https://github.com/S4NKALP/Modus into macos 2025-07-31 21:16:29 +05:30
sankalp 9540d2913a Huge updates: ControlCenter, DropDown Menu 2025-07-31 20:46:02 +05:45
tr1x_em c4e677fc87 Fix 2025-07-30 22:59:14 +05:30
tr1x_em bececc35da Initial notification 2025-07-30 22:13:14 +05:30
sankalp 67dab9cfb9 ♻️ refactor(ui): improve panel and launcher functionality and appearance 2025-07-30 14:54:53 +05:45
sankalp 5495233667 ♻️ refactor(launcher): improve code structure and plugin functionality 2025-07-30 13:04:22 +05:45
sankalp 4822693298 ✨ feat: add on-screen display for volume and brightness 2025-07-30 10:02:11 +05:45
sankalp acec6bdda7 ✨ feat: implement core functionality and UI for Modus shell 2025-07-30 09:28:32 +05:45