From 7cbf010d72f5544f28045d687cdbee0e907baf1b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 18 Sep 2023 09:57:12 +0200 Subject: [PATCH] change micro theme accordingly to the system theme --- .config/micro/settings.json | 3 ++- .config/update_theme.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/micro/settings.json b/.config/micro/settings.json index 0f1ad9a..d7e294a 100644 --- a/.config/micro/settings.json +++ b/.config/micro/settings.json @@ -4,5 +4,6 @@ "rmtrailingws": true, "scrollbar": true, "softwrap": true, - "wordwrap": true + "wordwrap": true, + "colorscheme": "default" } diff --git a/.config/update_theme.sh b/.config/update_theme.sh index d5aa661..de99f9d 100755 --- a/.config/update_theme.sh +++ b/.config/update_theme.sh @@ -28,6 +28,7 @@ main() { # Set the fish theme fish -c "fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save" fish -c "set fish_color_comment 5c6773" # custom comment color + sed -i "s/bubblegum/default/g" "$HOME"/.config/micro/settings.json ;; "sunrise" ) # Go to light mode # Set the Terminal profile @@ -36,6 +37,7 @@ main() { gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_default}"/ background-color "rgb(253,246,227)" # Set the fish theme fish -c "fish_config theme choose 'Solarized Light' && yes | fish_config theme save" + sed -i "s/default/bubblegum/g" "$HOME"/.config/micro/settings.json ;; * ) echo "Can't interpret given argument" ;;