mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
client: add new "--window-size-*" options to docs and CHANGELOG.md
This commit is contained in:
parent
748f98e0c0
commit
b8fc2e19da
4 changed files with 12 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ means foot can be PGO:d in e.g. sandboxed build scripts. See
|
|||
implements foot's old font sizing behavior. But, when **disabled**,
|
||||
foot will ignore the monitors' DPI and instead size fonts using the
|
||||
scale factor alone (https://codeberg.org/dnkl/foot/issues/206).
|
||||
* `-w,--window-size-pixels` and `-W,--window-size-chars` command line
|
||||
options to `footclient`.
|
||||
|
||||
|
||||
### Changed
|
||||
|
|
|
|||
2
client.c
2
client.c
|
|
@ -37,6 +37,8 @@ print_usage(const char *prog_name)
|
|||
printf(" -t,--term=TERM value to set the environment variable TERM to (foot)\n"
|
||||
" --title=TITLE initial window title (foot)\n"
|
||||
" -a,--app-id=ID window application ID (foot)\n"
|
||||
" -w,--window-size-pixels=WIDTHxHEIGHT initial width and height, in pixels\n"
|
||||
" -W,--window-size-chars=WIDTHxHEIGHT initial width and height, in characters\n"
|
||||
" --maximized start in maximized mode\n"
|
||||
" --fullscreen start in fullscreen mode\n"
|
||||
" --login-shell start shell as a login shell\n"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ _arguments \
|
|||
'--maximized[start in maximized mode]' \
|
||||
'--fullscreen[start in fullscreen mode]' \
|
||||
'--login-shell[start shell as a login shell]' \
|
||||
'(-w --window-size-pixels)'{-w,--window-size-pixels}'[window WIDTHxHEIGHT, in pixels (700x500)]:size_pixels:()' \
|
||||
'(-W --window-size-chars)'{-W,--window-size-chars}'[window WIDTHxHEIGHT, in characters (not set)]:size_chars:()' \
|
||||
'(-s --server-socket)'{-s,--server-socket}'[override the default path to the foot server socket ($XDG_RUNTIME_DIR/foot-$WAYLAND_DISPLAY.sock)]:server:_files' \
|
||||
'--hold[remain open after child process exits]' \
|
||||
'(-l --log-colorize)'{-l,--log-colorize}'[enable or disable colorization of log output on stderr]:logcolor:(never always auto)' \
|
||||
|
|
|
|||
|
|
@ -32,6 +32,12 @@ terminal has terminated).
|
|||
Value to set the *app-id* property on the Wayland window
|
||||
to. Default: _foot_.
|
||||
|
||||
*-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_.
|
||||
|
||||
*--maximized*
|
||||
Start in maximized mode. If both *--maximized* and *--fullscreen*
|
||||
are specified, the _last_ one takes precedence.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue