Skip to content
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

Trigger apple script or a general script when a display is connected/disconnected #3898

Open
quocpeyrot opened this issue Jan 11, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@quocpeyrot
Copy link

Hello,

now that issue #3682 has been implemented, it would be awesome to be able to trigger a script as well, one for connected and one for disconnected. That way we could easily switch some settings automatically (dock position, mouse scrolling direction etc.).

I know we could use 3rd party software for that, but since you already implemented the detection, it shouldn't be too hard to implement a trigger.

Thx for your awesome software btw, I'm an happy pro version user.

@waydabber waydabber added the enhancement New feature or request label Jan 11, 2025
@waydabber
Copy link
Owner

Yes, I plan something like this (ability to run scripts on various events).

@quocpeyrot
Copy link
Author

Do you have an approximate ETA for it?

@waydabber
Copy link
Owner

I generally don't have ETAs for features. :) But you can easily write a simple solution in Swift or use Hammerspoon or some other scripting tool that already watches the appropriate events until this is implemented.

@dmkpoznan
Copy link

dmkpoznan commented Feb 12, 2025

Upvoting for this feature :)

Shortcut would also be nice, as it can run any other things like AppleScript, bash scripts or custom action.

Would love to disable all virtual displays when connecting main screen etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants