diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-09-07 20:37:27 +0000 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-09-07 20:37:27 +0000 |
| commit | 8db7ed9f3d61588e1e2a7c1b1409e7810c6e8f8f (patch) | |
| tree | 0cb93e36f361eb6f319bcc86b5d62ce91026e62d /dot.profile | |
| parent | 3bf5e6834dbc88471f62d5405a9113fb304ca6b6 (diff) | |
| download | dots-8db7ed9f3d61588e1e2a7c1b1409e7810c6e8f8f.tar.gz | |
Reorder dot files so they make more sense for X sessions
Diffstat (limited to 'dot.profile')
| -rw-r--r-- | dot.profile | 3 |
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 |