Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions macapptree/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def _pid_to_bundle_map():
return mapping

def list_visible_app_bundles(extras_exclude: set[str] | None = None) -> list[str]:
"""
List apps that have currently opened and visible windows.
"""
excludes = set(extras_exclude or set()) | _SYSTEM_EXCLUDES
pid2bundle = _pid_to_bundle_map()

Expand Down