add more description

This commit is contained in:
Tobias Powalowski 2023-07-13 07:01:18 +02:00
parent 4f60e903d4
commit f12113b4dd

View file

@ -26,13 +26,13 @@ _dolauncher() {
exit 0 ;;
"2")
_LAUNCHER=()
update | grep -q Gnome && _LAUNCHER+=( "GNOME" "Gnome Desktop" )
update | grep -q KDE && _LAUNCHER+=( "PLASMA" "KDE/Plasma Desktop" )
update | grep -q Sway && _LAUNCHER+=( "SWAY" "Sway Desktop" )
update | grep -q Xfce && _LAUNCHER+=( "XFCE" "Xfce Desktop" )
update | grep -q Gnome && _LAUNCHER+=( "GNOME" "Gnome - Simple Beautiful Elegant" )
update | grep -q KDE && _LAUNCHER+=( "PLASMA" "KDE/Plasma - Simple By Default" )
update | grep -q Sway && _LAUNCHER+=( "SWAY" "Sway - Tiling Wayland Compositor" )
update | grep -q Xfce && _LAUNCHER+=( "XFCE" "Xfce - Leightweight Desktop" )
_ABORT=""
if [[ -n "${_LAUNCHER[@]}" ]]; then
_dialog --title " Desktop Menu " --menu "" 10 40 6 "${_LAUNCHER[@]}" 2>${_ANSWER} || _ABORT=1
_dialog --title " Desktop Menu " --menu "" 10 50 6 "${_LAUNCHER[@]}" 2>${_ANSWER} || _ABORT=1
else
_dialog --msgbox "Error:\nNo Desktop Environments available." 0 0
_ABORT=1