This is a work in progress, and is very specific to my setup at this time.
I wanted to add a drop-down selector to my menu bar in order to switch inputs on one or all of my displays. I found out that my displays support DDC commands, so this just wraps some command-line tools into a menu bar app.
-
Clone this repository
$ git clone [email protected]:cjohara/input-selector.git $ cd input-selector/
-
Copy input-selector.sh to xbar's plugin folder. NOTE: You can change how often the plugin detects your connected displays by changing the
1m
to a different interval. See xbar's configure refresh time documentation.$ cp xbar/plugins/input-selector.sh ~/Libraries/Application\ Support/xbar/plugins/input-selector.1m.sh
-
Refresh xbar plugins