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 /main.c | |
| 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 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ print_usage(const char *prog_name) " --login-shell start shell as a login shell\n" " -g,--geometry=WIDTHxHEIGHT set initial width and height\n" " -s,--server[=PATH] run as a server (use 'footclient' to start terminals).\n" - " Without PATH, $XDG_RUNTIME_DIR/foot-$XDG_SESSION_ID.sock will be used.\n" + " Without PATH, $XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock will be used.\n" " --hold remain open after child process exits\n" " -p,--print-pid=FILE|FD print PID to file or FD (only applicable in server mode)\n" " -l,--log-colorize=[never|always|auto] enable/disable colorization of log output on stderr\n" |
