Fix Tokyo Night theme setting

This commit is contained in:
David Heinemeier Hansson 2024-06-03 13:49:44 -07:00
parent aaac29f051
commit 1dd3e0cdba

View File

@ -14,9 +14,9 @@ sed -i "s/theme \".*\"/theme \"$THEME\"/g" ~/.config/zellij/config.kdl
if [ "$THEME" == "gruvbox" ]; then if [ "$THEME" == "gruvbox" ]; then
VSC_THEME="Gruvbox Dark Medium" VSC_THEME="Gruvbox Dark Medium"
elif [ "$THEME" == "catppuccin" ]; then elif [ "$THEME" == "catppuccin" ]; then
else
VSC_THEME=$THEME
VSC_THEME="Catppuccin Macchiato" VSC_THEME="Catppuccin Macchiato"
elif [ "$THEME" == "tokyo-night" ]; then
VSC_THEME="Tokyo Night"
fi fi
sed -i "s/\"workbench.colorTheme\": \".*\"/\"workbench.colorTheme\": \"$VSC_THEME\"/g" ~/.config/Code/User/settings.json sed -i "s/\"workbench.colorTheme\": \".*\"/\"workbench.colorTheme\": \"$VSC_THEME\"/g" ~/.config/Code/User/settings.json