-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on-monitor-detected
callback
#824
Comments
++ I was about to suggest something similar and found this proposal. : ) I'm trying to run a command when the list of monitors changes (connecting/disconnection my 2nd monitor); in my case I want to trigger an event on my sketchybar as an example. We could call it @nikitabobko I'm happy to jump on and learn how to contribute to the project if you or other maintainers are keen on having this in place, I'd just need some directions. |
on-monitor-detected
callback
The issue doesn't mention use cases
Why do you add AeroSpace in the mix? Shouldn't it be handled purely by sketchybar?
I don't like |
@nikitabobko I've edited the original comment to include more details about my specific desires and use case. |
Building off of the original feature request I'm looking for functionality that would allow aerospace to assign workspaces to take display precedence when an external monitor is connected. For instance, I'd like display my I also have a different monitor at home, and I'd like to configure some default tiling to trigger when that display is connected. |
Not sure how feasible this is as a feature, but for those who want to execute a callback when a secondary display is detected a callback or condition for the existing callbacks could be useful. These are just two things that came to mind immediately when trying to solve this. I'm open to suggestions if this is a solved problem using the provided configuration, or otherwise. I think it'd be easily achievable using the CLI commands in a shell script but I'd appreciate a way for handling it within the config if possible.
I like the idea of binding applications to workspaces with mnemonic names, my browser lives on workspace
b
, terminal emulator ont
, etc. I set up the window detection callbacks for the apps that I care about to move them to the desired workspaces. This works great when I don't have my external monitor connected. However, my main external monitor is a ultra-wide and more than capable of having 2 or 3 applications side-by-side.I want to bind applications to workspaces and I want separate bindings depending on whether or not specific external monitor(s) is connected. I also want to be able to execute commands when I connect my external monitor.
The text was updated successfully, but these errors were encountered: