Last active
October 28, 2025 16:13
-
-
Save rbreaves/9bb5844621fce76843b02f31253c835b to your computer and use it in GitHub Desktop.
Reset macOS Desktop for Remote use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # brew install displayplacer | |
| # To generate the config below | |
| # displayplacer list | awk '/^displayplacer /{p=1} p' | |
| # How to run | |
| # ~/displayplacer_remote.sh | |
| # Specific layout offsets external monitors above and the far left or the far right as to mostly avoid mouse travel btwn monitors - useful for remote access purposes. | |
| displayplacer "id:37D8832A-2D66-02CA-B9F7-8F30A301B230 res:1512x945 hz:120 color_depth:8 enabled:true scaling:on origin:(0,0) degree:0" "id:2C97B10A-8BA6-405D-B343-FEC6D289E20F res:1920x1200 hz:60 color_depth:8 enabled:true scaling:off origin:(0,-2640) degree:0" "id:08BCC513-9559-411E-8B01-44EE4FC048DE res:2560x1440 hz:144 color_depth:8 enabled:true scaling:off origin:(-2560,-1440) degree:0" | |
| osascript ~/move-all-to-main.applescript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment