mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
readme: add basic running doc
This commit is contained in:
parent
bfcbe99cd5
commit
a446f735ae
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
@ -33,3 +33,25 @@ Run these commands:
|
|||
ninja -C build
|
||||
|
||||
(On FreeBSD, you need to pass an extra flag to prevent a linking error: `meson build -D b_lundef=false`)
|
||||
|
||||
## Running the Reference Compositor
|
||||
|
||||
wlroots comes with a reference compositor called rootston that demonstrates the
|
||||
features of the library.
|
||||
|
||||
After building, run rootston from a terminal or VT with:
|
||||
|
||||
./build/rootston/rootston
|
||||
|
||||
Run windows on the compositor with the display variable set:
|
||||
|
||||
```bash
|
||||
# run gtk apps like this
|
||||
gnome-calculator --display=wayland-0
|
||||
|
||||
# run QT apps like this
|
||||
qgit -platform wayland
|
||||
|
||||
# run X11 apps like this
|
||||
DISPLAY=:1 firefox
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue