aboutsummaryrefslogtreecommitdiff
path: root/templates/.config/alacritty/alacritty.yml
blob: e4763af16ec6d3f8fd75d65c62ea47062fe319bb (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
window:
  dimensions:
    columns: 0
    lines: 0
  padding:
    x: 2
    y: 2
  dynamic_padding: false
  decorations: full
{{- if eq .OS "darwin" }}
  startup_mode: Fullscreen
{{ end }}

font:
  normal:
    family: Fira Code
    style: Regular
  bold:
    family: Fira Code
    style: Bold
  size: {{ if eq .OS "darwin" }}13.0{{ else }}10.0{{ end }}
  offset:
    x: 0
    y: 0
  glyph_offset:
    x: 0
    y: 0
  use_thin_strokes: true

debug:
  persistent_logging: false

draw_bold_text_with_bright_colors: true

{{ with .Vars.Colors }}
colors:
  primary:
    background: '{{ .BG }}'
    foreground: '{{ .FG }}'
  cursor:
    text:   '{{ .FG }}'
    cursor: '{{ .Cursor }}'
  normal:
    black:   '{{ .Black }}'
    red:     '{{ .Red }}'
    green:   '{{ .Green }}'
    yellow:  '{{ .Yellow }}'
    blue:    '{{ .Blue }}'
    magenta: '{{ .Magenta }}'
    cyan:    '{{ .Cyan }}'
    white:   '{{ .White }}'
  bright:
    black:   '{{ .BrightBlack }}'
    red:     '{{ .BrightRed }}'
    green:   '{{ .BrightGreen }}'
    yellow:  '{{ .BrightYellow }}'
    blue:    '{{ .BrightBlue }}'
    magenta: '{{ .BrightMagenta }}'
    cyan:    '{{ .BrightCyan }}'
    white:   '{{ .BrightWhite }}'
{{ end }}

visual_bell:
  animation: EaseOutExpo
  duration: 0
  color: '0xffffff'

background_opacity: 1.0

mouse_bindings:
  - { mouse: Middle, action: PasteSelection }

mouse:
  double_click: { threshold: 300 }
  triple_click: { threshold: 300 }
  hide_when_typing: false

  url:
    modifiers: None

selection:
  semantic_escape_chars: ",│`|:\"' ()[]{}<>"
  save_to_clipboard: false

dynamic_title: true

cursor:
  style: Block
  unfocused_hollow: true

live_config_reload: true

{{ if eq .OS "darwin" }}
shell:
  program: /usr/local/bin/tmux
{{ else }}
shell:
  program: /bin/zsh
{{ end }}

alt_send_esc: true