Sheldon Lee
ed1d0db617
This program runs a given command whenever a new display is connected on wayland.
405 B
405 B
wayland-run-on-new-display
Run a command every time a new display is attached.
Building
You must have wayland client libraries installed on your system.
Build by running make
Place the produced binary somewhere on your $PATH
.
Running
wayland-run-on-new-display some-command args-for-command
The program will block until a new display is attached, and then run the specified command.