2018-09-18 00:17:11 -04:00
|
|
|
# Configuration for Alacritty, the GPU enhanced terminal emulator
|
|
|
|
|
2018-11-13 12:47:36 -05:00
|
|
|
# Set environment variables
|
2018-09-18 00:17:11 -04:00
|
|
|
env:
|
2018-11-13 12:10:24 -05:00
|
|
|
# don't do DPI scaling, it sucks
|
2020-03-30 12:44:44 -04:00
|
|
|
WINIT_X11_SCALE_FACTOR: '1.0'
|
2018-09-18 00:17:11 -04:00
|
|
|
|
2018-11-13 12:47:36 -05:00
|
|
|
window:
|
2019-08-03 01:47:12 -04:00
|
|
|
padding: {x: 2, y: 2}
|
2018-09-18 00:17:11 -04:00
|
|
|
|
|
|
|
font:
|
2019-08-03 01:23:59 -04:00
|
|
|
normal: { family: Hack }
|
2018-09-18 00:17:11 -04:00
|
|
|
size: 11.0
|
|
|
|
|
|
|
|
colors:
|
|
|
|
primary:
|
2018-11-13 12:47:36 -05:00
|
|
|
background: '0x111111'
|
|
|
|
foreground: '0xb98000'
|
2018-09-18 00:17:11 -04:00
|
|
|
normal:
|
2018-11-13 12:47:36 -05:00
|
|
|
black: '0x2e3436'
|
|
|
|
red: '0xcc0000'
|
|
|
|
green: '0x4e9a06'
|
|
|
|
yellow: '0xc4a000'
|
|
|
|
blue: '0x3465a4'
|
|
|
|
magenta: '0x75507b'
|
|
|
|
cyan: '0x06989a'
|
|
|
|
white: '0xd3d7cf'
|
2018-09-18 00:17:11 -04:00
|
|
|
bright:
|
2018-11-13 12:47:36 -05:00
|
|
|
black: '0x555753'
|
|
|
|
red: '0xef2929'
|
|
|
|
green: '0x8ae234'
|
|
|
|
yellow: '0xfce94f'
|
|
|
|
blue: '0x739fcf'
|
|
|
|
magenta: '0xad7fa8'
|
|
|
|
cyan: '0x34e2e2'
|
|
|
|
white: '0xeeeeec'
|
2018-09-18 00:17:11 -04:00
|
|
|
|
|
|
|
mouse:
|
2018-11-13 12:10:24 -05:00
|
|
|
hide_when_typing: true
|
2021-05-20 15:23:24 -04:00
|
|
|
|
|
|
|
hints:
|
|
|
|
enabled:
|
|
|
|
- regex: "(magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
|
|
|
[^\x00-\x1F\x7F-\x9F<>\"\\s{-}\\^⟨⟩`]+"
|
|
|
|
command: xdg-open
|
|
|
|
post_processing: true
|
|
|
|
mouse:
|
|
|
|
enabled: true
|
|
|
|
mods: Control|Shift
|
|
|
|
binding:
|
|
|
|
key: U
|
|
|
|
mods: Control|Shift
|
2018-09-18 00:17:11 -04:00
|
|
|
|
|
|
|
key_bindings:
|
2019-08-03 01:40:56 -04:00
|
|
|
# Copy/Paste
|
|
|
|
- { key: V, mods: Control|Shift, action: Paste }
|
|
|
|
- { key: C, mods: Control|Shift, action: Copy }
|
|
|
|
|
|
|
|
# font sizing
|
2020-11-25 23:11:21 -05:00
|
|
|
- { key: Key0, mods: Control|Shift, action: ResetFontSize }
|
|
|
|
- { key: Equals, mods: Control|Shift, action: IncreaseFontSize }
|
|
|
|
- { key: Minus, mods: Control|Shift, action: DecreaseFontSize }
|
2019-08-03 01:40:56 -04:00
|
|
|
|
|
|
|
# new instance in cwd
|
|
|
|
- { key: Return, mods: Super, action: SpawnNewInstance }
|
|
|
|
|
|
|
|
# toggle font colors
|
|
|
|
- key: Backslash
|
|
|
|
mods: Super
|
|
|
|
command: {program: "sh", args: ["-c", "~/.config/alacritty/swapColors.sh"]}
|
|
|
|
|