summaryrefslogtreecommitdiff
path: root/.config/login.d
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 14:38:51 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 14:41:28 -0500
commita394973ffedc02a3ea622b353fecbd078b8c0f8e (patch)
treed72aa14d25b7f513ec6530aef64fb98cdcf8a6ea /.config/login.d
parentfa68e4a8bab90a575766c54a8ebca086d32e106c (diff)
Have the link to XDG_RUNTIME_DIR be at ~/.runtime/HOSTNAME
Diffstat (limited to '.config/login.d')
-rw-r--r--.config/login.d/90_dot-runtime.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/login.d/90_dot-runtime.sh b/.config/login.d/90_dot-runtime.sh
index d597cc7..87d30ec 100644
--- a/.config/login.d/90_dot-runtime.sh
+++ b/.config/login.d/90_dot-runtime.sh
@@ -1 +1,4 @@
-ln -sfT -- "$XDG_RUNTIME_DIR" ~/.runtime
+# This is really only needed for ssh ControlPath; as I don't have a
+# way to communicate XD
+mkdir -p -- ~/.runtime
+ln -sfT -- "$XDG_RUNTIME_DIR" ~/.runtime/"$HOSTNAME"