From 47593bc803faa00eba320684ab284788596dd733 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 5 Nov 2025 13:37:05 -0700 Subject: [PATCH] Build out wayland config --- config/wayland.toml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/wayland.toml b/config/wayland.toml index fca304def..bce78e839 100644 --- a/config/wayland.toml +++ b/config/wayland.toml @@ -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 """