From 1dcce186a782948601ed188d0569867249748b25 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Tue, 14 Jul 2026 02:35:44 +0545 Subject: [PATCH] refactor(src/shared): simplify active_ids set comprehension --- src/shared/capture.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/capture.py b/src/shared/capture.py index e2224d2..acab8f4 100644 --- a/src/shared/capture.py +++ b/src/shared/capture.py @@ -394,9 +394,7 @@ class HyprlandCaptureBackend(CaptureBackend): """Build a ``slurp``-compatible box list of currently visible windows.""" from services.modus import get_clients, get_monitors - active_ids = { - m.get("activeWorkspace", {}).get("id") for m in get_monitors() - } + active_ids = {m.get("activeWorkspace", {}).get("id") for m in get_monitors()} boxes: list[str] = [] for client in get_clients(): if not client.get("mapped", True):