♻️ refactor(menubar): Move app name resolution logic to utils for reusability
This commit is contained in:
2 files changed
+5
-89
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user