Tiny statusbar utility for switching resolutions(display-mode) on macos
Install with the bellbind/displaymodeswitcher tap as:
$ brew tap bellbind/displaymodeswitcher
$ brew install displaymodeswitcher
$ ln -sf /usr/local/opt/displaymodeswitcher/DisplayModeSwitcher.app ~/Applications/
You can launch the DisplayModeSwitcher
app from Launchpad.
A. This is a single swift script with shebang:
$ ./DisplayModeSwitcher.swift &
B. Run a compiled binary with swiftc:
$ swiftc DisplayModeSwitcher.swift
$ ./DisplayModeSwitcher &
C. Build app bundle and dmg acrchive with script:
$ brew install imagemagick webkit2png
$ ./makeappbundle.sh
$ open DisplayModeSwitcher.app
To launch from Launchpad, copy it into ~/Applications/
as:
$ cp -a DisplayModeSwitcher.app ~/Applications/