Changed hardcoded list of DE/WM's to the list that will list DE/WM's that are available in pkg-files folder, so you could just add new WM to the list of options by adding new .txt file and populating list of apps you want (bspwm.txt, i3.txt...)

This commit is contained in:
Slavko Stojshic 2022-03-02 17:43:33 +01:00
parent 8fb6610ee9
commit 963f367f9b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ aurhelper () {
desktopenv () {
# Let the user choose Desktop Enviroment from predefined list
echo -ne "Please select your desired Desktop Enviroment:\n"
options=(gnome kde cinnamon xfce mate budgie lxde deepin openbox server)
options=( `for f in pkg-files/*.txt; do echo "$f" | sed -r "s/.+\/(.+)\..+/\1/"; done` )
select_option $? 4 "${options[@]}"
desktop_env=${options[$?]}
set_option DESKTOP_ENV $desktop_env