mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
13 lines
301 B
Text
13 lines
301 B
Text
|
#!/bin/bash
|
||
|
|
||
|
case "$DESKTOP_SESSION" in
|
||
|
gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
|
||
|
;;
|
||
|
*)
|
||
|
# Extra checks in case DESKTOP_SESSION is not set correctly
|
||
|
if [[ -z $KDE_FULL_SESSION && -z $GNOME_DESKTOP_SESSION_ID ]]; then
|
||
|
/usr/bin/start-pulseaudio-x11
|
||
|
fi
|
||
|
;;
|
||
|
esac
|