Add desktop LXDE-GTK3

This commit is contained in:
MatMoul 2016-11-18 00:42:31 +01:00
parent bd9b4207b5
commit 64c37a7df3
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
#!/bin/bash
. ./lib
options=()
items=$(pacman -Sqg lxde-gtk3)
for item in $items; do
options+=("$item" "" on)
done
sel=$(whiptail --backtitle "$apptitle" --title "LXDE-GTK3 Install :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"lxdm-gtk3"') svcenable lxdm;;
esac
done
exit 0

View file

@ -7,6 +7,7 @@ options+=("XFCE4" "(Help Wanted)")
options+=("Gnome" "(Help Wanted)")
options+=("Cinnamon" "(Help Wanted)")
options+=("LXDE" "(Help Wanted)")
options+=("LXDE-GTK3" "(Help Wanted)")
options+=("LXQt" "(Help Wanted)")
options+=("Mate" "(Help Wanted)")
options+=("Enlightenment" "(Help Wanted)")
@ -30,6 +31,7 @@ case $sel in
'Gnome') menu install/desktop/gnome/menu;;
'Cinnamon') script install/desktop/cinnamon/packages;;
'LXDE') script install/desktop/lxde/packages;;
'LXDE-GTK3') script install/desktop/lxde-gtk3/packages;;
'LXQt') menu install/desktop/lxqt/menu;;
'Mate') menu install/desktop/mate/menu;;
'Enlightenment') script install/desktop/enlightenment/packages;;