INITIAL
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user