Commit Graph
306 Commits
Author SHA1 Message Date
sankalp 92c4f20d79 feat(modules/panel/components): add wmclass parameter to AboutApp creation
- New Feature: Added support for passing `wmclass` to `AboutApp`.
- Enhancements: Safely fetch `current_active_wm_class` using `getattr` with a default empty string.
- Bug Fixes: Prevent potential error when `current_active_wm_class` attribute is absent.
2026-04-09 18:34:00 +05:45
sankalp d47537e627 feat(modules/panel/components): addhot-reload support and config‑based visibility filtering to system tray
New Features
- Enable dynamic hiding of tray items using the `systray_ignore` configuration.

Enhancements
- Track tray item instances for hot‑reload and refresh visibility on config changes.
- Improve logging, tooltip handling, and icon lookup for better debugging.

Bug Fixes
- None
2026-04-09 18:29:01 +05:45
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 70ba69b116 enhancements(modules/controlcenter): Safely access device.connection and device.paired attributes using getattr with default False 2026-04-09 18:28:35 +05:45
sankalp c22ea5dfda refactor(modules): simplify SVG asset handling across modules
Enhancements:
- Add optimized night‑variant detection for weather icons using a predefined list
- Replace `Svg` usage with direct `svg_file` calls throughout the todo widget, removing redundant relative‑path logic
- Update dock and battery modules to load assets via direct paths, eliminating unnecessary `get_relative_path` calls- Introduce `WEATHER_CACHE_TIMEOUT` constant and tidy up unused imports (`WEATHER_EMOJI_MAP` removed)
- Minor formatting and structural clean‑ups that improve code readability

Bug Fixes:
- Remove dead import of `WEATHER_EMOJI_MAP` and unused constant `WEATHER_EMOJI_MAP`
- Correct syntax of `condition_em` initialization to avoid potential rendering issues

New Features:
- None.
2026-04-02 23:13:47 +05:45
sankalp 5656609348 feat(modules/desktop): addweather SVG icon mapping and improve condition label handling
Why: replaced emoji-based weather icons with a dynamic SVG mapping, introduced WEATHER_ICON_MAP, updated format_weather_data and Weather class to use icon names and svg_file, removed unused constants and clarified day/night variant handling.

- New Features
  - Added WEATHER_ICON_MAP linking weather codes to SVG identifiers and supporting night variants.
  - Updated format_weather_data to return icon_name and use svg_file for dynamic icon resolution.
  - Modified Weather widget to set condition label via dynamic SVG files instead of emoji.

- Enhancements
  - Implemented day/night icon variant logic using optimistic naming based on known variants.
  - Removed unused constant imports and simplified label update logic.
  - Improved error handling with explicit fallbacks for missing weather fields.

- Bug Fixes
  - Fixed potential missing icon fallback by using .get with default values.
  - Corrected label assignment order to match new data structure.
2026-03-23 23:40:31 +05:45
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 129906cb9c feat(root): add application switcher 2026-02-28 19:45:43 +05:45
sankalp 67d37bc9f5 update 2026-02-28 19:40:01 +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 deb9b1082f feat(modules/desktop): Add weather gradient/emoji mappings and system monitoring widgets
New Features
- Introduce WEATHER_GRADIENT_MAP and WEATHER_EMOJI_MAP for condition‑to‑emoji mapping.
- Add SYSTEM_UPDATE_INTERVAL, WEATHER_UPDATE_INTERVAL, CALENDAR_UPDATE_INTERVAL constants and extend cache timeouts.
- Implement CpuInfo and RamInfo widgets with real‑time CPU percentage, temperature, and RAM usage display.

Enhancements
- Extend LOCATION_CACHE_TIMEOUT to 7 days.
- Integrate progress bar updates for CPU and memory usage.
- Organize desktop widget manager with separate top‑left and bottom‑right windows.

Bug Fixes
- None
2026-02-26 06:41:58 +05:45
sankalp 55f36c59ca refactor(modules): remove unused about module
The about.py module was deprecated and replaced by newer implementations; its removal cleans up dead code.

New Features
- No new feature introduced

Enhancements
- No functional enhancements

Bug Fixes
- No bug fixes
2026-02-26 06:34:58 +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 ffa9188cd1 refactor(modules/notification): streamline imports and simplify cache utilities
- Enhancements: Refactored import section to remove unused modules, added explicit parentheses in hash generation for clarity, and updated debug logging messages for cache cleanup.
- Bug Fixes: Ensured consistent encoding of hash inputs and improved error handling in image dimension hashing.
- Style: Applied consistent formatting and spacing throughout the notification module.
2026-02-26 05:54:51 +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
sankalp 2801412746 🐛 fix(bluetooth): handle bluetooth enable/disable failures with subprocess 2025-08-17 18:44:57 +05:45
tr1x_em fc82bffed7 Dock Tweaks 2025-08-16 16:37:10 +05:30
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 1e8c426c99 ♻️ refactor(launcher): remove power management commands from bash scripts plugin 2025-08-16 11:59:41 +05:45
sankalp 0f33293f5e ♻️ refactor(ui): replace SmartScrolledBox with ScrolledWindow for better control 2025-08-15 13:42:04 +05:45
tr1x_em d53341a0c0 Add escape_markup_text() utility function to safely escape special characters 2025-08-14 22:28:34 +05:30
tr1x_em 59fbca04aa Fix Smth 2025-08-14 16:05:29 +05:30
tr1x_em 7f2da4de90 Store 1 Size of appicon to reduce caching 2025-08-14 16:05:29 +05:30
tr1x_em ac484bc682 Fix notification for same attibutes 2025-08-14 16:05:29 +05:30
tr1x_em 1fbbe74520 Show Latest notif on top 2025-08-14 16:05:29 +05:30
tr1x_em 31efb0e03f Style Single Notification As Normal One 2025-08-14 16:05:29 +05:30
tr1x_em d1c0a2d537 New Caching system 2025-08-14 16:05:29 +05:30
tr1x_em 3af502daa8 Caching Fixed 2025-08-14 16:05:29 +05:30
sankalp d0444752e1 ♻️ refactor(dock,workspace,switcher): centralize special workspace detection logic 2025-08-14 14:57:19 +05:45
tr1x_em feec2917f6 Added Todo 2025-08-14 13:26:24 +05:30
tr1x_em c4fb21b284 Initial Hyprconf 2025-08-14 10:15:41 +05:30
sankalp fd71901820 ✨ feat(dock): add trash icon to app bar to open trash in file manager 2025-08-13 17:55:34 +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
sankalp 4580e57f3c ✨ feat(dock): implement hover effects and visual feedback for dock items 2025-08-13 16:45:17 +05:45
tr1x_em 3fac357112 Added Night light support with respective icons 2025-08-13 16:18:25 +05:30
sankalp 35c4f9c7ff ✨ feat(ui): display active window title in menu bar and set default app name to Finder 2025-08-13 00:40:13 +05:45
sankalp 88ce59eec7 ♻️ refactor(menubar): Move app name resolution logic to utils for reusability 2025-08-13 00:16:54 +05:45
sankalp 6f6dd46df0 ✨ feat(dock): add option to hide apps from special workspaces 2025-08-13 00:12:13 +05:45
tr1x_em 9ab438f666 Fix 2025-08-12 19:58:00 +05:30
tr1x_em 4fbf2603e9 Player Small Styling 2025-08-12 18:34:45 +05:30
tr1x_em 010c7089c3 Fix All padding and volume centre with the helps of super crazy eyes
havers
2025-08-12 17:49:30 +05:30
tr1x_em c1bbbb9483 controlcenter revamp 2025-08-12 14:28:35 +05:30
tr1x_em c59e911018 Fixe Styling of cc 2025-08-12 14:17:42 +05:30
tr1x_em 4e4b3d60b1 Fix Calander 2025-08-12 09:16:19 +05:30
sankalp ad6eded2cb ♻️ refactor(notification): improve notification caching and history management 2025-08-11 22:14:02 +05:45
tr1x_em f5d3172cef Remove opening of notification centre from date 2025-08-11 19:25:42 +05:30