diff --git a/configs/alacritty.yml b/configs/alacritty.yml new file mode 100644 index 0000000..06ce359 --- /dev/null +++ b/configs/alacritty.yml @@ -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 \ No newline at end of file diff --git a/tools/install.sh b/tools/install.sh index 1abf270..a083d07 100644 --- a/tools/install.sh +++ b/tools/install.sh @@ -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 diff --git a/tools/mac.sh b/tools/mac.sh index 6b482b6..89982c1 100644 --- a/tools/mac.sh +++ b/tools/mac.sh @@ -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 \ No newline at end of file diff --git a/tools/relink.sh b/tools/relink.sh index eccdb5c..db23fa1 100644 --- a/tools/relink.sh +++ b/tools/relink.sh @@ -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"