To build from the command line without the GUI. # displayctl The source is [here](https://github.com/pbkhrv/os-x-sleep-wake-display) To build ```bash gcc -o displayctl main.c -framework IOKit -framework CoreFoundation ``` Or a Makefile ```make all: displayctl displayctl: main.c gcc -o displayctl -framework IOKit -framework CoreFoundation main.c ```