bigger menu

This commit is contained in:
Tobias Powalowski 2023-07-12 20:47:49 +02:00
parent b0958b381a
commit ad11d0cb1d

View file

@ -26,10 +26,10 @@ _dolauncher() {
exit 0 ;; exit 0 ;;
"2") "2")
_LAUNCHER="" _LAUNCHER=""
update | grep -q Gnome && _LAUNCHER="${_LAUNCHER} GNOME "Gnome Desktop"" update | grep -q Gnome && _LAUNCHER="${_LAUNCHER} "GNOME" "Gnome Desktop""
update | grep -q KDE && _LAUNCHER="${_LAUNCHER} PLASMA "KDE/Plasma Desktop"" update | grep -q KDE && _LAUNCHER="${_LAUNCHER} "PLASMA" "KDE/Plasma Desktop""
update | grep -q Sway && _LAUNCHER="${_LAUNCHER} SWAY "Sway Desktop"" update | grep -q Sway && _LAUNCHER="${_LAUNCHER} "SWAY" "Sway Desktop""
update | grep -q Xfce && _LAUNCHER="${_LAUNCHER} XFCE "Xfce Desktop"" update | grep -q Xfce && _LAUNCHER="${_LAUNCHER} "XFCE" "Xfce Desktop""
ABORT="" ABORT=""
_dialog --title " Desktop Menu " --menu "" 10 40 6 ${_LAUNCHER} 2>${_ANSWER} || _ABORT=1 _dialog --title " Desktop Menu " --menu "" 10 40 6 ${_LAUNCHER} 2>${_ANSWER} || _ABORT=1
[[ -e /tmp/.launcher-running ]] && rm /tmp/.launcher-running [[ -e /tmp/.launcher-running ]] && rm /tmp/.launcher-running