menu=$(dialog --title "Citrine" --menu "Select the Desktop Environment you want to install"121004"Official""Our pre-themed desktop environments""Third Party (supported)""Third party Desktop Environments that are supported""Third Party (unsupported)""Third Party Desktop Environments that aren't supported""None/DIY""Install no de from this list" --stdout)
if[["$menu"=="Official"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Onyx""Our custom Desktop Environment based on XFCE""Onyx tiling""Our custom Desktop Environment based on xfce but with i3 as the wm" --stdout)
elif[["$menu"=="Third Party (supported)"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121005"Gnome""The Gnome desktop environment""KDE""The KDE desktop environment""Xfce""The xfce desktop environment""budgie""The budgie desktop environment""Mate""The Mate desktop environment" --stdout)
elif[["$menu"=="Third Party (unsupported)"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Pantheon""The Pantheon desktop environment from elementaryos""Enlightenment""A very DIY desktop environment, refer to archwiki" --stdout)
elif[["$menu"=="None/DIY"]];then
yesno "Are you sure that you dont want to install any DE?"
if[["$yn"=="0"]];then
DE="none"
DM="none"
else
DE=""
fi
while[["$DE"==""]];do
menu=$(dialog --title "Citrine" --menu "Select the Desktop Environment you want to install"121004"Official""Our pre-themed desktop environments""Third Party (supported)""Third party Desktop Environments that are supported""Third Party (unsupported)""Third Party Desktop Environments that aren't supported""None/DIY""Install no de from this list" --stdout)
if[["$menu"=="Official"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Onyx""Our custom Desktop Environment based on XFCE""Onyx tiling""Our custom Desktop Environment based on xfce but with i3 as the wm" --stdout)
elif[["$menu"=="Third Party (supported)"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121005"Gnome""The Gnome desktop environment""KDE""The KDE desktop environment""Xfce""The xfce desktop environment""budgie""The budgie desktop environment""Mate""The Mate desktop environment" --stdout)
elif[["$menu"=="Third Party (unsupported)"]];then
DE=$(dialog --title "Citrine" --menu "Please choose the DE you want to install"121002"Pantheon""The Pantheon desktop environment from elementaryos""Enlightenment""A very DIY desktop environment, refer to archwiki" --stdout)
elif[["$menu"=="None/DIY"]];then
yesno "Are you sure that you dont want to install any DE?"