aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-09-03 10:16:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-09-03 10:17:46 +0000
commit2d1ded183ac1c79b93f2674fed3ec7c0def65075 (patch)
tree1d66ea0cdb383c4497e3af62e04420c7914ea0d4
parentMerge branch 'releases/1.13' (diff)
config: change default ‘pad’ to 0x0 (i.e. no padding)
-rw-r--r--CHANGELOG.md1
-rw-r--r--config.c4
-rw-r--r--doc/foot.ini.5.scd2
-rw-r--r--foot.ini2
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=<COLSxROWS>
# 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}