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

+5 -4
View File
@@ -1,10 +1,11 @@
import json
import warnings
from typing import Dict
import time
from fabric.hyprland import Hyprland
from gi.repository import Gdk
import warnings
from functools import lru_cache
from typing import Dict
from fabric.hyprland import Hyprland
from fabric.utils import Gdk
warnings.filterwarnings("ignore", category=DeprecationWarning)