summaryrefslogtreecommitdiffstats
path: root/alacritty_macos.yml
diff options
context:
space:
mode:
authorTuomas Siipola <siiptuo@kapsi.fi>2017-05-06 08:45:23 -0700
committerJoe Wilm <jwilm@users.noreply.github.com>2017-05-06 12:53:54 -0700
commit9316771f64842533181cfb04a27aa9ae809cc435 (patch)
tree364cf490246fba9d86bc02ce67aeda43a1610f48 /alacritty_macos.yml
parent149fbaef09a56613c72855bc60355c7848256500 (diff)
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_macos.yml')
-rw-r--r--alacritty_macos.yml7
1 files changed, 7 insertions, 0 deletions
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: