30 lines
669 B
Bash
30 lines
669 B
Bash
#!/bin/bash
|
|
. ./lib
|
|
|
|
options=()
|
|
options+=("wireplumber" "" on)
|
|
options+=("pipewire-alsa" "" on)
|
|
options+=("pipewire-jack" "" on)
|
|
options+=("pipewire-pulse" "" on)
|
|
options+=("pipewire-v4l2" "" on)
|
|
options+=("pipewire-zeroconf" "" on)
|
|
options+=("gst-plugin-pipewire" "" on)
|
|
options+=("easyeffects" "" off)
|
|
options+=("pipewire-x11-bell" "" off)
|
|
|
|
sel=$(dialog --backtitle "$apptitle" --title "System Wireplumper Install" --cancel-button "Back" --checklist "" 0 0 0 \
|
|
"${options[@]}" \
|
|
3>&1 1>&2 2>&3)
|
|
if [ ! "$?" = "0" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
for itm in $sel; do
|
|
case $itm in
|
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
|
esac
|
|
done
|
|
|
|
instpkg "$pkg" "$aurpkg"
|
|
|
|
exit 0
|