From e14c592f39dac97a5045f5f6ec1aa1ca0192532b Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 6 Jan 2021 11:17:29 +0100 Subject: config: add optional ‘center’ argument to ‘pad’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When set, the grid contents is centered in the window. I.e. the left/right and top/bottom margins are equal (+- 1px). This causes the content to “jump” while doing an interactive resize, but may still be preferred in e.g. a tiling WM. Closes #273 --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index a1b27c04..21b79230 100644 --- a/config.h +++ b/config.h @@ -70,6 +70,7 @@ struct config { unsigned pad_x; unsigned pad_y; + bool center; bool bold_in_bright; enum { -- cgit v1.3