dotfiles/.config/scripts/sway/wayland-run-on-new-display/README.md

18 lines
405 B
Markdown
Raw Permalink Normal View History

# 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.