void-packages/srcpkgs/pulseaudio/files/pulseaudio.xinit

11 lines
236 B
Bash

#!/bin/sh
case "$DESKTOP_SESSION" in
gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
;;
*)
if [ -z "$KDE_FULL_SESSION" -a -z "$GNOME_DESKTOP_SESSION_ID" ]; then
/usr/bin/start-pulseaudio-x11
fi
;;
esac