diff --git a/README.org b/README.org index 26b2f6c..dbd7eda 100644 --- a/README.org +++ b/README.org @@ -768,7 +768,7 @@ X11, or X[fn:25] is the generic name for the X Window System Display Server. All export XAUTHORITY=/tmp/Xauthority export xserverauthfile=/tmp/xserverauth [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY" - [ -e ~/.xserverauth*] && mv -f ~/.xserverauth* "$xserverauthfile" + [ -e ~/.serverauth.* ] && mv -f ~/.serverauth.* "$xserverauthfile" ''; }; diff --git a/modules/x11.nix b/modules/x11.nix index f75d611..9fddfd1 100644 --- a/modules/x11.nix +++ b/modules/x11.nix @@ -18,7 +18,7 @@ export XAUTHORITY=/tmp/Xauthority export xserverauthfile=/tmp/xserverauth [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY" - [ -e ~/.xserverauth*] && mv -f ~/.xserverauth* "$xserverauthfile" + [ -e ~/.serverauth.* ] && mv -f ~/.serverauth.* "$xserverauthfile" ''; };