From 50f7a0a800c6429e324cd65d046de4527d7b51d6 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 15 Aug 2024 18:23:14 +0200 Subject: [PATCH] fix sed btm style escape issue --- .config/fish/functions/update-theme.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/fish/functions/update-theme.fish b/.config/fish/functions/update-theme.fish index 964dba3..3858abd 100644 --- a/.config/fish/functions/update-theme.fish +++ b/.config/fish/functions/update-theme.fish @@ -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