Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bellbind/DisplayModeSwitcher

Tiny status bar utility for switching display resolution on macos
https://github.com/bellbind/DisplayModeSwitcher

Last synced: 26 days ago
JSON representation

Tiny status bar utility for switching display resolution on macos

Awesome Lists containing this project

README

        

# DisplayModeSwitcher

Tiny statusbar utility for switching resolutions(display-mode) on macos

![screenshot](screenshot-dms.png)

## Install with homebrew

Install with the [bellbind/displaymodeswitcher tap](https://github.com/bellbind/homebrew-displaymodeswitcher) as:

```sh
$ brew tap bellbind/displaymodeswitcher
$ brew install displaymodeswitcher
$ ln -sf /usr/local/opt/displaymodeswitcher/DisplayModeSwitcher.app ~/Applications/
```

You can launch the `DisplayModeSwitcher` app from Launchpad.

## Howto

A. This is a single swift script with shebang:

```sh
$ ./DisplayModeSwitcher.swift &
```

B. Run a compiled binary with swiftc:

```sh
$ swiftc DisplayModeSwitcher.swift
$ ./DisplayModeSwitcher &
```

C. Build app bundle and dmg acrchive with script:

```sh
$ brew install imagemagick webkit2png
$ ./makeappbundle.sh
$ open DisplayModeSwitcher.app
```

To launch from Launchpad, copy it into `~/Applications/` as:

```sh
$ cp -a DisplayModeSwitcher.app ~/Applications/
```

## License

- https://opensource.org/licenses/isc-license.txt