Add Openbox in desktop menu
This commit is contained in:
parent
d0461aade3
commit
930383c5d5
2 changed files with 28 additions and 3 deletions
|
@ -10,6 +10,7 @@ options+=("LXDE" "")
|
|||
options+=("Cinnamon" "")
|
||||
options+=("Mate" "")
|
||||
options+=("Enlightenment" "")
|
||||
options+=("Openbox" "")
|
||||
#options+=("LXQT" "")
|
||||
#options+=("GnuStep" "")
|
||||
#options+=("i3" "")
|
||||
|
@ -34,11 +35,10 @@ case $sel in
|
|||
script install/desktop/lxde/packages
|
||||
svcenable lxdm
|
||||
;;
|
||||
'Enlightenment')
|
||||
script install/desktop/enlightenment/packages
|
||||
;;
|
||||
'Enlightenment') script install/desktop/enlightenment/packages;;
|
||||
'Mate') menu install/desktop/mate/menu;;
|
||||
'Cinnamon') script install/desktop/cinnamon/packages;;
|
||||
'Openbox') script install/desktop/enlightenment/packages;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
|
25
install/desktop/openbox/packages
Normal file
25
install/desktop/openbox/packages
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
. ./lib
|
||||
|
||||
options=()
|
||||
|
||||
items=$(pacman -Sqg openbox)
|
||||
for item in $items; do
|
||||
options+=("$item" "" on);;
|
||||
done
|
||||
|
||||
sel=$(whiptail --backtitle "$apptitle" --title "Openbox 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"
|
||||
|
||||
exit 0
|
Loading…
Add table
Reference in a new issue