Add alacritty config, jetbrains font installation

This commit is contained in:
Ivan Bushchik 2022-07-09 18:23:31 +03:00
parent 141f709035
commit ecd2029721
No known key found for this signature in database
GPG key ID: 3E4E9C7D66E44BF7
4 changed files with 69 additions and 3 deletions

52
configs/alacritty.yml Normal file
View file

@ -0,0 +1,52 @@
window:
dimensions:
columns: 60
lines: 20
padding:
x: 5
y: 5
scrolling:
history: 100000
multiplier: 3
font:
normal:
family: JetBrains Mono
style: Regular
bold:
family: JetBrains Mono
style: Bold
italic:
family: JetBrains Mono
style: Italic
size: 11.0
# Colors (Solarized Dark)
colors:
primary:
background: '0x002b36'
foreground: '0x839496'
normal:
black: '0x073642'
red: '0xdc322f'
green: '0x859900'
yellow: '0xb58900'
blue: '0x268bd2'
magenta: '0xd33682'
cyan: '0x2aa198'
white: '0xeee8d5'
cursor:
shape: Block
blinking: one
shell:
program: /bin/zsh
args:
- --login

View file

@ -26,9 +26,16 @@ curl -fsSL https://raw.githubusercontent.com/ivabus/ivabus-zsh-theme/master/ivab
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.dotfiles/oh-my-zsh/custom/plugins/zsh-syntax-highlighting > /dev/null 2>&1
git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.dotfiles/oh-my-zsh/custom/plugins/zsh-autosuggestions > /dev/null 2>&1
# installing jetbrains mono
if [[ $(uname) = "Linux" ]]
then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/install_manual.sh)"
fi
# linking dotfiles to their original locations
echo "${GREEN}Linking binaries$CLEAR_COLOR"
echo "${GREEN}Linking dotfiles$CLEAR_COLOR"
sh $HOME/.dotfiles/tools/relink.sh

View file

@ -20,3 +20,8 @@ fi
echo "eval \"\$($HOMEBREW_PREFIX/bin/brew shellenv)\"" >> $HOME/.zprofile
brew install pinentry-mac gpg2
echo "pinentry-program $HOMEBREW_PREFIX/bin/pinentry-mac" >> $HOME/.gnupg/gpg-agent.conf
# install jb mono
brew tap homebrew/cask-fonts
brew install --cask font-jetbrains-mono alacritty

View file

@ -6,9 +6,11 @@
GREEN="\033[32m"
CLEAR_COLOR="\033[0m"
mkdir -p $HOME/.config/nvim >/dev/null 2>&1
mkdir -p $HOME/.config/nvim $HOME/.config/alacritty >/dev/null 2>&1
rm $HOME/.zshrc $HOME/.config/nvim/init.vim >/dev/null 2>&1
ln -s $HOME/.dotfiles/configs/zshrc $HOME/.zshrc
echo "${GREEN}.zshrc linked: $CLEAR_COLOR$HOME/.dotfiles/configs/zshrc $GREEN-> $CLEAR_COLOR$HOME/.zshrc"
ln -s $HOME/.dotfiles/nvim.vim $HOME/.config/nvim/init.vim
ln -s $HOME/.dotfiles/configs/nvim.vim $HOME/.config/nvim/init.vim
echo "${GREEN}neovim config linked: $CLEAR_COLOR$HOME/.dotfiles/configs/nvim.vim $GREEN-> $CLEAR_COLOR$HOME/.config/nvim/init.vim"
ln -s $HOME/.dotfiles/configs/alacritty.yml $HOME/.config/alacritty/alacritty.yml
echo "${GREEN}alacritty config linked: $CLEAR_COLOR$HOME/.dotfiles/configs/alacritty.yml $GREEN-> $CLEAR_COLOR$HOME/.config/nvim/init.vim"