Alacritty

dedb469a6dd8d48272ee25ad2f8c404409c42334
Alexis Sellier committed ago 1 parent 31575f45
.config/alacritty/alacritty.yml added +597 -0
1 +
# Configuration for Alacritty, the GPU enhanced terminal emulator.
2 +
3 +
# Any items in the `env` entry below will be added as
4 +
# environment variables. Some entries may override variables
5 +
# set by alacritty itself.
6 +
env:
7 +
  # TERM variable
8 +
  #
9 +
  # This value is used to set the `$TERM` environment variable for
10 +
  # each instance of Alacritty. If it is not present, alacritty will
11 +
  # check the local terminfo database and use `alacritty` if it is
12 +
  # available, otherwise `xterm-256color` is used.
13 +
  TERM: xterm-256color
14 +
15 +
window:
16 +
  # Window dimensions (changes require restart)
17 +
  #
18 +
  # Specified in number of columns/lines, not pixels.
19 +
  # If both are `0`, this setting is ignored.
20 +
  dimensions:
21 +
    columns: 0
22 +
    lines: 0
23 +
24 +
  # Window position (changes require restart)
25 +
  #
26 +
  # Specified in number of pixels.
27 +
  # If the position is not set, the window manager will handle the placement.
28 +
  position:
29 +
    x: 0
30 +
    y: 0
31 +
32 +
  # Window padding (changes require restart)
33 +
  #
34 +
  # Blank space added around the window in pixels. This padding is scaled
35 +
  # by DPI and the specified value is always added at both opposing sides.
36 +
  padding:
37 +
    x: 2
38 +
    y: 2
39 +
40 +
  # Spread additional padding evenly around the terminal content.
41 +
  dynamic_padding: false
42 +
43 +
  # Window decorations
44 +
  #
45 +
  # Values for `decorations`:
46 +
  #     - full: Borders and title bar
47 +
  #     - none: Neither borders nor title bar
48 +
  #
49 +
  # Values for `decorations` (macOS only):
50 +
  #     - transparent: Title bar, transparent background and title bar buttons
51 +
  #     - buttonless: Title bar, transparent background, but no title bar buttons
52 +
  decorations: full
53 +
54 +
  # When true, alacritty starts maximized.
55 +
  start_maximized: false
56 +
57 +
scrolling:
58 +
  # Maximum number of lines in the scrollback buffer.
59 +
  # Specifying '0' will disable scrolling.
60 +
  history: 8192
61 +
62 +
  # Number of lines the viewport will move for every line scrolled when
63 +
  # scrollback is enabled (history > 0).
64 +
  multiplier: 3
65 +
66 +
  # Faux Scrolling
67 +
  #
68 +
  # The `faux_multiplier` setting controls the number of lines the terminal
69 +
  # should scroll when the alternate screen buffer is active. This is used
70 +
  # to allow mouse scrolling for applications like `man`.
71 +
  #
72 +
  # Specifying `0` will disable faux scrolling.
73 +
  faux_multiplier: 3
74 +
75 +
  # Scroll to the bottom when new text is written to the terminal.
76 +
  auto_scroll: false
77 +
78 +
# Spaces per Tab (changes require restart)
79 +
#
80 +
# This setting defines the width of a tab in cells.
81 +
#
82 +
# Some applications, like Emacs, rely on knowing about the width of a tab.
83 +
# To prevent unexpected behavior in these applications, it's also required to
84 +
# change the `it` value in terminfo when altering this setting.
85 +
tabspaces: 8
86 +
87 +
# Font configuration (changes require restart)
88 +
font:
89 +
  # Normal (roman) font face
90 +
  normal:
91 +
    # Font family
92 +
    #
93 +
    # Default:
94 +
    #   - (macOS) Menlo
95 +
    #   - (Linux) monospace
96 +
    #   - (Windows) Consolas
97 +
    family: Inconsolata
98 +
99 +
    # The `style` can be specified to pick a specific face.
100 +
    style: Regular
101 +
102 +
  # Bold font face
103 +
  bold:
104 +
    # Font family
105 +
    #
106 +
    # If the bold family is not specified, it will fall back to the
107 +
    # value specified for the normal font.
108 +
    family: Inconsolata
109 +
110 +
    # The `style` can be specified to pick a specific face.
111 +
    style: Bold
112 +
113 +
  # Italic font face
114 +
  italic:
115 +
    # Font family
116 +
    #
117 +
    # If the italic family is not specified, it will fall back to the
118 +
    # value specified for the normal font.
119 +
    family: Inconsolata
120 +
121 +
    # The `style` can be specified to pick a specific face.
122 +
    style: Italic
123 +
124 +
  # Point size
125 +
  size: 8.0
126 +
127 +
  # Offset is the extra space around each character. `offset.y` can be thought of
128 +
  # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
129 +
  offset:
130 +
    x: 0
131 +
    y: 0
132 +
133 +
  # Glyph offset determines the locations of the glyphs within their cells with
134 +
  # the default being at the bottom. Increasing `x` moves the glyph to the right,
135 +
  # increasing `y` moves the glyph upwards.
136 +
  glyph_offset:
137 +
    x: -1
138 +
    y: 0
139 +
140 +
  # Thin stroke font rendering (macOS only)
141 +
  #
142 +
  # Thin strokes are suitable for retina displays, but for non-retina screens
143 +
  # it is recommended to set `use_thin_strokes` to `false`
144 +
  #
145 +
  # macOS >= 10.14.x:
146 +
  #
147 +
  # If the font quality on non-retina display looks bad then set
148 +
  # `use_thin_strokes` to `true` and enable font smoothing by running the
149 +
  # following command:
150 +
  #   `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
151 +
  #
152 +
  # This is a global setting and will require a log out or restart to take
153 +
  # effect.
154 +
  use_thin_strokes: false
155 +
156 +
# Display the time it takes to redraw each frame.
157 +
render_timer: false
158 +
159 +
# Keep the log file after quitting Alacritty.
160 +
persistent_logging: false
161 +
162 +
# If `true`, bold text is drawn using the bright color variants.
163 +
draw_bold_text_with_bright_colors: true
164 +
165 +
# Colors
166 +
colors:
167 +
  # Default colors
168 +
  primary:
169 +
    background: '0x000000'
170 +
    foreground: '0xeaeaea'
171 +
172 +
    # Bright and dim foreground colors
173 +
    #
174 +
    # The dimmed foreground color is calculated automatically if it is not present.
175 +
    # If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
176 +
    # is `false`, the normal foreground color will be used.
177 +
    #dim_foreground: '0x9a9a9a'
178 +
    #bright_foreground: '0xffffff'
179 +
180 +
  # Cursor colors
181 +
  #
182 +
  # Colors which should be used to draw the terminal cursor. If these are unset,
183 +
  # the cursor color will be the inverse of the cell color.
184 +
  cursor:
185 +
    text: '0x000000'
186 +
    cursor: '#8B0000'
187 +
188 +
189 +
  # Selection colors
190 +
  #
191 +
  # Colors which should be used to draw the selection area. If selection
192 +
  # background is unset, selection color will be the inverse of the cell colors.
193 +
  # If only text is unset the cell text color will remain the same.
194 +
  selection:
195 +
    text: '0xeaeaea'
196 +
    background: '0x404040'
197 +
198 +
199 +
  # Normal colors
200 +
  normal:
201 +
    black:   '#000000' # Black
202 +
    red:     '#B03060' # Maroon
203 +
    green:   '#66CDAA' # Medium aquamarine
204 +
    yellow:  '#FFE4B5' # Moccasin
205 +
    blue:    '#483D8B' # Dark slate blue
206 +
    magenta: '#663399' # Rebecca purple
207 +
    cyan:    '#ADD8E6' # Light blue
208 +
    white:   '#BEBEBE' # Gray
209 +
210 +
  # Bright colors
211 +
  bright:
212 +
    black:   '#A9A9A9' # Dark gray
213 +
    red:     '#B03060' # Maroon
214 +
    green:   '#7FFFD4' # Aquamarine
215 +
    yellow:  '#FFE4B5' # Moccasin
216 +
    blue:    '#483D8B' # Dark slate blue
217 +
    magenta: '#663399' # Rebecca purple
218 +
    cyan:    '#ADD8E6' # Light blue
219 +
    white:   '#FFFFFF' # White
220 +
221 +
  # Dim colors
222 +
  #
223 +
  # If the dim colors are not set, they will be calculated automatically based
224 +
  # on the `normal` colors.
225 +
  #dim:
226 +
  #  black:   '0x000000'
227 +
  #  red:     '0x8c3336'
228 +
  #  green:   '0x7a8530'
229 +
  #  yellow:  '0x97822e'
230 +
  #  blue:    '0x506d8f'
231 +
  #  magenta: '0x80638e'
232 +
  #  cyan:    '0x497e7a'
233 +
  #  white:   '0x9a9a9a'
234 +
235 +
  # Indexed Colors
236 +
  #
237 +
  # The indexed colors include all colors from 16 to 256.
238 +
  # When these are not set, they're filled with sensible defaults.
239 +
  #
240 +
  # Example:
241 +
  #   `- { index: 16, color: '0xff00ff' }`
242 +
  #
243 +
  indexed_colors: []
244 +
245 +
# Visual Bell
246 +
#
247 +
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
248 +
# rung, the terminal background will be set to white and transition back to the
249 +
# default background color. You can control the rate of this transition by
250 +
# setting the `duration` property (represented in milliseconds). You can also
251 +
# configure the transition function by setting the `animation` property.
252 +
#
253 +
# Values for `animation`:
254 +
#   - Ease
255 +
#   - EaseOut
256 +
#   - EaseOutSine
257 +
#   - EaseOutQuad
258 +
#   - EaseOutCubic
259 +
#   - EaseOutQuart
260 +
#   - EaseOutQuint
261 +
#   - EaseOutExpo
262 +
#   - EaseOutCirc
263 +
#   - Linear
264 +
#
265 +
# Specifying a `duration` of `0` will disable the visual bell.
266 +
visual_bell:
267 +
  animation: EaseOutExpo
268 +
  duration: 0
269 +
  color: '0xffffff'
270 +
271 +
# Background opacity
272 +
#
273 +
# Window opacity as a floating point number from `0.0` to `1.0`.
274 +
# The value `0.0` is completely transparent and `1.0` is opaque.
275 +
background_opacity: 1.0
276 +
277 +
# Mouse bindings
278 +
#
279 +
# Available fields:
280 +
#   - mouse
281 +
#   - action
282 +
#   - mods (optional)
283 +
#
284 +
# Values for `mouse`:
285 +
#   - Middle
286 +
#   - Left
287 +
#   - Right
288 +
#   - Numeric identifier such as `5`
289 +
#
290 +
# All available `mods` and `action` values are documented in the key binding
291 +
# section.
292 +
mouse_bindings:
293 +
  - { mouse: Middle, action: PasteSelection }
294 +
295 +
mouse:
296 +
  # Click settings
297 +
  #
298 +
  # The `double_click` and `triple_click` settings control the time
299 +
  # alacritty should wait for accepting multiple clicks as one double
300 +
  # or triple click.
301 +
  double_click: { threshold: 300 }
302 +
  triple_click: { threshold: 300 }
303 +
304 +
  # If this is `true`, the cursor is temporarily hidden when typing.
305 +
  hide_when_typing: false
306 +
307 +
  url:
308 +
    # URL launcher
309 +
    #
310 +
    # This program is executed when clicking on a text which is recognized as a URL.
311 +
    # The URL is always added to the command as the last parameter.
312 +
    #
313 +
    # When set to `None`, URL launching will be disabled completely.
314 +
    #
315 +
    # Default:
316 +
    #   - (macOS) open
317 +
    #   - (Linux) xdg-open
318 +
    #   - (Windows) explorer
319 +
    launcher:
320 +
      program: xdg-open
321 +
      args: []
322 +
323 +
    # URL modifiers
324 +
    #
325 +
    # These are the modifiers that need to be held down for opening URLs when clicking
326 +
    # on them. The available modifiers are documented in the key binding section.
327 +
    modifiers: None
328 +
329 +
selection:
330 +
  semantic_escape_chars: ",โ”‚`|:\"' ()[]{}<>"
331 +
332 +
  # When set to `true`, selected text will be copied to the primary clipboard.
333 +
  save_to_clipboard: false
334 +
335 +
# Allow terminal applications to change Alacritty's window title.
336 +
dynamic_title: true
337 +
338 +
cursor:
339 +
  # Cursor style
340 +
  #
341 +
  # Values for `style`:
342 +
  #   - โ–‡ Block
343 +
  #   - _ Underline
344 +
  #   - | Beam
345 +
  style: Block
346 +
347 +
  # If this is `true`, the cursor will be rendered as a hollow box when the
348 +
  # window is not focused.
349 +
  unfocused_hollow: true
350 +
351 +
# Live config reload (changes require restart)
352 +
live_config_reload: true
353 +
354 +
# Shell
355 +
#
356 +
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
357 +
# Entries in `shell.args` are passed unmodified as arguments to the shell.
358 +
#
359 +
# Default:
360 +
#   - (Linux/macOS) /bin/bash --login
361 +
#   - (Windows) powershell
362 +
#shell:
363 +
#  program: /bin/bash
364 +
#  args:
365 +
#    - --login
366 +
367 +
# Windows 10 ConPTY backend (Windows only)
368 +
#
369 +
# This will enable better color support and may resolve other issues,
370 +
# however this API and its implementation is still young and so is
371 +
# disabled by default, as stability may not be as good as the winpty
372 +
# backend.
373 +
#
374 +
# Alacritty will fall back to the WinPTY automatically if the ConPTY
375 +
# backend cannot be initialized.
376 +
enable_experimental_conpty_backend: false
377 +
378 +
# Send ESC (\x1b) before characters when alt is pressed.
379 +
alt_send_esc: true
380 +
381 +
# Key bindings
382 +
#
383 +
# Key bindings are specified as a list of objects. Each binding will specify a
384 +
# key and modifiers required to trigger it, terminal modes where the binding is
385 +
# applicable, and what should be done when the key binding fires. It can either
386 +
# send a byte sequence to the running application (`chars`), execute a
387 +
# predefined action (`action`) or fork and execute a specified command plus
388 +
# arguments (`command`).
389 +
#
390 +
# Bindings are always filled by default, but will be replaced when a new binding
391 +
# with the same triggers is defined. To unset a default binding, it can be
392 +
# mapped to the `None` action.
393 +
#
394 +
# Example:
395 +
#   `- { key: V, mods: Control|Shift, action: Paste }`
396 +
#
397 +
# Available fields:
398 +
#   - key
399 +
#   - mods (optional)
400 +
#   - chars | action | command (exactly one required)
401 +
#   - mode (optional)
402 +
#
403 +
# Values for `key`:
404 +
#   - `A` -> `Z`
405 +
#   - `F1` -> `F12`
406 +
#   - `Key1` -> `Key0`
407 +
#
408 +
#   A full list with available key codes can be found here:
409 +
#   https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
410 +
#
411 +
#   Instead of using the name of the keys, the `key` field also supports using
412 +
#   the scancode of the desired key. Scancodes have to be specified as a
413 +
#   decimal number.
414 +
#   This command will allow you to display the hex scancodes for certain keys:
415 +
#     `showkey --scancodes`
416 +
#
417 +
# Values for `mods`:
418 +
#   - Command
419 +
#   - Control
420 +
#   - Super
421 +
#   - Shift
422 +
#   - Alt
423 +
#
424 +
#   Multiple `mods` can be combined using `|` like this: `mods: Control|Shift`.
425 +
#   Whitespace and capitalization is relevant and must match the example.
426 +
#
427 +
# Values for `chars`:
428 +
#   The `chars` field writes the specified string to the terminal. This makes
429 +
#   it possible to pass escape sequences.
430 +
#   To find escape codes for bindings like `PageUp` ("\x1b[5~"), you can run
431 +
#   the command `showkey -a` outside of tmux.
432 +
#   Note that applications use terminfo to map escape sequences back to
433 +
#   keys. It is therefore required to update the terminfo when
434 +
#   changing an escape sequence.
435 +
#
436 +
# Values for `action`:
437 +
#   - Paste
438 +
#   - PasteSelection
439 +
#   - Copy
440 +
#   - IncreaseFontSize
441 +
#   - DecreaseFontSize
442 +
#   - ResetFontSize
443 +
#   - ScrollPageUp
444 +
#   - ScrollPageDown
445 +
#   - ScrollLineUp
446 +
#   - ScrollLineDown
447 +
#   - ScrollToTop
448 +
#   - ScrollToBottom
449 +
#   - ClearHistory
450 +
#   - Hide
451 +
#   - Quit
452 +
#   - ClearLogNotice
453 +
#   - SpawnNewInstance
454 +
#   - None
455 +
#
456 +
# Values for `command`:
457 +
#   The `command` field must be a map containing a `program` string and
458 +
#   an `args` array of command line parameter strings.
459 +
#
460 +
#   Example:
461 +
#       `command: { program: "alacritty", args: ["-e", "vttest"] }`
462 +
#
463 +
# Values for `mode`:
464 +
#   - ~AppCursor
465 +
#   - AppCursor
466 +
#   - ~AppKeypad
467 +
#   - AppKeypad
468 +
key_bindings:
469 +
  # (Windows/Linux only)
470 +
  #- { key: V,        mods: Control|Shift, action: Paste            }
471 +
  #- { key: C,        mods: Control|Shift, action: Copy             }
472 +
  #- { key: Insert,   mods: Shift,         action: PasteSelection   }
473 +
  #- { key: Key0,     mods: Control,       action: ResetFontSize    }
474 +
  #- { key: Equals,   mods: Control,       action: IncreaseFontSize }
475 +
  #- { key: Add,      mods: Control,       action: IncreaseFontSize }
476 +
  #- { key: Subtract, mods: Control,       action: DecreaseFontSize }
477 +
  #- { key: Minus,    mods: Control,       action: DecreaseFontSize }
478 +
479 +
  # (macOS only)
480 +
  #- { key: Key0,   mods: Command, action: ResetFontSize    }
481 +
  #- { key: Equals, mods: Command, action: IncreaseFontSize }
482 +
  #- { key: Add,    mods: Command, action: IncreaseFontSize }
483 +
  #- { key: Minus,  mods: Command, action: DecreaseFontSize }
484 +
  #- { key: K,      mods: Command, action: ClearHistory     }
485 +
  #- { key: K,      mods: Command, chars: "\x0c"            }
486 +
  #- { key: V,      mods: Command, action: Paste            }
487 +
  #- { key: C,      mods: Command, action: Copy             }
488 +
  #- { key: H,      mods: Command, action: Hide             }
489 +
  #- { key: Q,      mods: Command, action: Quit             }
490 +
  #- { key: W,      mods: Command, action: Quit             }
491 +
492 +
  - { key: Paste,                   action: Paste                            }
493 +
  - { key: Copy,                    action: Copy                             }
494 +
  - { key: L,        mods: Control, action: ClearLogNotice                   }
495 +
  - { key: L,        mods: Control, chars: "\x0c"                            }
496 +
  - { key: Home,     mods: Alt,     chars: "\x1b[1;3H"                       }
497 +
  - { key: Home,                    chars: "\x1bOH",        mode: AppCursor  }
498 +
  - { key: Home,                    chars: "\x1b[H",        mode: ~AppCursor }
499 +
  - { key: End,      mods: Alt,     chars: "\x1b[1;3F"                       }
500 +
  - { key: End,                     chars: "\x1bOF",        mode: AppCursor  }
501 +
  - { key: End,                     chars: "\x1b[F",        mode: ~AppCursor }
502 +
  - { key: PageUp,   mods: Shift,   action: ScrollPageUp,   mode: ~Alt       }
503 +
  - { key: PageUp,   mods: Shift,   chars: "\x1b[5;2~",     mode: Alt        }
504 +
  - { key: PageUp,   mods: Control, chars: "\x1b[5;5~"                       }
505 +
  - { key: PageUp,   mods: Alt,     chars: "\x1b[5;3~"                       }
506 +
  - { key: PageUp,                  chars: "\x1b[5~"                         }
507 +
  - { key: PageDown, mods: Shift,   action: ScrollPageDown, mode: ~Alt       }
508 +
  - { key: PageDown, mods: Shift,   chars: "\x1b[6;2~",     mode: Alt        }
509 +
  - { key: PageDown, mods: Control, chars: "\x1b[6;5~"                       }
510 +
  - { key: PageDown, mods: Alt,     chars: "\x1b[6;3~"                       }
511 +
  - { key: PageDown,                chars: "\x1b[6~"                         }
512 +
  - { key: Tab,      mods: Shift,   chars: "\x1b[Z"                          }
513 +
  - { key: Back,                    chars: "\x7f"                            }
514 +
  - { key: Back,     mods: Alt,     chars: "\x1b\x7f"                        }
515 +
  - { key: Insert,                  chars: "\x1b[2~"                         }
516 +
  - { key: Delete,                  chars: "\x1b[3~"                         }
517 +
  - { key: Left,     mods: Shift,   chars: "\x1b[1;2D"                       }
518 +
  - { key: Left,     mods: Control, chars: "\x1b[1;5D"                       }
519 +
  - { key: Left,     mods: Alt,     chars: "\x1b[1;3D"                       }
520 +
  - { key: Left,                    chars: "\x1b[D",        mode: ~AppCursor }
521 +
  - { key: Left,                    chars: "\x1bOD",        mode: AppCursor  }
522 +
  - { key: Right,    mods: Shift,   chars: "\x1b[1;2C"                       }
523 +
  - { key: Right,    mods: Control, chars: "\x1b[1;5C"                       }
524 +
  - { key: Right,    mods: Alt,     chars: "\x1b[1;3C"                       }
525 +
  - { key: Right,                   chars: "\x1b[C",        mode: ~AppCursor }
526 +
  - { key: Right,                   chars: "\x1bOC",        mode: AppCursor  }
527 +
  - { key: Up,       mods: Shift,   chars: "\x1b[1;2A"                       }
528 +
  - { key: Up,       mods: Control, chars: "\x1b[1;5A"                       }
529 +
  - { key: Up,       mods: Alt,     chars: "\x1b[1;3A"                       }
530 +
  - { key: Up,                      chars: "\x1b[A",        mode: ~AppCursor }
531 +
  - { key: Up,                      chars: "\x1bOA",        mode: AppCursor  }
532 +
  - { key: Down,     mods: Shift,   chars: "\x1b[1;2B"                       }
533 +
  - { key: Down,     mods: Control, chars: "\x1b[1;5B"                       }
534 +
  - { key: Down,     mods: Alt,     chars: "\x1b[1;3B"                       }
535 +
  - { key: Down,                    chars: "\x1b[B",        mode: ~AppCursor }
536 +
  - { key: Down,                    chars: "\x1bOB",        mode: AppCursor  }
537 +
  - { key: F1,                      chars: "\x1bOP"                          }
538 +
  - { key: F2,                      chars: "\x1bOQ"                          }
539 +
  - { key: F3,                      chars: "\x1bOR"                          }
540 +
  - { key: F4,                      chars: "\x1bOS"                          }
541 +
  - { key: F5,                      chars: "\x1b[15~"                        }
542 +
  - { key: F6,                      chars: "\x1b[17~"                        }
543 +
  - { key: F7,                      chars: "\x1b[18~"                        }
544 +
  - { key: F8,                      chars: "\x1b[19~"                        }
545 +
  - { key: F9,                      chars: "\x1b[20~"                        }
546 +
  - { key: F10,                     chars: "\x1b[21~"                        }
547 +
  - { key: F11,                     chars: "\x1b[23~"                        }
548 +
  - { key: F12,                     chars: "\x1b[24~"                        }
549 +
  - { key: F1,       mods: Shift,   chars: "\x1b[1;2P"                       }
550 +
  - { key: F2,       mods: Shift,   chars: "\x1b[1;2Q"                       }
551 +
  - { key: F3,       mods: Shift,   chars: "\x1b[1;2R"                       }
552 +
  - { key: F4,       mods: Shift,   chars: "\x1b[1;2S"                       }
553 +
  - { key: F5,       mods: Shift,   chars: "\x1b[15;2~"                      }
554 +
  - { key: F6,       mods: Shift,   chars: "\x1b[17;2~"                      }
555 +
  - { key: F7,       mods: Shift,   chars: "\x1b[18;2~"                      }
556 +
  - { key: F8,       mods: Shift,   chars: "\x1b[19;2~"                      }
557 +
  - { key: F9,       mods: Shift,   chars: "\x1b[20;2~"                      }
558 +
  - { key: F10,      mods: Shift,   chars: "\x1b[21;2~"                      }
559 +
  - { key: F11,      mods: Shift,   chars: "\x1b[23;2~"                      }
560 +
  - { key: F12,      mods: Shift,   chars: "\x1b[24;2~"                      }
561 +
  - { key: F1,       mods: Control, chars: "\x1b[1;5P"                       }
562 +
  - { key: F2,       mods: Control, chars: "\x1b[1;5Q"                       }
563 +
  - { key: F3,       mods: Control, chars: "\x1b[1;5R"                       }
564 +
  - { key: F4,       mods: Control, chars: "\x1b[1;5S"                       }
565 +
  - { key: F5,       mods: Control, chars: "\x1b[15;5~"                      }
566 +
  - { key: F6,       mods: Control, chars: "\x1b[17;5~"                      }
567 +
  - { key: F7,       mods: Control, chars: "\x1b[18;5~"                      }
568 +
  - { key: F8,       mods: Control, chars: "\x1b[19;5~"                      }
569 +
  - { key: F9,       mods: Control, chars: "\x1b[20;5~"                      }
570 +
  - { key: F10,      mods: Control, chars: "\x1b[21;5~"                      }
571 +
  - { key: F11,      mods: Control, chars: "\x1b[23;5~"                      }
572 +
  - { key: F12,      mods: Control, chars: "\x1b[24;5~"                      }
573 +
  - { key: F1,       mods: Alt,     chars: "\x1b[1;6P"                       }
574 +
  - { key: F2,       mods: Alt,     chars: "\x1b[1;6Q"                       }
575 +
  - { key: F3,       mods: Alt,     chars: "\x1b[1;6R"                       }
576 +
  - { key: F4,       mods: Alt,     chars: "\x1b[1;6S"                       }
577 +
  - { key: F5,       mods: Alt,     chars: "\x1b[15;6~"                      }
578 +
  - { key: F6,       mods: Alt,     chars: "\x1b[17;6~"                      }
579 +
  - { key: F7,       mods: Alt,     chars: "\x1b[18;6~"                      }
580 +
  - { key: F8,       mods: Alt,     chars: "\x1b[19;6~"                      }
581 +
  - { key: F9,       mods: Alt,     chars: "\x1b[20;6~"                      }
582 +
  - { key: F10,      mods: Alt,     chars: "\x1b[21;6~"                      }
583 +
  - { key: F11,      mods: Alt,     chars: "\x1b[23;6~"                      }
584 +
  - { key: F12,      mods: Alt,     chars: "\x1b[24;6~"                      }
585 +
  - { key: F1,       mods: Super,   chars: "\x1b[1;3P"                       }
586 +
  - { key: F2,       mods: Super,   chars: "\x1b[1;3Q"                       }
587 +
  - { key: F3,       mods: Super,   chars: "\x1b[1;3R"                       }
588 +
  - { key: F4,       mods: Super,   chars: "\x1b[1;3S"                       }
589 +
  - { key: F5,       mods: Super,   chars: "\x1b[15;3~"                      }
590 +
  - { key: F6,       mods: Super,   chars: "\x1b[17;3~"                      }
591 +
  - { key: F7,       mods: Super,   chars: "\x1b[18;3~"                      }
592 +
  - { key: F8,       mods: Super,   chars: "\x1b[19;3~"                      }
593 +
  - { key: F9,       mods: Super,   chars: "\x1b[20;3~"                      }
594 +
  - { key: F10,      mods: Super,   chars: "\x1b[21;3~"                      }
595 +
  - { key: F11,      mods: Super,   chars: "\x1b[23;3~"                      }
596 +
  - { key: F12,      mods: Super,   chars: "\x1b[24;3~"                      }
597 +
  - { key: NumpadEnter,             chars: "\n"                              }
.xmonad/xmonad.hs +1 -1
46 46
  where
47 47
    cfg = myXPConfig { position = CenteredAt 0.5 0.3
48 48
                     , defaultText = "" }
49 49
50 50
termName :: FilePath
51 -
termName = "urxvt"
51 +
termName = "alacritty"
52 52
53 53
main :: IO ()
54 54
main = do
55 55
    home <- getHomeDirectory
56 56
    xmproc <- spawnPipe "xmobar"