summaryrefslogtreecommitdiff
path: root/alacritty.yml
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-06-30 09:04:06 -0700
committerJoe Wilm <joe@jwilm.com>2016-06-30 09:04:06 -0700
commitd304ea9b774662ca05384b6633507362e389f7a9 (patch)
tree7bb6780b7296bbed87d174409e9777a54e41cfd1 /alacritty.yml
parent58146acea5ea021884bd58a739b24e98bcb81edf (diff)
downloadalacritty-d304ea9b774662ca05384b6633507362e389f7a9.tar.gz
alacritty-d304ea9b774662ca05384b6633507362e389f7a9.zip
Add config file
Configuration may now be specified in either `$HOME/.alacritty.yml` or `$HOME/.config/alacritty.yml`. See `alacritty.yml` in the repository root for an example. When a configuration file cannot be located, a default configuration is used.
Diffstat (limited to 'alacritty.yml')
-rw-r--r--alacritty.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml
new file mode 100644
index 00000000..e0d1d3fa
--- /dev/null
+++ b/alacritty.yml
@@ -0,0 +1,21 @@
+# Configuration for Alacritty, the GPU enhanced terminal emulator
+
+# The FreeType rasterizer needs to know the device DPI for best results
+dpi:
+ x: 96.0
+ y: 96.0
+
+# Font configuration
+font:
+ family: DejaVu Sans Mono
+ style: Book
+ # Point size of the font
+ size: 11.0
+ # Offset is the extra space around each character. offset.y can be thought of
+ # as modifying the linespacing, and offset.x as modifying the letter spacing.
+ offset:
+ x: 2.0
+ y: -7.0
+
+# Should display the render timer
+render_timer: false