mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add more description
This commit is contained in:
parent
4f60e903d4
commit
f12113b4dd
1 changed files with 5 additions and 5 deletions
|
@ -26,13 +26,13 @@ _dolauncher() {
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
"2")
|
"2")
|
||||||
_LAUNCHER=()
|
_LAUNCHER=()
|
||||||
update | grep -q Gnome && _LAUNCHER+=( "GNOME" "Gnome Desktop" )
|
update | grep -q Gnome && _LAUNCHER+=( "GNOME" "Gnome - Simple Beautiful Elegant" )
|
||||||
update | grep -q KDE && _LAUNCHER+=( "PLASMA" "KDE/Plasma Desktop" )
|
update | grep -q KDE && _LAUNCHER+=( "PLASMA" "KDE/Plasma - Simple By Default" )
|
||||||
update | grep -q Sway && _LAUNCHER+=( "SWAY" "Sway Desktop" )
|
update | grep -q Sway && _LAUNCHER+=( "SWAY" "Sway - Tiling Wayland Compositor" )
|
||||||
update | grep -q Xfce && _LAUNCHER+=( "XFCE" "Xfce Desktop" )
|
update | grep -q Xfce && _LAUNCHER+=( "XFCE" "Xfce - Leightweight Desktop" )
|
||||||
_ABORT=""
|
_ABORT=""
|
||||||
if [[ -n "${_LAUNCHER[@]}" ]]; then
|
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
|
else
|
||||||
_dialog --msgbox "Error:\nNo Desktop Environments available." 0 0
|
_dialog --msgbox "Error:\nNo Desktop Environments available." 0 0
|
||||||
_ABORT=1
|
_ABORT=1
|
||||||
|
|
Loading…
Reference in a new issue