From 18531ddcc3c992799ead2ab5c8755e07db75d1b9 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 3 Jan 2024 02:29:11 +0100 Subject: [PATCH] Fix for annoying fucking errors my god --- init.source | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.source b/init.source index 178bd68..18575c9 100644 --- a/init.source +++ b/init.source @@ -48,7 +48,9 @@ export "XDG_CONFIG_HOME=${HOME}/.config" export "XDG_CACHE_HOME=${HOME}/.cache" export "XDG_DATA_HOME=${HOME}/.local/share" export "XDG_STATE_HOME=${HOME}/.local/state" -export "XDG_RUNTIME_DIR=/tmp/${UID}/" +if [ -z "${XDG_RUNTIME_DIR}" ]; then + export "XDG_RUNTIME_DIR=/tmp/${UID}" +fi export "XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/flatpak/exports/share:${HOME}/.local/share/flatpak/exports/share" export "XDG_CONFIG_DIRS=/etc/xdg"