1
0
Fork 0

[ALACRITTY] Add FiraCode NF + backgroud color

This commit is contained in:
Florian RICHER 2022-01-11 22:32:30 +01:00
parent 6777a25cbc
commit 340e990c70
4 changed files with 21 additions and 0 deletions

1
.env
View file

@ -18,3 +18,4 @@ WITH_NEOVIM_CONFIG=yes
WITH_LAZYGIT_CONFIG=yes
WITH_ROFI_CONFIG=yes
WITH_ALACRITTY_CONFIG=yes

View file

@ -0,0 +1,4 @@
font:
normal:
family: FiraCode NF
background_opacity: 0.5 # Require `picom -f &` in .xinitrc

View file

@ -27,6 +27,7 @@ find ./scripts -type f -iname "*.sh" -exec chmod +x {} \;
# Install and configure functionality
./scripts/tools/neovim/install.sh
./scripts/tools/rofi/install.sh
./scripts/tools/alacritty/install.sh
./scripts/window_manager/awesome/install.sh
./scripts/window_manager/i3/install.sh
./scripts/tools/fonts/install.sh

View file

@ -0,0 +1,15 @@
#!/bin/bash
source ./scripts/common.sh
if [[ "$WITH_ALACRITTY_CONFIG" == 'yes' || "$WITH_ALACRITTY_CONFIG" == 'force' ]]; then
if [[ -d "$HOME/.config/alacritty" && "$WITH_ALACRITTY_CONFIG" == 'force' ]]; then
rm -rf "$HOME/.config/alacritty"
echo '[INFO] Alacritty config removed | Forced by environment variable'
fi
if [[ ! -d "$HOME/.config/alacritty" ]]; then
ln -s "$CWD/configs/alacritty" "$HOME/.config/alacritty"
echo "[INFO] Alacritty config linked with symbolic link : $CWD/configs/alacritty -> $HOME/.config/alacritty"
else
echo '[INFO] Alacritty config already linked'
fi
fi