[ALACRITTY] Add FiraCode NF + backgroud color
This commit is contained in:
parent
6777a25cbc
commit
340e990c70
4 changed files with 21 additions and 0 deletions
1
.env
1
.env
|
@ -18,3 +18,4 @@ WITH_NEOVIM_CONFIG=yes
|
|||
WITH_LAZYGIT_CONFIG=yes
|
||||
|
||||
WITH_ROFI_CONFIG=yes
|
||||
WITH_ALACRITTY_CONFIG=yes
|
||||
|
|
4
configs/alacritty/alacritty.yml
Normal file
4
configs/alacritty/alacritty.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
font:
|
||||
normal:
|
||||
family: FiraCode NF
|
||||
background_opacity: 0.5 # Require `picom -f &` in .xinitrc
|
|
@ -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
|
15
scripts/tools/alacritty/install.sh
Executable file
15
scripts/tools/alacritty/install.sh
Executable 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
|
Loading…
Reference in a new issue