Commit Graph
80 Commits
Author SHA1 Message Date
sankalp 822a0eadcc feat(src/window/panel): connect fullscreen state change handler
Add handler for fullscreen changes to automatically toggle panel visibility, improving user experience.
2026-07-08 13:22:09 +05:45
sankalp d1e1e68da5 refactor: remove unused UI components and add quit functionality 2026-07-08 13:02:22 +05:45
sankalp 5b8d6a62aa refactor! : drop subprocess usage and centralize brightness service initialization 2026-07-08 12:25:02 +05:45
sankalp f7662f7f5b feat(src/window/screencapture): implement screen capture window with toolbar, tools, and options menu
Added a new window class that integrates with the capture service, provides a toolbar of tool buttons for region, screen, window, and recording modes, includes an options button to toggle settings, and implements save directory selection, delay, cursor, thumbnail, and microphone controls. The implementation follows the existing widget architecture and updates related modules to expose the new functionality.
2026-07-07 14:02:24 +05:45
sankalp a4b38e3b14 fix(src/window/panel/notch): cancel transient indicator so scroll can navigate 2026-07-06 20:52:34 +05:45
sankalp eaaf9645a2 feat(src/window/panel/notch/indicators): add MicrophoneIndicator class and integrate into Notch
Add MicrophoneIndicator to monitor microphone presence and mute state, updating UI via show/hide callbacks.
2026-07-06 20:35:21 +05:45
sankalp 59a80e47ea refactor(src/window/osd/components): remove MicrophoneOSDContainer implementation 2026-07-06 20:35:01 +05:45
sankalp 9c19b7446a refactor: remove microphone osd container 2026-07-06 20:34:44 +05:45
sankalp a30ddc3fb6 refactor(src/window/osd/components): remove deprecated OSD capslock and keyboard layout components 2026-07-06 20:22:51 +05:45
sankalp a74be0ceb2 chore(src/window/launcher/plugins): remove built-in plugins 2026-07-06 19:50:06 +05:45
sankalp 9c74b0f606 refactor(launcher): remove launcher module files 2026-07-06 19:49:49 +05:45
sankalp fced1a0723 feat(src/window/panel): replace hardcoded config path with dynamic toml_file lookup 2026-07-06 17:39:23 +05:45
sankalp 43197521a8 refactor(src/window): replace get_relative_path with toml_file for config path resolution
The imports now use toml_file to load dock.toml and launcher.toml directly, removing the get_relative_path utility and simplifying path handling. This reduces indirect dependencies and clarifies configuration loading.
2026-07-06 17:39:06 +05:45
sankalp 6b7348ea20 refactor(src/window/notification): adjust notification markup handling and UI width constraints
- Escape markup text for summary and body to prevent injection
- Simplify Label creation for body with conditional null check
- Increase max_chars_width for summary and body lines
- Remove wrap and wrap_mode settings
2026-07-06 17:34:30 +05:45
sankalp c2f9ab4070 feat(src/window): add animation constants, layout tweaks and DockItem dataclass; refactor hover and occlusion handling
- introduced LERP_FACTOR, IDLE_THRESHOLD, ANIM_FPS and related layout constants
- added DockItem dataclass with render geometry and scale state
- refactored on_hover_enter/leave to schedule delayed hide with ticket comparison
- updated setup_occlusion_monitoring with typed check_dock_occlusion returning bool
- cleaned up destroy to remove canvas and timer IDs
2026-07-06 17:34:12 +05:45
sankalp 967503d0b7 fix(src/window/panel/notch): fix typo in charging.svg filename 2026-07-06 00:34:26 +05:45
sankalp 56f1a338b7 refactor(src/window/panel/notch): move icons to notch/ path and adjust sizes
Update icon paths to use notch/ prefix and increase size of charging indicator to 24px.
2026-07-05 23:11:38 +05:45
sankalp ec65d8ead4 feat(src/window/panel/panel): add NumLockIndicator and ChargingIndicator, improve battery service initialization 2026-07-05 23:05:49 +05:45
sankalp f0c67c0483 fix(src/window/panel/notch): ensure monitoring started on indicator access 2026-07-05 22:27:20 +05:45
sankalp 43d8306454 feat(src/window/panel/notch): add CapsLockIndicator and KeyboardLayoutIndicator
Add transient indicator pages for caps lock and keyboard layout, update stack children and handling to show/hide after timeout.
2026-07-05 22:25:32 +05:45
sankalp 0618437c3f refactor(src/window/osd/components): drop unused CapsLock and KeyboardLayout imports 2026-07-05 22:25:15 +05:45
sankalp c19b993b2a refactor: remove CapsLockOSDContainer and KeyboardLayoutOSDContainer, and related show methods 2026-07-05 22:24:58 +05:45
sankalp 99654a7c07 refactor(indicators): switch Bluetooth import to services.bluetooth 2026-07-05 22:07:57 +05:45
sankalp 2d0cc2d270 feat(src/window/controlcenter): add right‑click context menu for Bluetooth device slot with pair/trust/remove actions
- Implement _on_button_press to show Gtk.Menu on right‑click.
- Provide Pair, Trust/Untrust, and Remove commands.
- Connect notify::connected-devices signal to refresh device list.
- Ensure graceful cleanup when device is removed.
2026-07-05 22:07:40 +05:45
sankalp 4dd9361be8 refactor(src/window/notification/notification_center): scale notification icons to 35x35 for consistency and adjust widget sizing 2026-07-05 21:56:39 +05:45
sankalp 59376608dd feat(src/window/panel/notch): reduce visualizer bar count and integrate artwork image
Reduce bar count from 10 to 8 and adjust height limits, add CustomImage widget for artwork, update visibility handling to show/hide fallback and artwork
2026-07-05 21:14:56 +05:45
sankalp 86b02989e4 refactor(src/window/panel/notch): improve visualizer implementation and add static tunables
Replace random-based bar generation with deterministic sine animation, rename internal state and constants, split visualizer logic into explicit methods, update drawing to use style colors, consolidate signal and timer handling, and streamline idle/reset behavior.
2026-07-05 20:56:52 +05:45
sankalp 829693af00 refactor(src/window/panel/notch): simplify recording logic and add idle widget handling 2026-07-05 00:06:07 +05:45
sankalp d8b9903b45 feat: add notch panel implementation 2026-07-04 22:27:52 +05:45
sankalp 1dc4a286c4 refactor: replace RecordingIndicator with Notch in panel UI 2026-07-04 22:27:35 +05:45
sankalp 5ba8f0e4d5 refactor(src/window/panel/components): remove recording_indicator module 2026-07-04 22:27:18 +05:45
sankalp f55db03235 refactor(panel): remove redundant hide_dropdowns and changed_dropdown implementations
These methods were relocated to central handling via _get_all_buttons and manage_button_style_classes, simplifying the class.
2026-07-04 21:23:06 +05:45
sankalp bff5cf7962 style(src/window/todo): adjust comment to reflect widget package
JIRA-1337
2026-07-04 07:27:44 +05:45
sankalp 107efd595c refactor(src/window/controlcenter): remove battery monitoring module 2026-07-04 07:27:20 +05:45
sankalp 2cf846d022 refactor(src/window/launcher/plugins/wallpaper.py): remove unused hex color imports and helper functions 2026-07-04 06:48:40 +05:45
sankalp 76f4650409 refactor(src/window/panel/components): drop google_lens_indicator and simplify command handling
Refactor ModPopup to use shell -c for commands, adjust icon size default, and improve button click handling. Remove unused GoogleLensIndicator component and related import/usage.
2026-07-04 06:47:59 +05:45
sankalp 0d11b68add feat(src/window): switch configuration from JSON to TOML and refactor pinned apps handling 2026-07-04 06:29:01 +05:45
sankalp 09a01a7f41 fix(src/window/panel): handle missing label gracefully when updating dropdown 2026-07-04 05:00:54 +05:45
sankalp 901731711f refactor(src/window/controlcenter): refactor UI layout and battery icon handling in BluetoothDeviceSlot 2026-07-04 05:00:36 +05:45
sankalp 6c8eca2afe fix(src/window/settings): use set_title() instead of assigning to .title attribute
The title attribute assignment does not affect the window title; using set_title ensures the title is displayed correctly.
2026-07-04 01:30:09 +05:45
sankalp 21f21c6d83 refactor(src/window/settings): reorder imports and set window title 2026-07-04 01:25:04 +05:45
sankalp 6d5d8cce88 feat(src/window/panel): rename panel title and update imports
Change title of create_control_window to "modus-controlcenter" and adjust Panel title to "mdous-bar". Update import ordering and remove redundant imports for clarity.
2026-07-04 01:24:41 +05:45
sankalp 15bf16d9d8 refactor(window): rename titles to prefixed modus- names 2026-07-04 01:24:23 +05:45
sankalp ae17c172ce refactor(window/controlcenter): replace icon labels with Overlay widgets and reorganize imports 2026-07-04 00:34:07 +05:45
sankalp 4cdb048a6c refactor(src/window/settings): replace SettingsSwitch with SmoothSwitch and simplify toggle handling 2026-07-03 23:16:02 +05:45
sankalp f381766929 feat(src/window/controlcenter): improve playback state handling and UI for multiple players
Add _on_map handler and connect "map" signal to update playing state.
Refactor button handling to use change-value signal and dynamic child management.
Update playback status notification to avoid duplicates and use current_status variable.
2026-07-03 22:59:45 +05:45
sankalp 6171577ecc refactor(controlcenter): remove animation effects and adjust visibility logic 2026-07-03 20:53:18 +05:45
sankalp 374d49148d refactor(src/window): use hyprctl dispatch to focus windows
Improve resilience of window focus by delegating to hyprctl.
2026-06-25 13:26:07 +05:45
sankalp 2d6fd6c84b refactor(controlcenter): simplify refresh handling and add cancellation hooks
The changes replace timeout‑based refreshes with animation‑aware callbacks, improving responsiveness and preventing stale pending operations.
2026-06-24 12:53:30 +05:45
sankalp bc07920f1a refactor(src/window/panel/components): adjust top-level menu filtering to respect visibility
Ensure only visible top-level items are considered
Prevent hidden items from appearing in the menu hierarchy
2026-06-23 14:29:06 +05:45