#!/bin/sh

BUDGIE_VERSION="10.5.3"

if [ "$1" = "--version" ]; then
    echo "budgie-desktop $BUDGIE_VERSION"
    echo "Copyright © 2014-2021 Budgie Desktop Developers"
    exit 0
fi

if [ -z $XDG_CURRENT_DESKTOP ]; then
  XDG_CURRENT_DESKTOP=Budgie:GNOME
  export XDG_CURRENT_DESKTOP
fi

exec gnome-session --builtin --session=budgie-desktop $*
