aboutsummaryrefslogtreecommitdiff
path: root/common/.config/alacritty/alacritty.toml.org
blob: 992ed6361e24c8cfcd9eaa6127fb5af3c6494cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#+title: Alacritty Configuration

Remove window decorations.
#+begin_src conf :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
  [window]
  decorations = "None"
#+end_src

Make the window slightly transparent.
#+begin_src conf :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
  opacity = 0.9
#+end_src

Add slight padding around the text.
#+begin_src conf :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
  padding = { x = 6, y = 6 }
#+end_src

Allow use of option as an alt key on Mac OS.
#+begin_src conf :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
  option_as_alt = "Both"
#+end_src

Use the same font as normal.
#+begin_src conf :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
  [font]
  normal = { family = "SauceCodePro Nerd Font", style = "Regular" }
  size = 14
#+end_src

#+begin_src conf :tangle ~/.config/alacritty/alacritty.toml :mkdirp yes
  [colors.primary]
  background = '#ece0c9'
  foreground = '#191916'

  [colors.normal]
  black   = '#191916'
  red     = '#ac4438'
  green   = '#354d52'
  yellow  = '#ba9151'
  blue    = '#465b91'
  magenta = '#5b5489'
  cyan    = '#4e6062'
  white   = '#c9ad7a'

  [colors.bright]
  black   = '#293c3c'
  red     = '#d8611c'
  green   = '#4b7b53'
  yellow  = '#d8974b'
  blue    = '#2f3d91'
  magenta = '#735e82'
  cyan    = '#6b8f92'
  white   = '#ece0c9'
#+end_src