change micro theme accordingly to the system theme

This commit is contained in:
Mylloon 2023-09-18 09:57:12 +02:00
parent 908865df71
commit 7cbf010d72
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 1 deletions

View file

@ -4,5 +4,6 @@
"rmtrailingws": true,
"scrollbar": true,
"softwrap": true,
"wordwrap": true
"wordwrap": true,
"colorscheme": "default"
}

View file

@ -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" ;;