diff --git a/utils/common.sh b/utils/common.sh index 520b4ed6..c19de2ea 100644 --- a/utils/common.sh +++ b/utils/common.sh @@ -71,6 +71,8 @@ function detect_sound() { export PULSE_SERVER="$PULSE_SOCKET_WSL2" SOUND_SERVER="$(pactl info | awk -F":" '$1 ~ /Server Name/ { print $2 }' | sed 's/^ *//')" export SOUND_SERVER + else + SOUND_SERVER="N/A" fi # Looking for strictly for pipepire process elif [ "$(pgrep -a -f "pipewire$" | awk -F"/" '{ print $NF }' 2>>"$LOG_FILE")" == "pipewire" ]; then