Skip to content

Instantly share code, notes, and snippets.

@adkdev
Created April 16, 2024 03:23
Show Gist options
  • Save adkdev/224bac0eb2a0d7c8e8ee0fe71f0c9d52 to your computer and use it in GitHub Desktop.
Save adkdev/224bac0eb2a0d7c8e8ee0fe71f0c9d52 to your computer and use it in GitHub Desktop.
My Alacritty configs (with WSL on Windows)
# Docs - https://alacritty.org/config-alacritty.html
# Themes - https://github.com/alacritty/alacritty-theme
# import = [ "C:\\Users\\adkdev\\AppData\\Roaming\\alacritty\\themes\\github_dark.toml" ]
import = [ "C:\\Users\\adkdev\\AppData\\Roaming\\alacritty\\themes\\monokai_pro.toml" ]
shell = { program = "wsl", args = ["--cd ~"] }
# working_directory = "$HOME"
[env]
TERM = "xterm-256color"
LC_CTYPE = "en_US.UTF-8"
[window]
decorations = "Full"
startup_mode = "Windowed"
dynamic_title = true
opacity = 0.97
# blur = true # It's not working on Windows
padding = { x = 10, y = 10 }
dynamic_padding = false
dimensions = { columns = 165, lines = 39 }
[scrolling]
history = 10000
multiplier = 3
[font]
size = 8
normal = { family = "FiraCode Nerd Font", style = "Regular" }
offset = { x = 0, y = 2 }
# [colors]
# - use from import above
# [bell]
[selection]
save_to_clipboard = false
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
[cursor]
# style = { shape = "Beam", blinking = "On" }
style = { shape = "Block", blinking = "Off" }
thickness = 0.2
blink_interval = 650
unfocused_hollow = true
[terminal]
osc52 = "CopyPaste"
[mouse]
bindings = [
{ mouse = "Right", mods = "Control", action = "Paste" },
]
# [hints]
[keyboard]
bindings = [
{ key = "N", mods = "Control|Shift", action = "CreateNewWindow" },
]
[debug]
render_timer = false
persistent_logging = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment