18 lines
405 B
Markdown
18 lines
405 B
Markdown
|
# 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.
|