obosdi-pkg/install/desktop/lxqt/complements

46 lines
1 KiB
Text
Raw Normal View History

2015-08-31 20:09:24 -06:00
#!/bin/bash
. ./lib
options=()
2015-12-20 06:32:56 -07:00
options+=("oxygen-icons" "Default Icon Theme" on)
options+=("connman" "Network Manager" on)
2015-12-20 06:36:28 -07:00
options+=("lximage-qt" "(AUR)" on)
options+=("lximage-qt-git" "(AUR)" off)
options+=("obconf-qt" "(AUR)" on)
options+=("obconf-qt-git" "(AUR)" off)
options+=("qterminal" "(AUR)" on)
options+=("qterminal-git" "(AUR)" off)
2015-12-20 06:59:43 -07:00
options+=("lxqt-connman-applet-git" "(AUR) Applet for NM" off)
2015-08-31 20:09:24 -06:00
options+=("sddm" "display manager" on)
2015-12-20 06:32:56 -07:00
2015-08-31 20:09:24 -06:00
sel=$(whiptail --backtitle "$apptitle" --title "LXQt Complements :" --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
case $itm in
2015-12-20 06:36:28 -07:00
'"lxqt-connman-applet-git"' | \
'"lximage-qt-git"' | \
'"lximage-qt"' | \
'"obconf-qt-git"' | \
'"obconf-qt"' | \
'"qterminal-git"' | \
'"qterminal"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
2015-08-31 20:09:24 -06:00
esac
done
instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
2015-08-31 20:25:17 -06:00
'"sddm"') svcenable sddm;;
2015-08-31 20:09:24 -06:00
esac
done
exit 0