diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/login.sh | 5 | ||||
-rw-r--r-- | .config/ssh/config | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.config/login.sh b/.config/login.sh index 8f06b63..a74cd95 100644 --- a/.config/login.sh +++ b/.config/login.sh @@ -28,6 +28,7 @@ export TMPDIR="$HOME/tmp" # XDG ################################################################ . "$HOME/.local/lib/xdg.sh" +ln -sf -- "$XDG_RUNTIME_DIR/sessions" ~/.sessions # Settings ########################################################### @@ -70,7 +71,9 @@ export _JAVA_OPTIONS # X11 if [[ -z $XAUTHORITY ]]; then - export XAUTHORITY="$HOME/.Xauthority" + #export XAUTHORITY="$HOME/.Xauthority" + mkdir -p "${XDG_RUNTIME_DIR}/sessions" + export XAUTHORITY="${XDG_RUNTIME_DIR}/sessions/Xauthority" fi # D-Bus diff --git a/.config/ssh/config b/.config/ssh/config index d23340f..b6e53d6 100644 --- a/.config/ssh/config +++ b/.config/ssh/config @@ -1,7 +1,7 @@ Host * Protocol 2 ControlMaster auto - ControlPath ~/.ssh/master-%r@%h:%p + ControlPath ~/.sessions/ssh-%r@%h:%p Compression yes Host lore |