tmp: gnome 45

This commit is contained in:
Mylloon 2023-10-11 09:16:53 +02:00
parent be9d0dd133
commit 567b04765d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -19,6 +19,8 @@ main() {
GT_default=$(gsettings get org.gnome.Terminal.ProfilesList default | tr -d \')
case $1 in
"sunset" ) # Go to dark mode
# Global Gnome theme
#gsettings set org.gnome.desktop.interface color-scheme prefer-dark
# Set the Dracula theme
set org.gnome.desktop.wm.preferences theme Dracula
# Set the Terminal profile
@ -31,6 +33,8 @@ main() {
sed -i "s/bubblegum/monokai/g" "$HOME"/.config/micro/settings.json
;;
"sunrise" ) # Go to light mode
# Global Gnome theme
#gsettings set org.gnome.desktop.interface color-scheme prefer-light
# Set the Terminal profile
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_default}"/ visible-name "Light"
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${GT_default}"/ foreground-color "rgb(23,20,33)"