From 819140bf9d79fd9feb62fda089fd9a9be3c10e11 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 19 Feb 2026 10:12:22 -0700 Subject: [PATCH] Improvements for wayland config --- config/wayland.toml | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/config/wayland.toml b/config/wayland.toml index 03fb0b65a..32b7d5345 100644 --- a/config/wayland.toml +++ b/config/wayland.toml @@ -32,7 +32,6 @@ export XDG_RUNTIME_DIR /tmp/run/user/0 mkdir -p /tmp/run mkdir -p /tmp/run/user mkdir -p /tmp/run/user/0 -export WAYLAND_DISPLAY wayland-1 glib-compile-schemas /usr/share/glib-2.0/schemas/ """ @@ -54,16 +53,32 @@ mode = 0o755 data = """ #!/usr/bin/env bash +unset DISPLAY +export COSMIC_BACKEND=winit export LD_DEBUG=all export RUST_LOG=debug -unset DISPLAY -cosmic-comp & -#smallvil_smallvil & + +# For cosmic-comp (more features) +#cosmic-comp wayland-session + +# For smallvil (easier to debug) +export WAYLAND_DISPLAY=wayland-1 +smallvil_smallvil & sleep 2 +wayland-session +""" + +[[files]] +path = "/usr/bin/wayland-session" +mode = 0o755 +data = """ +#!/usr/bin/env bash + #env G_MAIN_POLL_DEBUG=1 G_MESSAGES_DEBUG=all LD_DEBUG=all WEBKIT_DEBUG=all MiniBrowser& -softbuffer-wayland_animation & -#wayland-rs_simple_window & -#winit-wayland_window & +printenv +#wayland-rs_simple_window +#winit-wayland_window +softbuffer-wayland_animation """ [[files]]