summaryrefslogtreecommitdiff
path: root/alacritty/alacritty.yml
blob: a32f0b25c23028a18880354b1ddaaf8d95f70c8d (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
102
103
104
105
106
107
108
109
110
# Alacritty Configuration
env:
  TERM: xterm-256color

# Windows
window:
  dimensions:
    columns: 100
    lines: 25
  padding:
    x: 5
    y: 5
  dynamic_padding: true
  decorations: none
  startup_mode: Windowed
  title: Alacritty

# Scrolling
scrolling:
  # Maximum number of lines in the scrollback buffer.
  # Specifying '0' will disable scrolling.
  history: 100000

  # Number of lines the viewport will move for every line scrolled when
  # scrollback is enabled (history > 0).
  multiplier: 3

# Visual Bell
bell:
  animation: EaseOutExpo
  color: '0xffffff'
  duration: 0

# Background opacity
background_opacity: 0.96

# Font Configuration
font:
  normal:
    family: Sarasa Term K
    # style: Nerd

  bold:
    family: Sarasa Term K
  italic:
    family: Sarasa Term K
    # style: "Medium Italic"

  size: 14.0

  offset:
    x: 0
    y: 0

  glyph_offset:
    x: 0
    y: 0

draw_bold_text_with_bright_colors: true

mouse:
  # Click settings
  #
  # The `double_click` and `triple_click` settings control the time
  # alacritty should wait for accepting multiple clicks as one double
  # or triple click.
  double_click: { threshold: 300 }
  triple_click: { threshold: 300 }
  hide_when_typing: false

#cursor:
  style:
    # Cursor shape
    #
    # Values for `shape`:
    #   - ▇ Block
    #   - _ Underline
    #   - | Beam
    shape: Beam
    blinking: On
    blink_interval: 750

# Selection colors
colors:
  # Default colors
  primary:
    background: '0x2a2f33'
    foreground: '0xb3cfa7'

  # Normal colors
  normal:
    black:   '0x212529'
    red:     '0xea5252'
    green:   '0xacb765'
    yellow:  '0xc1bf89'
    blue:    '0x82abbc'
    magenta: '0xb18a97'
    cyan:    '0x88b482'
    white:   '0xb3cfa7'

  # Bright colors
  bright:
    black:   '0x31363b'
    red:     '0xea5252'
    green:   '0xacb765'
    yellow:  '0xc1bf89'
    blue:    '0x82abbc'
    magenta: '0xb18a97'
    cyan:    '0x89b482'
    white:   '0xb3cfa7'