tmp fix dark/light toggle
This commit is contained in:
parent
c91d7e0450
commit
4941815a5f
3 changed files with 18 additions and 2 deletions
|
|
@ -189,7 +189,19 @@ clock-show-date=true
|
|||
clock-show-seconds=true
|
||||
clock-show-weekday=true
|
||||
|
||||
color-scheme='prefer-dark'
|
||||
# Options are:
|
||||
# - "default"
|
||||
# Basically a light theme
|
||||
# where some of the shell chrome remains dark (e.g., the top bar)
|
||||
# - "prefer-dark"
|
||||
# Official dark theme,
|
||||
# selectable in the `gnome-control-center`
|
||||
# - "prefer-light"
|
||||
# Unofficial light theme,
|
||||
# not selectable in the `gnome-control-center`,
|
||||
# but usable via the "Dark Style" toggle in the quick settings menu
|
||||
# with the "Light Style" extension
|
||||
color-scheme='prefer-light'
|
||||
|
||||
# document-font-name='Cantarell 11'
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
[org/gnome/shell]
|
||||
|
||||
enabled-extensions=['AlphabeticalAppGrid@stuarthayhurst', 'app-hider@lynith.dev', 'appindicator-hider@theophilediot.github.io', 'appindicatorsupport@rgcjonas.gmail.com', 'auto-move-windows@gnome-shell-extensions.gcampax.github.com', 'drive-menu@gnome-shell-extensions.gcampax.github.com', 'forge@jmmaranan.com', 'just-perfection-desktop@just-perfection', 'launch-new-instance@gnome-shell-extensions.gcampax.github.com', 'no-screenshot-box@screenshot', 'panel-date-format@keiii.github.com', 'rounded-window-corners@fxgn', 'space-bar@luchrioh']
|
||||
enabled-extensions=['AlphabeticalAppGrid@stuarthayhurst', 'app-hider@lynith.dev', 'appindicator-hider@theophilediot.github.io', 'appindicatorsupport@rgcjonas.gmail.com', 'auto-move-windows@gnome-shell-extensions.gcampax.github.com', 'drive-menu@gnome-shell-extensions.gcampax.github.com', 'forge@jmmaranan.com', 'just-perfection-desktop@just-perfection', 'launch-new-instance@gnome-shell-extensions.gcampax.github.com', 'light-style@gnome-shell-extensions.gcampax.github.com', 'no-screenshot-box@screenshot', 'panel-date-format@keiii.github.com', 'rounded-window-corners@fxgn', 'space-bar@luchrioh']
|
||||
|
||||
disabled-extensions=@as []
|
||||
|
||||
|
|
|
|||
|
|
@ -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