♻️ refactor(menubar): Move app name resolution logic to utils for reusability

This commit is contained in:
sankalp committed 2025-08-13 00:16:54 +05:45
1 parent 6f6dd46df0
commit 88ce59eec7
2 files changed
+5 -89

No files matched your search

+2
View File
@@ -78,5 +78,7 @@ app_name_resolver = AppName()
def format_window(title, wmclass):
if not title and not wmclass:
return "Finder"
name = app_name_resolver.format_app_name(title, wmclass, True)
return name