diff --git a/usr/lib/pika/gnome-layouts/dconf-accent.sh b/usr/lib/pika/gnome-layouts/dconf-accent.sh index 6dac6f8..0cecdcc 100755 --- a/usr/lib/pika/gnome-layouts/dconf-accent.sh +++ b/usr/lib/pika/gnome-layouts/dconf-accent.sh @@ -9,7 +9,7 @@ dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/enable dconf write /org/pika/layouts/pika-theme 1 dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/enabled true dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunrise "'/usr/lib/pika/gnome-layouts/libadwaita.sh'" -dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunset "'/usr/lib/pika/gnome-layouts/libadwaita.sh'" +dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunset "'/usr/lib/pika/gnome-layouts/libadwaita.sh dark'" if [[ $1 == Blue ]] then dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'Orchis-Light'" diff --git a/usr/lib/pika/gnome-layouts/libadwaita.sh b/usr/lib/pika/gnome-layouts/libadwaita.sh index 90c6821..69d2376 100755 --- a/usr/lib/pika/gnome-layouts/libadwaita.sh +++ b/usr/lib/pika/gnome-layouts/libadwaita.sh @@ -1,3 +1,8 @@ #! /bin/bash rm -rfv $HOME/.config/gtk-4.0 cp -rfv /usr/share/themes/$(dconf read /org/gnome/desktop/interface/gtk-theme | sed "s+'++" | sed "s+'++")/gtk-4.0 $HOME/.config/ +kvantummanager --set Orchis +if [[ $1 = dark ]] +then +kvantummanager --set Orchis-dark +fi diff --git a/usr/lib/pika/gnome-layouts/theme.sh b/usr/lib/pika/gnome-layouts/theme.sh index c14c987..b206d39 100755 --- a/usr/lib/pika/gnome-layouts/theme.sh +++ b/usr/lib/pika/gnome-layouts/theme.sh @@ -18,7 +18,7 @@ dconf write /org/gnome/desktop/interface/document-font-name "'Roboto Slab 11'" dconf write /org/gnome/desktop/interface/font-name "'Fira Sans Semi-Light 10'" dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/enabled true dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunrise "'/usr/lib/pika/gnome-layouts/libadwaita.sh'" -dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunset "'/usr/lib/pika/gnome-layouts/libadwaita.sh'" +dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunset "'/usr/lib/pika/gnome-layouts/libadwaita.sh dark'" dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'Orchis-Yellow-Light'" dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/night "'Orchis-Yellow-Dark'" dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/day "'Orchis-Yellow-Light'"