Files
2026-11-17 09:28:47 +01:00

25 lines
680 B
Fish

function startlabwc --description 'Startet labwc auf der lokalen Konsole'
if set -q WAYLAND_DISPLAY
set_color $theme_danger
echo "Wayland läuft bereits (WAYLAND_DISPLAY=$WAYLAND_DISPLAY)."
set_color normal
return 1
end
# QEMU/bochs-drm: kein OpenGL, keine Hardware-Cursor
set -lx WLR_RENDERER pixman
set -lx WLR_NO_HARDWARE_CURSORS 1
set -lx XKB_DEFAULT_LAYOUT de
set -lx XDG_SESSION_TYPE wayland
set_color $theme_muted
echo "Starte labwc (pixman, Software-Rendering) ..."
set_color normal
if command -q dbus-run-session
exec dbus-run-session -- labwc
else
exec labwc
end
end