fix: Alacritty theme reload
This commit is contained in:
parent
cfd44ba069
commit
977e2afab8
1 changed files with 13 additions and 8 deletions
|
|
@ -45,6 +45,11 @@ install_light() {
|
||||||
}
|
}
|
||||||
|
|
||||||
postinstall() {
|
postinstall() {
|
||||||
|
# Alacritty doesn't automatically reload config when the symlink to
|
||||||
|
# `colors.toml` is replaced with the new target. So touch the main config
|
||||||
|
# to trigger the reload.
|
||||||
|
touch "${DOTFILES}/alacritty/alacritty.toml"
|
||||||
|
|
||||||
if [ "${OSTYPE}" == 'Linux' ]; then
|
if [ "${OSTYPE}" == 'Linux' ]; then
|
||||||
killall --signal HUP xsettingsd
|
killall --signal HUP xsettingsd
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue