Commit Graph
1065 Commits
Author SHA1 Message Date
sankalp c445b2e2a4 ci: add CodeQL, pre-commit, and labeler workflows
- CodeQL: Python security analysis on push/PR + weekly schedule
- Pre-commit: ruff lint/format checks on push/PR
- Labeler: auto-label PRs based on changed files
2026-07-12 20:15:10 +05:45
sankalp d0e1f7090a chore(install): add --yes flag, use subshell, clean up git output
- Add -y/--yes flag to skip interactive prompts
- Replace cd/cd- with subshell in app-capture build
- Replace fragile grep -v pipe with stderr redirect for git output
- Total steps still matches progress calls
2026-07-12 19:28:55 +05:45
sankalp ae90b85f75 fix(install): hardcoded path, step count, launch flow
- Replace /home/sankalp/ with $INSTALL_DIR in MODUS_MODULE_LINE
- Fix TOTAL_STEPS 11→12 to match actual progress calls
- Move 'Launching Modus' to end (stop + start in one block)
- Remove orphaned 'Starting Modus' step from under Matugen
2026-07-12 19:26:29 +05:45
sankalp 3142d70279 refactor(dock): extract DockItem into items.py, remove TYPE_CHECKING
DockItem, DockModel, DockHitTest moved to items.py.
layout.py and animator.py now import directly — no circular deps.
2026-07-12 19:25:06 +05:45
sankalp 980734f465 fix(dock): quote TYPE_CHECKING annotations for runtime safety
DockItem and DockCanvas are only imported under TYPE_CHECKING.
String-annotate their usage so they aren't evaluated at runtime.
2026-07-12 19:21:58 +05:45
sankalp 07d35d8fdf fix(dock): restore TYPE_CHECKING guards to break circular imports
animator.py and layout.py both circular-import from canvas.py.
Restore the TYPE_CHECKING blocks and suppress TC004 globally.
2026-07-12 19:20:24 +05:45
sankalp f4281e6aca fix(install): compile global menu shim from src/globalmenu/ instead of non-existent native/ 2026-07-12 19:12:33 +05:45
sankalp 01aac24f7e refactor(bluetooth): resolve device icons from GTK icon theme
_check_icon_to_type now queries Gtk.IconTheme for the icon name
(with -symbolic suffix) before falling back to a hardcoded mapping.
_get_icon_for_device simplified since type property now returns
GTK icon names directly.
2026-07-12 19:07:41 +05:45
sankalp 15e64df428 refactor: consolidate debounce into utils/debounce.py
Move method-specific debounce from functions.py to debounce.py,
keeping both debounce (method) and sync_debounce (general) together.
2026-07-12 19:04:33 +05:45
sankalp 30c02f207d chore: remove unused conversion.py (CurrencyCache, Units) 2026-07-12 19:02:07 +05:45
sankalp c5961c7832 chore: add project copyright header to LICENSE 2026-07-12 19:00:27 +05:45
sankalp c9f3f27e18 refactor: remove occlusion.py wrapper, import check_occlusion from services.modus directly 2026-07-12 18:59:18 +05:45
sankalp 7934267924 docs: link contribution guide in README 2026-07-12 18:40:03 +05:45
sankalp d0ca929b76 docs: add contribution guide 2026-07-12 18:39:52 +05:45
sankalp 096231bc44 style: enforce consistent codestyle via ruff config and auto-fixes
- Configure ruff: isort, pyupgrade, bugbear, flake8 rules
- Auto-fix import sorting, redundant parens, exception chaining
- Remove from __future__ import annotations (Python 3.13+)
- Convert debug print() to logger calls
- Fix typo applicaiton → application in icon_resolver
- Remove bare returns in animator setters
- Move TYPE_CHECKING imports to runtime where used at runtime
2026-07-12 18:38:13 +05:45
sankalp afd826d0c0 refactor(services): enhance TodoService with callbacks, UUID IDs, and UTF‑8 file handling 2026-07-12 09:33:41 +05:45
sankalp 51283125ef chore: add ALT+TAB keybinding
Change config/hypr/modus.lua to bind ALT+TAB to switcher.show_switcher() and remove the stale comment.
2026-07-12 09:33:25 +05:45
sankalp c0ac114610 feat(src/assets): add pomodoro sound assets
Add new alert and tick sounds for pomodoro timer, update project metadata in pyproject.toml and requirements.txt to include new dependencies.
2026-07-12 09:33:05 +05:45
sankalp 4637799e11 feat(src/window/pomodoro): implement Pomodoro timer widget and integrate it into the panel
Add Pomodoro component with UI controls and state management,
modify Panel to instantiate and cache Pomodoro and TodoList widgets,
hook datetime button to toggle Pomodoro and handle right‑click on todo list,
extend destroy logic to cleanly close Pomodoro and Todo instances.
2026-07-12 09:32:47 +05:45
sankalp b78710002a docs(readme): mark Pomodoro Timer Widget as completed 2026-07-12 09:32:26 +05:45
sankalp 8a4508159e feat(src/window): add lockscreen implementation 2026-07-12 05:27:32 +05:45
sankalp cec3ca56b0 refactor(src): remove lockscreen implementation
The lockscreen module in src/lock.py has been removed to clean up unused code and simplify the project structure. This change does not affect current functionality but prepares the codebase for future enhancements.
2026-07-12 05:27:15 +05:45
sankalp 0cd7a7c3f4 docs: add comprehensive documentation for installation, architecture, and styling 2026-07-12 05:26:57 +05:45
sankalp 11ad484fb6 feat(root): update lock dependency to window.lock and document README properly 2026-07-12 05:26:40 +05:45
sankalp 5af4a80d1d refactor: hide window instead of showing when recording starts 2026-07-12 05:02:26 +05:45
sankalp b3b684720a feat(readme,install): update documentation and add required build dependencies 2026-07-12 05:02:08 +05:45
sankalp e05aff39bf refactor: reformat environment variable assignment to use explicit multi‑line tuple syntax 2026-07-12 04:47:10 +05:45
sankalp 0ffd620533 feat(src/window/switcher): add live preview toggle and refactor capture loop with invoke_repeater 2026-07-12 04:46:51 +05:45
sankalp 06c0fb7cb7 feat(src/window/switcher/app-capture): expose target size and damage-waiting options in capture_by_handle 2026-07-12 04:46:21 +05:45
sankalp 11821816f7 feat(src/utils): add switcher_live_preview_delay_ms setting 2026-07-12 04:46:02 +05:45
sankalp 373d582701 feat(src/window/switcher): add live preview capture and restructure switcher UI 2026-07-12 03:54:18 +05:45
sankalp ce21c075da feat(src/window/switcher/app-capture): add app-capture implementation 2026-07-12 03:53:58 +05:45
sankalp 3ed0707b14 feat(src/utils): add switcher live preview option 2026-07-12 03:53:36 +05:45
sankalp 724c9db7b5 feat(src): configure GI_TYPELIB_PATH for app-capture 2026-07-12 03:53:19 +05:45
sankalp be86976882 feat(build): add progress steps and environment configuration for App Capture module 2026-07-12 03:53:02 +05:45
sankalp ccfd1aecc1 feat(cache): implement icon theme aware caching for notification icons and cleanup on theme change 2026-07-12 02:44:56 +05:45
sankalp 4b039c1ff3 chore(src/utils): remove deprecated DBus menu client and dev‑members.json, add uinput module for mouse click simulation
Drop unused dbusmenu.py and related files, update pyproject.toml and requirements.txt to reflect new dependencies, and add pure‑Python uinput click helper.
2026-07-12 02:44:35 +05:45
sankalp 40b8962232 feat(notifications): increase app icon size to 64x64 and refactor service retrieval 2026-07-12 02:44:15 +05:45
sankalp aee72d98fa refactor(config): simplify color picker commands 2026-07-12 02:43:57 +05:45
sankalp 23672db2db feat(pyproject): add src/globalmenu to wheel packages 2026-07-12 02:43:38 +05:45
sankalp e837f54680 feat(src/window/notification): switch notification icon size to 64x64
Update notification asset handling to use 64x64 icons for consistency and better thumbnail quality.
2026-07-11 22:22:10 +05:45
sankalp 863fb5e0ae refactor(config/hypr): simplify animation curves and definitions 2026-07-11 22:21:52 +05:45
sankalp 6a5f85a10d refactor(services): migrate run_command to Gio.Subprocess in KeyboardLayout and Modus 2026-07-10 10:31:09 +05:45
sankalp 2f1ae9e72e feat(config/hypr): increase blur size and add new blur options 2026-07-10 10:30:49 +05:45
sankalp 3f9f75d77e refactor(src/window/screencapture): replace direct _do_screenshot with service call 2026-07-09 23:17:17 +05:45
sankalp 9024cbc9ba feat: replace blocking subprocess calls with Gio.Subprocess async handling 2026-07-09 23:16:58 +05:45
sankalp 4fa183e272 style(config/hypr): adjust screencapture.toggle argument quoting 2026-07-09 23:16:41 +05:45
sankalp f0aed5a410 style(src/styles): rename application switcher identifiers to app-switcher
Rename CSS IDs from #application-switcher-* to #app-switcher-* for consistency.
Update padding, margin, and hover states to match new design.
Add new classes for hovered and selected states with appropriate styling.
2026-07-09 22:33:54 +05:45
sankalp 0fbccca46e refactor: add stop_animation method to SlideRevealer and integrate with destroy 2026-07-09 22:33:33 +05:45
sankalp 1dd99cf79d refactor(src/window): remove unused ApplicationSwitcher component 2026-07-09 22:33:14 +05:45