Add fullscreen and topmost+fullscreen profile condition modes
New match types for application conditions: - "fullscreen": app has a fullscreen window on any monitor (detected via EnumWindows, works even when another window is focused on a different display) - "topmost_fullscreen": app is the focused foreground window AND fullscreen Optimizes profile evaluation to only call expensive detection methods when needed: WMI process enumeration (~3s) is skipped when no condition uses "running" mode; foreground/fullscreen checks (<1ms each) are called selectively based on active match types. Filters false positives from fullscreen detection by excluding desktop/shell process windows, tool windows, and non-activatable overlay windows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -504,6 +504,8 @@
|
||||
"profiles.condition.application.match_type.hint": "How to detect the application",
|
||||
"profiles.condition.application.match_type.running": "Running",
|
||||
"profiles.condition.application.match_type.topmost": "Topmost (foreground)",
|
||||
"profiles.condition.application.match_type.topmost_fullscreen": "Topmost + Fullscreen",
|
||||
"profiles.condition.application.match_type.fullscreen": "Fullscreen",
|
||||
"profiles.targets": "Targets:",
|
||||
"profiles.targets.hint": "Targets to start when this profile activates",
|
||||
"profiles.targets.empty": "No targets available",
|
||||
|
||||
Reference in New Issue
Block a user