Created
February 6, 2022 11:15
-
-
Save skempken/984452637894256705c9e4ec32c73101 to your computer and use it in GitHub Desktop.
Swap displays on macOS using displayplacer
This file contains 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 ;-) | |
displayplacer list | tail -n 1 | sed "s/(0,/(tmp,/g;s/-1920/0/g;s/tmp/-1920/g" | sh - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment