aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Gautier <mg@max.gautier.name>2023-03-09 13:13:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-21 06:12:49 +0000
commitc12db68363131d189d8410bf2994d70919229021 (patch)
tree25e0d489630318658793587f22df75abcb8edf19 /doc
parentvt: improve handling of HTS (diff)
footclient: fallback logic when socket paths don't exist
Even if WAYLAND_DISPLAY / XDG_RUNTIME_DIR are defined, if we can't find the corresponding socket, we fallback to the path used when they are not defined.
Diffstat (limited to 'doc')
-rw-r--r--doc/footclient.1.scd5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd
index 1464700c..7d89b9ed 100644
--- a/doc/footclient.1.scd
+++ b/doc/footclient.1.scd
@@ -146,6 +146,11 @@ terminfo entries manually, by copying *foot* and *foot-direct* to
Used to construct the default _PATH_ for the *--server-socket*
option, when no explicit argument is given (see above).
+If the socket at default _PATH_ does not exist, *footclient* will
+fallback to the less specific path, with the following priority:
+*$XDG\_RUNTIME\_DIR/foot-$WAYLAND\_DISPLAY.sock*,
+*$XDG\_RUNTIME\_DIR/foot.sock*, */tmp/foot.sock*.
+
## Variables set in the child process
*TERM*