#!/bin/sh
# NebulaOS production session startup
#
# Production must start nebula-shell without QT_QUICK_BACKEND=software.
# GPU-accelerated Qt Quick is the production default.
#
# The Ubuntu VMware development VM is different: use
# compositor/sway/dev/run-sway-vm.sh (or sway -c compositor/sway/nebula-sway.conf
# from the repository root) so the development wrapper can set the software
# scene-graph backend.

set -e

export XDG_CURRENT_DESKTOP=NebulaOS
export XDG_SESSION_DESKTOP=nebula
export XCURSOR_THEME="${XCURSOR_THEME:-Adwaita}"
export XCURSOR_SIZE="${XCURSOR_SIZE:-24}"

# Production desktop chrome: shells/desktop/shell (nebula-shell)
# exec nebula-shell
