summaryrefslogtreecommitdiff
path: root/bash_profile
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2026-01-10 17:34:28 -0800
committerThomas Ulmer <thomasmulmer02@gmail.com>2026-01-10 17:34:53 -0800
commitb90854bf91bba05e702e6081b5a3f62bf9404540 (patch)
treeba035afa573d4f25af8b15feee457f1db79afcd2 /bash_profile
parent23189d58601ab096259826038a30afd5a9ab30fb (diff)
init: auto config for pulse vs pipewire
Diffstat (limited to 'bash_profile')
-rw-r--r--bash_profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash_profile b/bash_profile
index 05b61f8..88f4ed4 100644
--- a/bash_profile
+++ b/bash_profile
@@ -1,5 +1,11 @@
# This file is sourced by bash for login shells. The following line
# runs your .bashrc and is recommended by the bash info pages.
+
+# Ensure XDG_RUNTIME_DIR is set
+if test -z "$XDG_RUNTIME_DIR"; then
+ export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
+fi
+
if [[ -f ~/.bashrc ]] ; then
. ~/.bashrc
fi