summaryrefslogtreecommitdiffstats
path: root/dot.profile
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-09-07 20:37:27 +0000
committerChristoph Schlosser <christoph@linux.com>2025-09-07 20:37:27 +0000
commit8db7ed9f3d61588e1e2a7c1b1409e7810c6e8f8f (patch)
tree0cb93e36f361eb6f319bcc86b5d62ce91026e62d /dot.profile
parent3bf5e6834dbc88471f62d5405a9113fb304ca6b6 (diff)
downloaddots-8db7ed9f3d61588e1e2a7c1b1409e7810c6e8f8f.tar.gz
Reorder dot files so they make more sense for X sessions
Diffstat (limited to 'dot.profile')
-rw-r--r--dot.profile3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot.profile b/dot.profile
index 01dd70c..591129f 100644
--- a/dot.profile
+++ b/dot.profile
@@ -7,3 +7,6 @@ EDITOR=nvim
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
export PATH HOME TERM ENV EDITOR
+if [ $(uname) = "Linux" ]; then
+ export XDG_RUNTIME_DIR="/run/user/$(id -u)"
+fi