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}"