[ALACRITTY] Add FiraCode NF + backgroud color
This commit is contained in:
parent
6777a25cbc
commit
340e990c70
4 changed files with 21 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue