tmp fix dark/light toggle
This commit is contained in:
parent
c91d7e0450
commit
4941815a5f
3 changed files with 18 additions and 2 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue