diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-29 10:01:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-29 10:01:23 +0000 |
| commit | 5717a0dfb07d4d302186277a5b6d20ef7d12898c (patch) | |
| tree | 1e348fe84b11ebce09d1e8c779a87ba768255d8f | |
| parent | render: csd: bump title bar height from 20 -> 26 (diff) | |
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.
| -rw-r--r-- | completions/zsh/_foot | 2 | ||||
| -rw-r--r-- | config.c | 4 | ||||
| -rw-r--r-- | doc/foot.1.scd | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/completions/zsh/_foot b/completions/zsh/_foot index 0132604a..c573d4cf 100644 --- a/completions/zsh/_foot +++ b/completions/zsh/_foot @@ -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' \ @@ -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(), diff --git a/doc/foot.1.scd b/doc/foot.1.scd index 97815066..5b3c07cc 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -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*. |
