diff options
author | Tuomas Siipola <siiptuo@kapsi.fi> | 2017-05-06 08:45:23 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-06 12:53:54 -0700 |
commit | 9316771f64842533181cfb04a27aa9ae809cc435 (patch) | |
tree | 364cf490246fba9d86bc02ce67aeda43a1610f48 /alacritty.yml | |
parent | 149fbaef09a56613c72855bc60355c7848256500 (diff) | |
download | alacritty-9316771f64842533181cfb04a27aa9ae809cc435.tar.gz alacritty-9316771f64842533181cfb04a27aa9ae809cc435.zip |
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.
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml index f37e6ccb..5b6b5e63 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -20,6 +20,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: |