Simple CLI access for BetterDisplay
81
stars
19
commits
Swift
primary language
Apr 7, 2025
updated
A simple command line app to interact with BetterDisplay.
BetterDisplay must be running and configured to accept CLI commands (this is the default setting).
/usr/local/bin).brew install waydabber/betterdisplay/betterdisplaycligit clone https://github.com/waydabber/betterdisplayclicd ./betterdisplayclisudo make install. This will compile the app and install it under /usr/local/bin.... or instead of the last step you can continue like this:
swiftc betterdisplaycli.swiftbetterdisplaycli binary to a location where it's easily available in $PATH.betterdisplaycli for help.betterdisplaycli set --brightness=80% to set the brightness level of all displays to 80% (note: you can use both single and double hyphen style for parameters).[!NOTE] You can use the installed app itself to send CLI commands as well - the following prints help:
/Applications/BetterDisplay.app/Contents/MacOS/BetterDisplay help
More info and other integration options:
This app also serves as a demonstration of how to integrate your app with BetterDisplay using notification dispatch.
19 commits
Swift
93.0%
Makefile
7.0%
Simple CLI access for BetterDisplay
81
stars
19
commits
Swift
primary language
Apr 7, 2025
updated
A simple command line app to interact with BetterDisplay.
BetterDisplay must be running and configured to accept CLI commands (this is the default setting).
/usr/local/bin).brew install waydabber/betterdisplay/betterdisplaycligit clone https://github.com/waydabber/betterdisplayclicd ./betterdisplayclisudo make install. This will compile the app and install it under /usr/local/bin.... or instead of the last step you can continue like this:
swiftc betterdisplaycli.swiftbetterdisplaycli binary to a location where it's easily available in $PATH.betterdisplaycli for help.betterdisplaycli set --brightness=80% to set the brightness level of all displays to 80% (note: you can use both single and double hyphen style for parameters).[!NOTE] You can use the installed app itself to send CLI commands as well - the following prints help:
/Applications/BetterDisplay.app/Contents/MacOS/BetterDisplay help
More info and other integration options:
This app also serves as a demonstration of how to integrate your app with BetterDisplay using notification dispatch.
19 commits
Swift
93.0%
Makefile
7.0%