mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add desktop
This commit is contained in:
parent
7c4126f8a8
commit
e13dfc67dd
1 changed files with 5 additions and 5 deletions
|
@ -26,13 +26,13 @@ _dolauncher() {
|
|||
exit 0 ;;
|
||||
"2")
|
||||
_LAUNCHER=""
|
||||
update | grep -q Gnome && _LAUNCHER="${_LAUNCHER} GNOME Gnome"
|
||||
update | grep -q KDE && _LAUNCHER="${_LAUNCHER} PLASMA KDE/Plasma"
|
||||
update | grep -q Sway && _LAUNCHER="${_LAUNCHER} SWAY Sway"
|
||||
update | grep -q Xfce && _LAUNCHER="${_LAUNCHER} XFCE Xfce"
|
||||
update | grep -q Gnome && _LAUNCHER="${_LAUNCHER} GNOME 'Gnome Desktop'"
|
||||
update | grep -q KDE && _LAUNCHER="${_LAUNCHER} PLASMA 'KDE/Plasma Desktop'"
|
||||
update | grep -q Sway && _LAUNCHER="${_LAUNCHER} SWAY 'Sway Desktop'"
|
||||
update | grep -q Xfce && _LAUNCHER="${_LAUNCHER} XFCE 'Xfce Desktop'"
|
||||
_ABORT=""
|
||||
if [[ -n "${_LAUNCHER}" ]]; then
|
||||
_dialog --title " Desktop Menu " --menu "" 10 30 6 ${_LAUNCHER} 2>${_ANSWER} || _ABORT=1
|
||||
_dialog --title " Desktop Menu " --menu "" 10 40 6 ${_LAUNCHER} 2>${_ANSWER} || _ABORT=1
|
||||
else
|
||||
_dialog --msgbox "Error:\nNo Desktop Environments available." 0 0
|
||||
_ABORT=1
|
||||
|
|
Loading…
Reference in a new issue