diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 14:34:02 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 15:39:51 -0400 |
commit | 969410c5af909199724973b8851fcb6bf19eaba2 (patch) | |
tree | 14d7e75ecebda9439a4a96b647e13ecb2d66622a /.config/login.d/90_symlink_xdg_runtime_dir.sh | |
parent | c0a9c2902e60cc980343a65f5519e7c9e2dcd081 (diff) |
clean up XDG_RUNTIME_DIR handling
Diffstat (limited to '.config/login.d/90_symlink_xdg_runtime_dir.sh')
-rw-r--r-- | .config/login.d/90_symlink_xdg_runtime_dir.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/login.d/90_symlink_xdg_runtime_dir.sh b/.config/login.d/90_symlink_xdg_runtime_dir.sh new file mode 100644 index 0000000..b89f7b1 --- /dev/null +++ b/.config/login.d/90_symlink_xdg_runtime_dir.sh @@ -0,0 +1,4 @@ +# This is really only needed for ssh ControlPath; as I don't have a +# way to communicate XDG_RUNTIME_DIR +mkdir -p -- "$XDG_CACHE_HOME/xdg-runtime-dir" +ln -sfT -- "$XDG_RUNTIME_DIR" "$XDG_CACHE_HOME/xdg-runtime-dir/$HOSTNAME" |