fix sed btm style escape issue

This commit is contained in:
Mylloon 2024-08-15 18:23:14 +02:00
parent 52664aa305
commit 50f7a0a800
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -32,7 +32,7 @@ function update-theme --description "Update the shell theme."
sed -i "s/monokai/bubblegum/g" "$HOME"/.config/micro/settings.json
# Bottom theme
sed -i "s/#[styles]/[styles]/g" "$HOME"/.config/bottom/bottom.toml
sed -i "s/#\[styles\]/[styles]/g" "$HOME"/.config/bottom/bottom.toml
sed -i "s/#theme = \"default\"/theme = \"default-light\"/g" "$HOME"/.config/bottom/bottom.toml
# Bat theme
@ -46,7 +46,7 @@ function update-theme --description "Update the shell theme."
sed -i "s/bubblegum/monokai/g" "$HOME"/.config/micro/settings.json
# Bottom theme
sed -i "s/#[styles]/[styles]/g" "$HOME"/.config/bottom/bottom.toml
sed -i "s/#\[styles\]/[styles]/g" "$HOME"/.config/bottom/bottom.toml
sed -i "s/theme = \"default-light\"/#theme = \"default\"/g" "$HOME"/.config/bottom/bottom.toml
# Bat theme