aboutsummaryrefslogtreecommitdiffstats
path: root/bus/xinit
blob: de6c82427014236e7dfa27890f88636b3e6e7ccd (plain) (blame)
1
2
3
4
5
6
7
8
9
# -*- shell-script -*-

# Create buses
if test -z "${XDG_RUNTIME_DIR}"; then
    export XDG_RUNTIME_DIR='/tmp/.~'"$(whoami)"
fi
mkdir -p "${XDG_RUNTIME_DIR}/@bus"
export BUS_AUDIO="${XDG_RUNTIME_DIR}/@bus/audio"
bus create "${BUS_AUDIO}"