From 3d355482c68e87da3df21b5a7ac6433fe2aa82ed Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Tue, 14 Jul 2026 21:59:34 +0545 Subject: [PATCH] refactor(src/services): replace default active app name from "Finder" to "Modus" Modified default active app name in ModusService initialization and update logic to "Modus" to align with the project's branding and avoid confusion with macOS Finder. --- src/services/modus.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/services/modus.py b/src/services/modus.py index e23c6be..e0fe7bd 100644 --- a/src/services/modus.py +++ b/src/services/modus.py @@ -301,7 +301,7 @@ class ModusService(Service): self._bluetooth = "" self._dock_apps = "" self._dont_disturb = False - self._current_active_app_name = "Finder" + self._current_active_app_name = "Modus" self._current_active_wm_class = "" self._current_workspace = "1" self._music = "" @@ -370,13 +370,13 @@ def _update_active_window(): return window_data = _hyprland_connection.send_command("j/activewindow").reply if not window_data: - service.current_active_app_name = "Finder" + service.current_active_app_name = "Modus" return window_info = json.loads(window_data.decode("utf-8")) wmclass = window_info.get("class", "") title = window_info.get("title", "") if not title and not wmclass: - service.current_active_app_name = "Finder" + service.current_active_app_name = "Modus" return name = app_name_resolver.format_app_name(title, wmclass) @@ -384,7 +384,7 @@ def _update_active_window(): service.current_active_app_name = name except Exception as e: logger.error(f"[ModusService] Error updating active window: {e}") - service.current_active_app_name = "Finder" + service.current_active_app_name = "Modus" def _on_workspace_changed(obj, signal):