summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
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 f807124..ba43ca0 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -21,6 +21,12 @@ else
chmod 0700 "${XDG_RUNTIME_DIR}"
fi
+# Create other XDG directories
+export XDG_CACHE_HOME="${HOME}/.cache"
+export XDG_CONFIG_HOME="${HOME}/.config"
+export XDG_DATA_HOME="${HOME}/.local/share"
+export XDG_STATE_HOME="${HOME}/.local/state"
+
# Auto-start wm on tty1
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec mango