Add alacritty config with separate colors file
parent
09e363afd2
commit
27d669974e
|
@ -1,77 +1,5 @@
|
|||
font:
|
||||
normal:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Regular
|
||||
|
||||
bold:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Bold
|
||||
|
||||
italic:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Italic
|
||||
|
||||
bold_italic:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Bold Italic
|
||||
|
||||
size: 12.0
|
||||
|
||||
schemes:
|
||||
gruvbox_dark: &gruvbox_dark
|
||||
primary:
|
||||
background: '#282828'
|
||||
foreground: '#ebdbb2'
|
||||
|
||||
normal:
|
||||
black: '#282828'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#a89984'
|
||||
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#fb4934'
|
||||
green: '#b8bb26'
|
||||
yellow: '#fabd2f'
|
||||
blue: '#83a598'
|
||||
magenta: '#d3869b'
|
||||
cyan: '#8ec07c'
|
||||
white: '#ebdbb2'
|
||||
gruvbox_dark: &gruvbox_light
|
||||
primary:
|
||||
background: '#fbf1c7'
|
||||
foreground: '#3c3836'
|
||||
|
||||
normal:
|
||||
black: '#fbf1c7'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#7c6f64'
|
||||
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#9d0006'
|
||||
green: '#79740e'
|
||||
yellow: '#b57614'
|
||||
blue: '#076678'
|
||||
magenta: '#8f3f71'
|
||||
cyan: '#427b58'
|
||||
white: '#3c3836'
|
||||
|
||||
colors: *gruvbox_dark
|
||||
|
||||
alt_send_esc: true
|
||||
|
||||
# Wait for a new update which includes support for ~ (https://github.com/alacritty/alacritty/commit/07cfe8bbba0851ff4989f6aaf082d72130cd0f5b)
|
||||
# import:
|
||||
# - ~/.config/alacritty/color_schemes.yml
|
||||
# - ~/.config/alacritty/theme.yml
|
||||
import:
|
||||
- ~/.config/alacritty/font.yml
|
||||
- ~/.config/alacritty/colors.yml
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
schemes:
|
||||
gruvbox_dark: &gruvbox_dark
|
||||
primary:
|
||||
background: '#282828'
|
||||
foreground: '#ebdbb2'
|
||||
|
||||
normal:
|
||||
black: '#282828'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#a89984'
|
||||
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#fb4934'
|
||||
green: '#b8bb26'
|
||||
yellow: '#fabd2f'
|
||||
blue: '#83a598'
|
||||
magenta: '#d3869b'
|
||||
cyan: '#8ec07c'
|
||||
white: '#ebdbb2'
|
||||
gruvbox_dark: &gruvbox_light
|
||||
primary:
|
||||
background: '#fbf1c7'
|
||||
foreground: '#3c3836'
|
||||
|
||||
normal:
|
||||
black: '#fbf1c7'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#7c6f64'
|
||||
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#9d0006'
|
||||
green: '#79740e'
|
||||
yellow: '#b57614'
|
||||
blue: '#076678'
|
||||
magenta: '#8f3f71'
|
||||
cyan: '#427b58'
|
||||
white: '#3c3836'
|
|
@ -0,0 +1,24 @@
|
|||
colors:
|
||||
primary:
|
||||
background: '#282828'
|
||||
foreground: '#ebdbb2'
|
||||
|
||||
normal:
|
||||
black: '#282828'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#a89984'
|
||||
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#fb4934'
|
||||
green: '#b8bb26'
|
||||
yellow: '#fabd2f'
|
||||
blue: '#83a598'
|
||||
magenta: '#d3869b'
|
||||
cyan: '#8ec07c'
|
||||
white: '#ebdbb2'
|
|
@ -0,0 +1,18 @@
|
|||
font:
|
||||
normal:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Regular
|
||||
|
||||
bold:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Bold
|
||||
|
||||
italic:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Italic
|
||||
|
||||
bold_italic:
|
||||
family: SauceCodePro Nerd Font Mono
|
||||
style: Bold Italic
|
||||
|
||||
size: 12.0
|
|
@ -0,0 +1,24 @@
|
|||
colors:
|
||||
primary:
|
||||
background: '#282828'
|
||||
foreground: '#ebdbb2'
|
||||
|
||||
normal:
|
||||
black: '#282828'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#a89984'
|
||||
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#fb4934'
|
||||
green: '#b8bb26'
|
||||
yellow: '#fabd2f'
|
||||
blue: '#83a598'
|
||||
magenta: '#d3869b'
|
||||
cyan: '#8ec07c'
|
||||
white: '#ebdbb2'
|
|
@ -0,0 +1,24 @@
|
|||
colors:
|
||||
primary:
|
||||
background: '#fbf1c7'
|
||||
foreground: '#3c3836'
|
||||
|
||||
normal:
|
||||
black: '#fbf1c7'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#7c6f64'
|
||||
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#9d0006'
|
||||
green: '#79740e'
|
||||
yellow: '#b57614'
|
||||
blue: '#076678'
|
||||
magenta: '#8f3f71'
|
||||
cyan: '#427b58'
|
||||
white: '#3c3836'
|
|
@ -18,6 +18,10 @@ cp $themedir/dunstcolors $configdir/dunst/dunstcolors
|
|||
cp $themedir/theme.vim $MY_VIM_HOME/theme.vim
|
||||
cp $themedir/fehbg $configdir/other-scripts/fehbg
|
||||
|
||||
rm $configdir/alacritty/colors.yml.bak
|
||||
mv $configdir/alacritty/colors.yml $configdir/alacritty/colors.yml.bak
|
||||
ln -sT $themedir/alacritty_colors.yml $configdir/alacritty/colors.yml
|
||||
|
||||
FG=black
|
||||
if [[ $theme == *"light"* ]]; then
|
||||
FG=white
|
||||
|
@ -25,4 +29,4 @@ fi
|
|||
|
||||
echo "PRIMARY_FG=$FG" > ~/.dotfiles/symlinks/zshrc.theme
|
||||
echo "$theme detected as a $FG theme"
|
||||
notify-send "$theme detected as $FG theme" --icon=dialog-information
|
||||
notify-send "$theme detected as $FG theme" --icon=dialog-information
|
||||
|
|
Loading…
Reference in New Issue