final version!

very nice!
This commit is contained in:
2026-01-29 10:30:10 -05:00
parent 4af32a48e5
commit 6335ac7a60

View File

@@ -158,7 +158,12 @@ def minimize_finder_windows():
def main(): def main():
# Apps to skip - these either don't have minimizable windows or cause issues # Apps to skip - these either don't have minimizable windows or cause issues
skip_apps = {'SystemUIServer', 'Dock', 'Electron', 'MSTeams', 'nxdock', skip_apps = {'SystemUIServer', 'Dock', 'Electron', 'MSTeams', 'nxdock',
'Control Center', 'Notification Center', 'Spotlight'} 'Control Center', 'Notification Center', 'Spotlight',
# User-specified apps to never minimize
'Teams', 'Microsoft Teams', 'Ferdium', 'Messages', 'iMessage',
'Grasshopper', 'Outlook', 'Microsoft Outlook', 'Wavebox',
'iTerm2'}
# 'Claude', 'Copilot', 'GitHub', 'GitHub Desktop',
skip_keywords = ['Helper', 'Agent'] skip_keywords = ['Helper', 'Agent']
# FIX #1: Get only apps that actually have visible windows on screen # FIX #1: Get only apps that actually have visible windows on screen