From 2d1ded183ac1c79b93f2674fed3ec7c0def65075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 3 Sep 2022 12:16:41 +0200 Subject: [PATCH] =?UTF-8?q?config:=20change=20default=20=E2=80=98pad?= =?UTF-8?q?=E2=80=99=20to=200x0=20(i.e.=20no=20padding)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + config.c | 4 ++-- doc/foot.ini.5.scd | 2 +- foot.ini | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cca3d366..15b0e55c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ * Default color theme from a variant of the Zenburn theme, to a variant of the Solarized dark theme. +* Default `pad` from 2x2 to 0x0 (i.e. no padding at all). ### Deprecated diff --git a/config.c b/config.c index 3ecb3db5..87452cd6 100644 --- a/config.c +++ b/config.c @@ -2821,8 +2821,8 @@ config_load(struct config *conf, const char *conf_path, .width = 700, .height = 500, }, - .pad_x = 2, - .pad_y = 2, + .pad_x = 0, + .pad_y = 0, .resize_delay_ms = 100, .bold_in_bright = { .enabled = false, diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index a0cf69f5..7382a1d2 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -210,7 +210,7 @@ commented out will usually be installed to */etc/xdg/foot/foot.ini*. To instead center the grid content, append *center* (e.g. *pad=5x5 center*). - Default: _2x2_. + Default: _0x0_. *resize-delay-ms* Time, in milliseconds, of "idle time" before foot sends the new diff --git a/foot.ini b/foot.ini index 926ed499..3b8b6f16 100644 --- a/foot.ini +++ b/foot.ini @@ -24,7 +24,7 @@ # initial-window-size-pixels=700x500 # Or, # initial-window-size-chars= # initial-window-mode=windowed -# pad=2x2 # optionally append 'center' +# pad=0x0 # optionally append 'center' # resize-delay-ms=100 # notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}