foot: update font and add dark and light colors

This commit is contained in:
2026-05-31 22:09:43 +02:00
parent 203913aa58
commit 6e5dc5decd
2 changed files with 65 additions and 2 deletions

View File

@@ -44,12 +44,19 @@ if [ -f "$ATOML" ]; then
sed -i "s#^import =.*#import = [\"~/.config/alacritty/$THEME.toml\"]#" "$ATOML"
fi
# Kitty
if [ "$THEME" = dark ]; then
kitten themes --reload-in=all 'five-colors-dark'
elif [ "$THEME" = light ]; then
kitten themes --reload-in=all 'five-colors-light'
fi
# Foot
FOOT=$(readlink -e ~/.config/foot/foot.ini)
if [ -n "$FOOT" ]; then
sed -i "s/^initial-color-theme .*/initial-color-theme = $THEME/" "$FOOT"
fi
# GTK
XSET=$(readlink -e ~/.config/xsettingsd/xsettingsd.conf)
if [ -n "$XSET" ]; then