mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
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.
This commit is contained in:
parent
728e23863c
commit
758fd9fd58
7 changed files with 69 additions and 9 deletions
|
|
@ -15,6 +15,14 @@ execute (instead of the shell).
|
|||
*-t*,*--term*=_TERM_
|
||||
Value to set the environment variable _TERM_ to. Default: _foot_.
|
||||
|
||||
*--maximized*
|
||||
Start in maximized mode. If both *--maximized* and *--fullscreen*
|
||||
are specified, the _last_ one takes precedence.
|
||||
|
||||
*--fullscreen*
|
||||
Start in fullscreen mode. If both *--maximized* and *--fullscreen*
|
||||
are specified, the _last_ one takes precedence.
|
||||
|
||||
*--login-shell*
|
||||
Start a login shell, by prepending a '-' to argv[0].
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue