Commit Graph
100 Commits
Author SHA1 Message Date
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 86e24de864 style(src/styles/window/dock.css): simplify and modernize dock window styling 2026-07-06 17:33:50 +05:45
sankalp 1ed6db4ae2 feat(src/assets/icons/notch): redesign charging.svg for dark theme compatibility
Update SVG to use ColorScheme-Text style and include version attribute for better theming support
2026-07-06 17:33:33 +05:45
sankalp d087c47aea feat(src/assets/icons/misc): add trash-empty.svg icon 2026-07-06 17:33:09 +05:45
sankalp 967503d0b7 fix(src/window/panel/notch): fix typo in charging.svg filename 2026-07-06 00:34:26 +05:45
sankalp 56ecc64531 style(src/styles/controlpanel): adjust background-color to @bg-a50 2026-07-06 00:34:09 +05:45
sankalp f1988e2d4f refactor(notch): rename charging.svg to charing.svg and update fill colors in SVG icons 2026-07-06 00:33:51 +05:45
sankalp 132622ac60 refactor(src/assets/icons/mic): simplify microphone SVG implementation
The SVG was streamlined by removing redundant CSS styles and simplifying path data, reducing file size and improving maintainability.
2026-07-06 00:33:33 +05:45
sankalp 2c645080ec style(src/styles/window): remove background property from battery widget 2026-07-05 23:20:58 +05:45
sankalp 2bb478425f chore(src/styles/controlpanel): bump version and update dependencies 2026-07-05 23:20:40 +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 d27d1fcaaa feat(src/assets/icons/notch): add new icons for caps-lock, keyboard-layout, media-record, num-lock 2026-07-05 23:11:18 +05:45
sankalp 9edc524e3d chore: remove unused icon assets 2026-07-05 23:11:01 +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 c64d41b3e1 feat(src/assets/icons): add new notification icons and remove unused caps-lock-off.svg 2026-07-05 23:05:30 +05:45
sankalp a902f3d12a style(src/styles/window): update notch transient indicator comment and add numlock/charging selectors 2026-07-05 23:05:10 +05:45
sankalp 8bf198f745 feat(battery): replace Battery() with Battery.get_initial() for proper initialization 2026-07-05 23:04:52 +05:45
sankalp 754cde0278 feat(src/services): add NumLock service and refactor Battery documentation
Add new NumLock service to monitor NumLock LED state changes.
Refactor Battery service documentation and property cache handling.
Update imports to include NumLock.
2026-07-05 23:04:34 +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 9fc6f95157 style(src/styles/window): add notch transient indicators CSS 2026-07-05 22:24:40 +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 7057c750fb feat(src/services): add trust management for Bluetooth devices 2026-07-05 22:07:19 +05:45
sankalp 0ab1b97e90 feat(src/assets/icons/misc): add bluetooth-paired.svg icon 2026-07-05 22:07:00 +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 3713d314aa style(src/styles/window): adjust margin-left from 8px to 6px 2026-07-05 21:14:38 +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 5240abd23d refactor(src/shared/widgets): replace @cache with @lru_cache(maxsize=512) for progress-related functions 2026-07-05 20:56:31 +05:45
sankalp a402cf436b refactor(src/services): centralize position polling guard methods
Add guard flag `_pos_polling` and wrapper methods `_start_pos_fabricator` and `_stop_pos_fabricator` to prevent multiple fabricator starts.
Update all calls to use the new wrappers for consistent lifecycle management.
2026-07-05 20:56:13 +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 4d1f2ce7d1 feat(icons): reduce color-picker icon size to 24x24 and simplify SVG
Reduced dimensions from 32x32 to 24x24 and updated path to streamline rendering.
2026-07-05 00:05:49 +05:45
sankalp 1016b66e93 style(src/styles): add lockscreen and panel notch CSS 2026-07-05 00:05:29 +05:45
sankalp 089cc2c6cd feat: increase polling intervals for MPRIS status and position fabricators
- Change status fabricator interval from 250ms to 5000ms
- Change position fabricator interval from 1000ms to 2000ms
- Update poll_from and on_changed callbacks to match the new intervals
2026-07-05 00:05:09 +05:45
sankalp 36c691ff3f feat(src): implement lock notch UI with SVG corners 2026-07-05 00:04:51 +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 1c28f15f97 style(src/styles/window): add panel notch CSS for notch UI elements 2026-07-04 22:27:00 +05:45
sankalp 83716af207 feat(src/assets/icons/notch): add notch icons 2026-07-04 22:26:42 +05:45
sankalp 8d6e117136 build: add tomlkit dependency to requirements.txt 2026-07-04 21:25:13 +05:45
sankalp 8cb2d08175 feat(src/assets/icons/misc): replace imac.svg with updated gradient definitions
Update project version to 1.0.0 and refresh dependency list.
2026-07-04 21:23:54 +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 ea815e33ca style(src/styles): add background-color and border to #outer-no-player-box-c
Add semi-transparent background and outline styling to the outer player box
2026-07-04 21:22:47 +05:45
sankalp 3e8dde6f35 refactor: adjust layer and event handling in dismissal UI 2026-07-04 21:22:28 +05:45
sankalp 572cd0c089 feat(icons): update SVG icons and bump version to 0.2.0 2026-07-04 21:22:10 +05:45
sankalp 3de654218c feat(config): add terminal options and update dependencies
Add Mods.terminal configuration for terminal icons and actions, bump version in pyproject.toml, and update dependencies including fabric from a specific commit.
2026-07-04 21:21:50 +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 a2cda4c3e6 chore(src/utils): drop unused dbus_helper and monitors modules and cleanup utils code 2026-07-04 07:27:02 +05:45
sankalp 01c193bd8e refactor(src/services): simplify TodoService and remove unused ConfigService stop function
Remove redundant import duplication, replace uuid with os.urandom, rename completion_rate to active, update property decorator, and clean up callback handling. Also removed unused stop_config_service function.
2026-07-04 07:26:44 +05:45
sankalp 274ffbfaed refactor(src/styles/window): remove unused CSS rules 2026-07-04 07:07:55 +05:45
sankalp bcb63eafe0 style(src/styles/widgets): remove unused CSS rules 2026-07-04 07:07:37 +05:45
sankalp c63f19a5d2 refactor(src/styles/notification): remove unused notification CSS 2026-07-04 07:06:48 +05:45
sankalp d46e4ca32b style(src/styles/launcher): remove unused launcher search and network password entry CSS 2026-07-04 07:06:30 +05:45
sankalp 14205de816 refactor(src/styles/controlpanel): streamline UI styles for compact macOS layout and remove legacy Apple seek bar 2026-07-04 07:06:13 +05:45
sankalp 4357339559 feat: add configuration documentation and update TODO checklist
Add detailed configuration documentation in README, describing TOML files, their purpose, and usage. Update the TODO checklist to reflect completed items and remove outdated entries.
2026-07-04 06:55:17 +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 21969c6c05 feat(src/assets/icons): simplify color-picker.svg implementation 2026-07-04 06:48:23 +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 23bbabf21d feat(src/utils): introduce GoogleLens CLI tool and update constants accordingly 2026-07-04 06:47:39 +05:45
sankalp ac061940bc feat(config): add Mods.color-picker and Mods.google-lens configurations 2026-07-04 06:47:19 +05:45
sankalp 89eb8db97b feat(config): switch configuration parsing to TOML and add google_lens support 2026-07-04 06:29:38 +05:45
sankalp bca67e255d feat(src/assets): add new SVG icons for Google Lens, Color Picker, and Terminal
Add SVG assets for Google Lens, Color Picker, and Terminal icons to enhance UI.
2026-07-04 06:29:20 +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 e5a02015b3 build: add tomlkit to dependencies 2026-07-04 06:28:44 +05:45
sankalp 35dcbe4a82 feat(config): migrate launcher configuration to TOML
Migrate launcher configuration from JSON to TOML format, add new `launcher.toml` and `mods.toml` files, remove `launcher.json`, and update project metadata in `pyproject.toml` to version 0.2.0.
2026-07-04 06:28:27 +05:45
sankalp 66fa02d2da feat(gitignore): update gitignore 2026-07-04 06:21:02 +05:45
sankalp 532f01295d refactor(src/styles): remove colors.css 2026-07-04 05:30:41 +05:45
sankalp 895b44f3d5 refactor(src): relocate colors.css to src/styles
Moved stylesheet from src/shared/styles/colors.css to src/styles/colors.css
to simplify path and improve organization.
2026-07-04 05:30:23 +05:45
sankalp 69d54cbb62 refactor(src/utils): restructure import handling for AppName 2026-07-04 05:30:03 +05:45
sankalp 9b9528d84e refactor(src/styles/window): adjust CSS variable usage and improve window styling 2026-07-04 05:29:46 +05:45
sankalp 64368e1216 style(src/styles/widgets): adjust color variables and simplify widget styling 2026-07-04 05:29:28 +05:45
sankalp 789eb62e33 fix: remove redundant 'shared/' prefix from stylesheet path 2026-07-04 05:29:10 +05:45
sankalp 83e49096d0 chore(config/matugen): rename macos.css to modus.css 2026-07-04 05:01:12 +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 c1e24f7cb4 refactor(styles): simplify color variables and update CSS constants
Add new color palette file and refactor constant definitions to use variable tokens.
2026-07-04 05:00:18 +05:45
sankalp 9c90de0dc8 feat(src): add recursive CSS file monitoring and streamline stylesheet setting
Monitor CSS files and their subdirectories for changes by walking the styles directory and connecting change events to each monitor. Simplify the `set_css` function by removing the unnecessary empty line and directly passing the path to `set_stylesheet_from_file`. This enhances file change detection and reduces redundant code.
2026-07-04 04:59:59 +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 c796dc7bc5 refactor(config/hypr): streamline layer rules for blurs and animations 2026-07-04 01:28:08 +05:45
sankalp f68c076d98 chore(src/shared): update dialog titles and import ordering 2026-07-04 01:25:24 +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 f8ef5c8da4 style: clean up stray comment markers in dock.css 2026-07-04 01:24:05 +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 d1ca18da70 style(src/styles): adjust CSS for control center and widget icons 2026-07-04 00:33:50 +05:45
sankalp ae29326401 refactor(src/shared/widgets/flat_scale): simplify flat_scale drawing and add draw_value flag 2026-07-04 00:33:31 +05:45
sankalp 1594f9ff57 style(src/assets/icons/volume): switch color definitions to currentColor for theme compatibility 2026-07-04 00:33:14 +05:45
sankalp a89b142493 style(icons/brightness): replace hard‑coded fill with currentColor 2026-07-04 00:32:56 +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 ce0746eeb2 refactor: simplify DBus menu service discovery and introspection handling 2026-07-03 22:59:26 +05:45
sankalp 8d40ac1a7f refactor(src/services): simplify menu cache implementation and remove unused imports
- Remove time import and unused typing items
- Streamline cache eviction and hit logic
- Replace sentinel handling with simpler checks
- Fix activation environment command arguments
- Improve logging messages and cache hit reporting
2026-07-03 21:31:41 +05:45
sankalp 6171577ecc refactor(controlcenter): remove animation effects and adjust visibility logic 2026-07-03 20:53:18 +05:45