Build out wayland config

This commit is contained in:
Jeremy Soller 2025-11-05 13:37:05 -07:00
parent bf7b9742ea
commit 47593bc803
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -13,13 +13,22 @@ filesystem_size = 4096
[packages]
mesa = {}
smallvil = {}
wayland-rs = {}
xkeyboard-config = {}
[[files]]
path = "/usr/lib/init.d/10_wayland_env"
data = """
export XDG_RUNTIME_DIR /run/user/0
mkdir -p $XDG_RUNTIME_DIR
export WAYLAND_DISPLAY wayland-1
"""
[[files]]
path = "/usr/lib/init.d/30_wayland"
mode = 0o755
data = """
export XDG_RUNTIME_DIR /run/user/0
mkdir -p $XDG_RUNTIME_DIR
env LD_DEBUG=all smallvil_smallvil
sleep 2
wayland-rs_simple_window
"""