diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-02 11:10:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-02 11:10:31 +0000 |
| commit | 5e26d3ef470bc1129e7fb442334e34dcbb045d12 (patch) | |
| tree | ef10126fed29cb0c7f2bc145eaf36557077d7a1c /doc/footclient.1.scd | |
| parent | main: update --help with correct default path for -s,--server (diff) | |
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.
Diffstat (limited to 'doc/footclient.1.scd')
| -rw-r--r-- | doc/footclient.1.scd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd index 4f65bf9d..88b6676c 100644 --- a/doc/footclient.1.scd +++ b/doc/footclient.1.scd @@ -34,7 +34,8 @@ arguments, to execute (instead of the default shell). Start a login shell, by prepending a '-' to argv[0]. *-s*,*--server-socket*=_PATH_ - Connect to _PATH_ instead of _XDG\_RUNTIME\_DIR/foot.sock_. + Connect to _PATH_ instead of + *$XDG\_RUNTIME\_DIR/foot-$WAYLAND\_DISPLAY.sock*. *--hold* Remain open after child process exits. |
