From 5e26d3ef470bc1129e7fb442334e34dcbb045d12 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 2 Aug 2020 13:10:31 +0200 Subject: server/client: use $WAYLAND_DISPLAY instead of $XDG_SESSION_ID in default socket path Foot is a Wayland client and cannot be run outside of a Wayland session. As such, it makes more sense to use $WAYLAND_SESSION instead of $XDG_SESSION_ID in the default socket path since this makes it clearer which Wayland session we belong to. Closes #55. --- doc/foot.1.scd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/foot.1.scd') diff --git a/doc/foot.1.scd b/doc/foot.1.scd index bf45777e..55c82e18 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -81,13 +81,13 @@ arguments, to execute (instead of the default shell). others with it. The default path is - *$XDG\_RUNTIME\_DIR/foot-$XDG\_SESSION\_ID.sock*. + *$XDG\_RUNTIME\_DIR/foot-$WAYLAND\_DISPLAY.sock*. - If *$XDG_RUNTIME_DIR* is not set, the default path is instead + If *$XDG\_RUNTIME\_DIR* is not set, the default path is instead */tmp/foot.sock*. - If *$XDG_RUNTIME_DIR* is set, but *$XDG_SESSION_ID* is not, the - default path is *$XDG_RUNTIME_DIR/foot-no-session.sock*. + If *$XDG\_RUNTIME\_DIR* is set, but *$WAYLAND\_DISPLAY* is not, + the default path is *$XDG\_RUNTIME\_DIR/foot.sock*. Note that if you change the default, you will also need to use the *--server-socket* option in *footclient*(1) and point it to your -- cgit v1.3