support four-sided padding (left/top/right/bottom)

This commit is contained in:
pi66 2025-12-19 12:17:29 +01:00 committed by Daniel Eklöf
parent fbf4304731
commit 21485fa66d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 69 additions and 29 deletions

View file

@ -232,8 +232,10 @@ struct config {
uint32_t height;
} size;
unsigned pad_x;
unsigned pad_y;
unsigned pad_left;
unsigned pad_top;
unsigned pad_right;
unsigned pad_bottom;
enum center_when center_when;
bool resize_by_cells;