This commit is contained in:
2026-07-04 14:16:05 +02:00
commit 38aba59345
9 changed files with 404 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# Ensure runtime directory exists
mkdir -p /run/wayland
chmod 0700 /run/wayland
# Set env vars for Wayland/Sway
export XDG_RUNTIME_DIR=/run/wayland
export WAYLAND_DISPLAY=wayland-1
export WLR_BACKENDS=drm,libinput
# Fallback to headless if DRM is not available (useful for testing on mac/desktop without actual DRM)
# export WLR_BACKENDS=headless
# Run sway
echo "Starting Sway..."
exec sway -d -c /etc/sway/config