Skip to content

sfjohnson/studio-brightness

Repository files navigation

studio-brightness

studio-brightness is a small Windows utility that sits in the taskbar notification area and changes the brightness of a connected Apple Studio Display.

  • To increase brightness: left shift + left windows (or command) + right arrow
  • To reduce brightness: left shift + left windows (or command) + left arrow

To exit, left or right click on the icon in the taskbar notification area and click Exit.

Building

Pick either one of build.bat or CMake to build the executable "bin/studio-brightness.exe":

Run build.bat in the Developer Command Prompt where cl.exe and rc.exe are in PATH.

Alternatively, CMake works with compilers including Visual Studio, Intel oneAPI, MinGW GCC, Clang, and more. The popup windows that appear on errors are disabled in Release builds. To enable them, build in Debug mode.

Release build:

cmake -B bin

cmake --build bin --config Release

Debug build, enabling popup windows on error:

cmake -B bin

cmake --build bin --config Debug

Because the main entry point is wWinMain, the return code is always 0. If studio-brightness fails to start or run correctly, try building in CMake Debug build type to see the error message in a popup window.

About

A small Windows utility that sits in the taskbar notification area and changes the brightness of a connected Apple Studio Display.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors