2019-11-03 13:47:19 +01:00
|
|
|
footclient(1)
|
|
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
footclient - start new terminals in a foot server
|
|
|
|
|
|
|
|
|
|
# SYNOPSIS
|
2020-08-03 02:53:25 +01:00
|
|
|
*footclient* [_OPTIONS_]++
|
|
|
|
|
*footclient* [_OPTIONS_] <_command_> [_COMMAND OPTIONS_]
|
2019-11-03 13:47:19 +01:00
|
|
|
|
2020-05-08 18:43:03 +02:00
|
|
|
All trailing (non-option) arguments are treated as a command, and its
|
|
|
|
|
arguments, to execute (instead of the default shell).
|
2019-11-03 13:47:19 +01:00
|
|
|
|
2020-08-13 18:34:44 +02:00
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
|
|
*footclient* is used together with *foot*(1) in *--server*
|
|
|
|
|
mode.
|
|
|
|
|
|
|
|
|
|
Running it without arguments will open a new terminal window (hosted
|
|
|
|
|
in the foot server), with your default shell. The exit code will be
|
2021-05-01 10:58:35 +02:00
|
|
|
that of the terminal. I.e *footclient* does not exit until the
|
|
|
|
|
terminal has terminated.
|
2020-08-13 18:34:44 +02:00
|
|
|
|
2019-11-03 13:47:19 +01:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
|
|
*-t*,*--term*=_TERM_
|
2020-04-01 18:40:51 +02:00
|
|
|
Value to set the environment variable *TERM* to. Default: _foot_.
|
|
|
|
|
|
2020-11-23 19:19:19 +01:00
|
|
|
*-T*,*--title*=_TITLE_
|
2020-04-01 19:59:47 +02:00
|
|
|
Initial window title. Default: _foot_.
|
|
|
|
|
|
2020-04-01 18:40:51 +02:00
|
|
|
*-a*,*--app-id*=_ID_
|
|
|
|
|
Value to set the *app-id* property on the Wayland window
|
|
|
|
|
to. Default: _foot_.
|
2019-11-03 13:47:19 +01:00
|
|
|
|
2020-11-22 18:36:37 +00:00
|
|
|
*-w*,*--window-size-pixels*=_WIDTHxHEIGHT_
|
|
|
|
|
Set initial window width and height, in pixels. Default: _700x500_.
|
|
|
|
|
|
|
|
|
|
*-W*,*--window-size-chars*=_WIDTHxHEIGHT_
|
|
|
|
|
Set initial window width and height, in characters. Default: _not set_.
|
|
|
|
|
|
2020-11-23 19:19:19 +01:00
|
|
|
*-m*,*--maximized*
|
2020-03-27 21:14:49 +01:00
|
|
|
Start in maximized mode. If both *--maximized* and *--fullscreen*
|
|
|
|
|
are specified, the _last_ one takes precedence.
|
|
|
|
|
|
2020-11-23 19:19:19 +01:00
|
|
|
*-F*,*--fullscreen*
|
2020-03-27 21:14:49 +01:00
|
|
|
Start in fullscreen mode. If both *--maximized* and *--fullscreen*
|
|
|
|
|
are specified, the _last_ one takes precedence.
|
|
|
|
|
|
2020-11-23 19:19:19 +01:00
|
|
|
*-L*,*--login-shell*
|
2020-02-20 18:36:52 +01:00
|
|
|
Start a login shell, by prepending a '-' to argv[0].
|
|
|
|
|
|
2021-02-12 09:43:30 +01:00
|
|
|
*-D*,*--working-directory*=_DIR_
|
|
|
|
|
Initial working directory for the client application. Default:
|
|
|
|
|
_CWD of footclient_.
|
|
|
|
|
|
2019-12-14 13:01:54 +01:00
|
|
|
*-s*,*--server-socket*=_PATH_
|
2020-08-02 13:10:31 +02:00
|
|
|
Connect to _PATH_ instead of
|
|
|
|
|
*$XDG\_RUNTIME\_DIR/foot-$WAYLAND\_DISPLAY.sock*.
|
2019-12-14 13:01:54 +01:00
|
|
|
|
2020-11-23 19:19:19 +01:00
|
|
|
*-H*,*--hold*
|
2020-05-26 20:12:44 +02:00
|
|
|
Remain open after child process exits.
|
|
|
|
|
|
2021-03-13 07:49:57 -03:00
|
|
|
*-N*,*--no-wait*
|
|
|
|
|
Detach the client process from the running terminal, exiting
|
|
|
|
|
immediately.
|
|
|
|
|
|
2021-02-09 21:11:30 +01:00
|
|
|
*-d*,*--log-level*={*info*,*warning*,*error*}
|
|
|
|
|
Log level, used both for log output on stderr as well as
|
|
|
|
|
syslog. Default: _info_.
|
|
|
|
|
|
2020-02-05 19:54:16 +01:00
|
|
|
*-l*,*--log-colorize*=[{*never*,*always*,*auto*}]
|
|
|
|
|
Enables or disables colorization of log output on stderr.
|
|
|
|
|
|
2019-11-03 13:47:19 +01:00
|
|
|
*-v*,*--version*
|
|
|
|
|
Show the version number and quit
|
|
|
|
|
|
2021-05-01 10:58:35 +02:00
|
|
|
# EXIT STATUS
|
|
|
|
|
|
|
|
|
|
Footlient will exit with code 220 if there is a failure in footclient
|
|
|
|
|
itself (for example, the server socket does not exist).
|
|
|
|
|
|
|
|
|
|
If *-N*,*--no-wait* is used, footclient exits with code 0 as soon as
|
|
|
|
|
the foot server has been instructed to open a new window.
|
|
|
|
|
|
|
|
|
|
If not, footclient may also exit with code 230. This indicates a
|
|
|
|
|
failure in the foot server.
|
|
|
|
|
|
|
|
|
|
In all other cases the exit code is that of the client application
|
|
|
|
|
(i.e. the shell).
|
|
|
|
|
|
2021-05-30 03:29:31 +01:00
|
|
|
# ENVIRONMENT
|
|
|
|
|
|
|
|
|
|
The following environment variables are used by footclient:
|
|
|
|
|
|
|
|
|
|
*XDG\_RUNTIME\_DIR*
|
|
|
|
|
Used to construct the default _PATH_ for the *--server-socket*
|
|
|
|
|
option, when no explicit argument is given (see above).
|
|
|
|
|
|
|
|
|
|
*WAYLAND\_DISPLAY*
|
|
|
|
|
Used to construct the default _PATH_ for the *--server-socket*
|
|
|
|
|
option, when no explicit argument is given (see above).
|
|
|
|
|
|
|
|
|
|
The following environment variables are set in the child process:
|
|
|
|
|
|
|
|
|
|
*TERM*
|
|
|
|
|
terminfo/termcap identifier. This is used by client applications
|
|
|
|
|
to determine which capabilities a terminal supports. The value is
|
|
|
|
|
set according to either the *--term* command-line option or the
|
|
|
|
|
*term* config option in *foot.ini*(5).
|
|
|
|
|
|
|
|
|
|
*COLORTERM*
|
|
|
|
|
This variable is set to *truecolor*, to indicate to client
|
|
|
|
|
applications that 24-bit RGB colors are supported.
|
|
|
|
|
|
2019-11-03 13:47:19 +01:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
|
|
*foot*(1)
|