-
Hello, I have a second monitor that I put below the main monitor. I want to run a script to change the Dock setting (dock to the left when it's connected, otherwise dock to the bottom). Is it possible to do so with BetterDisplay? |
Beta Was this translation helpful? Give feedback.
Answered by
waydabber
Nov 2, 2024
Replies: 1 comment 4 replies
-
Sadly BetterDisplay can't move the dock around, it's simply not in the feature set currently. 😞 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, I see. Well, you can check if a display is connected or disconnected via BetterDisplay's CLI but there is no way currently to trigger a script based on events. There are some tools like HammerSpoon that have something like that or you can simply create a very simple solution with some coding of your own that looks out for the changes by looking for the right system notification dispatch and check the nature of the change.
For more info:
https://developer.apple.com/documentation/coregraphics/1455336-cgdisplayregisterreconfiguration