use symbolic link for alacritty themes
This commit is contained in:
parent
18ae0c6b1e
commit
aff7779d12
1 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@ if [ $TERM_COLOR_MODE == "light" ]; then
|
||||||
if [ $USE_TERM == "alacritty" ]; then
|
if [ $USE_TERM == "alacritty" ]; then
|
||||||
theme_link="$HOME/.config/alacritty/theme.toml"
|
theme_link="$HOME/.config/alacritty/theme.toml"
|
||||||
rm -rf "$theme_link"
|
rm -rf "$theme_link"
|
||||||
ln "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_latte.toml" "$theme_link"
|
ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_latte.toml" "$theme_link"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $USE_TERM == "kitty" ]; then
|
if [ $USE_TERM == "kitty" ]; then
|
||||||
|
|
@ -253,7 +253,7 @@ else
|
||||||
if [ $USE_TERM == "alacritty" ]; then
|
if [ $USE_TERM == "alacritty" ]; then
|
||||||
theme_link="$HOME/.config/alacritty/theme.toml"
|
theme_link="$HOME/.config/alacritty/theme.toml"
|
||||||
rm -r "$theme_link"
|
rm -r "$theme_link"
|
||||||
ln "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_mocha.toml" "$theme_link"
|
ln -s "$HOME/ghq/alacritty/alacritty-theme/themes/catppuccin_mocha.toml" "$theme_link"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue