refactor(src/shared): simplify active_ids set comprehension

This commit is contained in:
sankalp committed 2026-07-14 02:35:44 +05:45
1 parent e734c4bbf4
commit 1dcce186a7
1 file changed
+1 -3
+1 -3
View File
@@ -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):