Add LXQT to desktop menu
This commit is contained in:
parent
ebfe0e97ff
commit
4ef480c138
1 changed files with 25 additions and 0 deletions
25
install/desktop/lxqt/packages
Normal file
25
install/desktop/lxqt/packages
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
. ./lib
|
||||
|
||||
options=()
|
||||
|
||||
items=$(pacman -Ssq lxqt)
|
||||
for item in $items; do
|
||||
options+=("$item" "" on)
|
||||
done
|
||||
|
||||
sel=$(whiptail --backtitle "$apptitle" --title "LXQT 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…
Reference in a new issue