Browse Source

Add alacritty

master
Taylor Bockman 2 months ago
parent
commit
7e4f0830a5
  1. 57
      dotfiles/config/alacritty/alacritty.toml
  2. 28
      dotfiles/zsh/initializations.zsh
  3. 7
      dotfiles/zsh/keybinds.zsh

57
dotfiles/config/alacritty/alacritty.toml

@ -0,0 +1,57 @@
shell = "/usr/bin/zsh"
[font]
size = 10
[colors.primary]
background = "#2e3440"
foreground = "#d8dee9"
dim_foreground = "#a5abb6"
[colors.cursor]
text = "#2e3440"
cursor = "#d8dee9"
[colors.vi_mode_cursor]
text = "#2e3440"
cursor = "#d8dee9"
[colors.selection]
text = "CellForeground"
background = "#4c566a"
[colors.search.matches]
foreground = "CellBackground"
background = "#88c0d0"
[colors.normal]
black = "#3b4252"
red = "#bf616a"
green = "#a3be8c"
yellow = "#ebcb8b"
blue = "#81a1c1"
magenta = "#b48ead"
cyan = "#88c0d0"
white = "#e5e9f0"
[colors.bright]
black = "#4c566a"
red = "#bf616a"
green = "#a3be8c"
yellow = "#ebcb8b"
blue = "#81a1c1"
magenta = "#b48ead"
cyan = "#8fbcbb"
white = "#eceff4"
[colors.dim]
black = "#373e4d"
red = "#94545d"
green = "#809575"
yellow = "#b29e75"
blue = "#68809a"
magenta = "#8c738c"
cyan = "#6d96a5"
white = "#aeb3bb"

28
dotfiles/zsh/initializations.zsh

@ -1,30 +1,2 @@
#!/bin/zsh
if [[ "$OSTYPE" == "linux-gnu" ]]; then
export PATH=/usr/local/bin:$PATH
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
# For whatever reason the linux version of pyenv doesnt install `pyenv-virtualenv-init`.
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
fi
if which pyenv-virtualenv-init > /dev/null; then
export PATH=/usr/local/bin:$PATH
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
fi
if hash pyenv 2>/dev/null; then
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi
# RVM configuration
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

7
dotfiles/zsh/keybinds.zsh

@ -1,7 +1,8 @@
# In here you can define various keybinds for any
# given setup. Just wrap them with the appropriate checks.
# DEPRECATED: Use your operating system's keyboard config.
# Bind caps lock to escape if `setxkbmap` exists
if type "setxkbmap" > /dev/null; then
setxkbmap -option caps:escape
fi
#if type "setxkbmap" > /dev/null; then
# setxkbmap -option caps:escape
#fi

Loading…
Cancel
Save