3 selection=$(cat /etc/pandora/conf/gui.conf | awk -F\; '{print $1 "\n" $2 }' | zenity --width=500 --height=300 --title="Switch to a different GUI" --list --column "name" --column "description" --text "Select a GUI you want to switch to" )
6 gui=$(grep $selection /etc/pandora/conf/gui.conf | awk -F\; '{print $3}')
7 stopnew=$(grep $selection /etc/pandora/conf/gui.conf | awk -F\; '{print $4}')
12 echo "$gui" > /tmp/gui.load
13 echo "$stopnew" > /tmp/gui.stopnew
14 echo $selection will be started