Update alacritty config to include a theme and blink the cursor

This commit is contained in:
Daniel McKnight 2025-05-19 20:48:56 -07:00
parent 23012f42db
commit 7055be8c0e
4 changed files with 57 additions and 9 deletions

View file

@ -1,9 +0,0 @@
[colors.primary]
background = "#111111"
[colors.normal]
cyan = '#008b8b'
[font.normal]
family = 'JetBrainsMono Nerd Font Mono'
style = 'Regular'

20
alacritty/alacritty.toml Normal file
View file

@ -0,0 +1,20 @@
[general]
import = ["./github_dark_high_contrast.toml" ]
[colors.primary]
background = "#111111"
[colors.normal]
cyan = '#008b8b'
[font.normal]
family = 'JetBrainsMono Nerd Font Mono'
style = 'Regular'
[cursor]
blink_interval = 500
blink_timeout = 0
[cursor.style]
blinking = "Always"
#shape = "Underline"

View file

@ -0,0 +1,33 @@
# (Github Dark High Contrast) Colors for Alacritty
# Default colors
[colors.primary]
background = '#0a0c10'
foreground = '#f0f3f6'
# Cursor colors
[colors.cursor]
text = '#0a0c10'
cursor = '#f0f3f6'
# Normal colors
[colors.normal]
black = '#7a828e'
red = '#ff9492'
green = '#26cd4d'
yellow = '#f0b72f'
blue = '#71b7ff'
magenta = '#cb9eff'
cyan = '#39c5cf'
white = '#d9dee3'
# Bright colors
[colors.bright]
black = '#9ea7b3'
red = '#ffb1af'
green = '#4ae168'
yellow = '#f7c843'
blue = '#91cbff'
magenta = '#cb9eff'
cyan = '#39c5cf'
white = '#d9dee3'

4
setup
View file

@ -23,6 +23,10 @@
[ -d ~/.config/nvim ] && [ ! -L ~/.config/nvim ] && mv ~/.config/nvim ~/.config/nvim.old
[ -e ~/.config/nvim ] || ln -s ~/.dotfiles/nvim ~/.config/nvim
# Alacritty only if directory exists
[ -d ~/.config/alacritty ] && [ ! -L ~/.config/alacritty ] && mv ~/.config/alacritty ~/.config/alacritty.old
[ -e ~/.config/alacritty ] || ln -s ~/.dotfiles/alacritty ~/.config/alacritty
# k9s only if directory exists
if [ -d ~/.config/k9s ]; then
[ -e ~/.config/k9s/config.yml ] || ln -s ~/.dotfiles/k9s_config.yml ~/.config/k9s/config.yml