Feature: ignore-focus-from config to prevent focus-stealing apps #1917
Unanswered
noomzopendream
asked this question in
feature-ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Some background apps/services steal focus when they activate, disrupting workflow. For example, Logitech's
LogiPluginServiceactivates when plugging/unplugging devices, causing AeroSpace to switch workspaces unexpectedly.Proposed Solution
New config option
ignore-focus-fromthat accepts an array of app bundle IDs to ignore focus events from:Implementation
I've implemented this in my fork: https://github.com/noomz/AeroSpace/tree/ignore-focus-from
GlobalObserver.onNotif()before any downstream processingSet<String>for O(1) lookup (called on every focus event)@MainActorTask block to safely access configUse Cases
com.logi.pluginservice) - activates on device connect/disconnectLooking for feedback on this approach.
Beta Was this translation helpful? Give feedback.
All reactions