mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: change default geometry from 800x600 -> 700x500
If the display resolution *is* 800x600, using this size is bad since there will typically be panels and other things on the screen too. Not that 800x600 is something we expect to see in real life, but may happen on virtual displays.
This commit is contained in:
parent
e01030f99f
commit
5717a0dfb0
3 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ _arguments \
|
|||
'(-f --font)'{-f,--font}'[font name and style in fontconfig format (monospace)]:font:->fonts' \
|
||||
'(-t --term)'{-t,--term}'[value to set the environment variable TERM to (foot)]:term:->terms' \
|
||||
'--login-shell[start shell as a login shell]' \
|
||||
'(-g --geometry)'{-g,--geometry}'[window WIDTHxHEIGHT, in pixels (800x600)]:geometry:()' \
|
||||
'(-g --geometry)'{-g,--geometry}'[window WIDTHxHEIGHT, in pixels (700x50)]:geometry:()' \
|
||||
'(-s --server)'{-s,--server}'[run as server; open terminals by running footclient]:server:_files' \
|
||||
'--hold[remain open after child process exits]' \
|
||||
'(-p --print-pid)'{-p,--print-pid}'[print PID to this file or FD when up and running (server mode only)]:pidfile:_files' \
|
||||
|
|
|
|||
4
config.c
4
config.c
|
|
@ -491,8 +491,8 @@ config_load(struct config *conf, const char *conf_path)
|
|||
*conf = (struct config) {
|
||||
.term = strdup("foot"),
|
||||
.shell = get_shell(),
|
||||
.width = 800,
|
||||
.height = 600,
|
||||
.width = 700,
|
||||
.height = 500,
|
||||
.pad_x = 2,
|
||||
.pad_y = 2,
|
||||
.fonts = tll_init(),
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ execute (instead of the shell).
|
|||
Default: _monospace_.
|
||||
|
||||
*-g*,*--geometry*=_WIDTHxHEIGHT_
|
||||
Set initial window width and height. Default: *800x600*.
|
||||
Set initial window width and height. Default: *700x500*.
|
||||
|
||||
*-t*,*--term*=_TERM_
|
||||
Value to set the environment variable *TERM* to. Default: *foot*.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue