feat(utils): add dbus helper and extend utility functions

The changes introduce a new GioDBusHelper class for D-Bus interactions and expand utils/functions.py with utilities for timeout parsing, cursor hover handling, animated scale widgets, and SVG loading, improving functionality and maintainability.

- New Features
  - Add GioDBusHelper for method calls and signal subscription.
- Enhancements
  - Add parse_timeout_string and replace placeholder set_process_name implementation.
  - Implement AnimatedScale widget and related utilities.
  - Provide svg_file helper with dynamic style updates.
- Bug Fixes
  - None
This commit is contained in:
sankalp committed 2026-02-26 06:24:22 +05:45
1 parent a8b7330ec7
commit 1ed576f222
6 files changed
+461 -30

No files matched your search

+7 -3
View File
@@ -1,8 +1,12 @@
from loguru import logger
from fabric.audio import Audio
from fabric.utils import logger
from services.modus import ModusService, notification_service as notification_service_instance
from services.modus import (
ModusService,
)
from services.modus import (
notification_service as notification_service_instance,
)
global modus_service
try: