summaryrefslogtreecommitdiffstats
path: root/pulseaudio/pulseaudio.xinit
diff options
context:
space:
mode:
Diffstat (limited to 'pulseaudio/pulseaudio.xinit')
-rw-r--r--pulseaudio/pulseaudio.xinit11
1 files changed, 8 insertions, 3 deletions
diff --git a/pulseaudio/pulseaudio.xinit b/pulseaudio/pulseaudio.xinit
index ca510e8..b2ce715 100644
--- a/pulseaudio/pulseaudio.xinit
+++ b/pulseaudio/pulseaudio.xinit
@@ -1,7 +1,12 @@
#!/bin/sh
+# to be sourced
case "$SESSION" in
- GNOME|KDE*|xfce4) # PulseAudio is started via XDG Autostart
- ;;
- *) /usr/bin/start-pulseaudio-x11 ;;
+ GNOME|KDE*|xfce4)
+ # XDG is supported so we don't need to do anything.
+ # as XDG Autostart will "just work"(tm)
+ ;;
+ *)
+ /usr/bin/start-pulseaudio-x11
+ ;;
esac