Watch
1
0
Fork
You've already forked dotfiles
0

tmp fix dark/light toggle

This commit is contained in:
Alexander Hess 2026-08-14 17:14:14 +02:00
commit 4941815a5f
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
3 changed files with 18 additions and 2 deletions

View file

@ -18,13 +18,17 @@ LIGHT_COLOR='#DEEDF1'
if [ "$(gsettings get $Interface color-scheme)" = "'prefer-dark'" ]; then
# See comments for "color-scheme" under [org/gnome/desktop/interface]
# in ~/.config/gnome-settings/misc.ini
gsettings set $Interface color-scheme 'prefer-light'
# gsettings set $Background primary-color "$LIGHT_COLOR"
# gsettings set $Background secondary-color "$LIGHT_COLOR"
else
gsettings set $Interface color-scheme 'prefer-dark'
# gsettings set $Background primary-color "$DARK_COLOR"
# gsettings set $Background secondary-color "$DARK_COLOR"