From 9316771f64842533181cfb04a27aa9ae809cc435 Mon Sep 17 00:00:00 2001 From: Tuomas Siipola Date: Sat, 6 May 2017 08:45:23 -0700 Subject: Add window padding option Padding can be configured by using the `padding` field in the config file, like so: padding: x: 2 y: 2 which would result in a 2px padding within each side of the window. --- alacritty_macos.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'alacritty_macos.yml') diff --git a/alacritty_macos.yml b/alacritty_macos.yml index fce6d4b5..54a00b38 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -19,6 +19,13 @@ dimensions: columns: 80 lines: 24 +# Adds this many blank pixels of padding around the window +# Units are physical pixels; this is not DPI aware. +# (change requires restart) +padding: + x: 2 + y: 2 + # The FreeType rasterizer needs to know the device DPI for best results # (changes require restart) dpi: -- cgit v1.2.3-54-g00ecf