updated pipewire.sh

This commit is contained in:
JaKooLit
2025-02-09 00:53:14 +09:00
parent b2f43b18fd
commit 68af696789

View File

@@ -11,6 +11,12 @@ pipewire=(
sof-firmware sof-firmware
) )
# added this as some reports script didnt install this.
# basically force reinstall
pipewire_2=(
pipewire-pulse
)
############## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ############## ############## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##############
# Set some colors for output messages # Set some colors for output messages
# Determine the directory where the script is located # Determine the directory where the script is located
@@ -35,6 +41,10 @@ for PIPEWIRE in "${pipewire[@]}"; do
install_package "$PIPEWIRE" "$LOG" install_package "$PIPEWIRE" "$LOG"
done done
for PIPEWIRE2 in "${pipewire_2[@]}"; do
install_package_pacman "$PIPEWIRE" "$LOG"
done
echo -e "${NOTE} Activating Pipewire Services..." echo -e "${NOTE} Activating Pipewire Services..."
# Redirect systemctl output to log file # Redirect systemctl output to log file
systemctl --user enable --now pipewire.socket pipewire-pulse.socket wireplumber.service 2>&1 | tee -a "$LOG" systemctl --user enable --now pipewire.socket pipewire-pulse.socket wireplumber.service 2>&1 | tee -a "$LOG"