diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-27 20:14:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-27 20:14:49 +0000 |
| commit | 758fd9fd58b25ab285868db7f36afdf9378df733 (patch) | |
| tree | 6cf37e07209b972f42485a99d968f31721282d79 /completions | |
| parent | foot: add --maximized and --fullscreen command line options (diff) | |
client: add --maximized and --fullscreen
We now create a copy of the config for each client, and updates it
with the values passed from the client.
Since we're not actually cloning it (and e.g. strdup() all strings
etc) we can't call conf_destroy() to free it, but need to free just
the strings we've replaced.
Diffstat (limited to 'completions')
| -rw-r--r-- | completions/zsh/_footclient | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/completions/zsh/_footclient b/completions/zsh/_footclient index 75a99b95..7f8c8009 100644 --- a/completions/zsh/_footclient +++ b/completions/zsh/_footclient @@ -3,6 +3,8 @@ _arguments \ -s \ '(-t --term)'{-t,--term}'[value to set the environment variable TERM to (foot)]:term:->terms' \ + '--maximized[start in maximized mode]' \ + '--fullscreen[start in fullscreen mode]' \ '--login-shell[start shell as a login shell]' \ '(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket (XDG_RUNTIME_DIR/foot.sock)]:server:_files' \ '(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \ |
