select-de.sh: use exec with XFCE

This commit is contained in:
Dmitry Maksyoma 2021-09-09 20:24:30 +12:00
parent 64c190e2bb
commit c2a5876127

View File

@ -78,7 +78,7 @@ declare -A all_desktop_environments=(
[Lxqt]="exec startlxqt"
[KDE]="exec startkde"
[Gnome]="XDG_CURRENT_DESKTOP=GNOME exec dbus-launch --exit-with-session /usr/bin/gnome-session"
[XFCE]=xfce4-session)
[XFCE]="exec xfce4-session")
readarray -t sorted_desktop_environments < <(for de in "${!all_desktop_environments[@]}"; do echo "$de"; done | sort)