pika-gnome-settings/pika-settings/usr/bin/pika-theme-setup

33 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2023-03-27 19:29:22 +02:00
#! /bin/bash
2023-03-27 22:16:59 +02:00
if gsettings get org.pika.layouts pika-theme | grep 2
2023-03-27 19:29:22 +02:00
then
dconf write /org/pika/layouts/pika-theme 1
2023-03-28 19:44:53 +02:00
gnome-extensions enable pika-darkmode@pika.com
2023-09-11 23:07:21 +02:00
dconf write /org/gnome/desktop/wm/preferences/titlebar-font "'Ubuntu Bold 11'"
2023-03-27 19:29:22 +02:00
dconf write /org/gnome/desktop/sound/theme-name "'pika'"
dconf write /org/gnome/desktop/interface/icon-theme "'Papirus'"
2023-09-11 23:07:21 +02:00
dconf write /org/gnome/desktop/interface/monospace-font-name "'Ubuntu Mono 13'"
dconf write /org/gnome/desktop/interface/document-font-name "'Sans 11'"
dconf write /org/gnome/desktop/interface/font-name "'Ubuntu 11'"
2023-03-28 19:44:53 +02:00
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/manual-time-source true
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/ondemand-button-placement "'none'"
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/ondemand-time "'night'"
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/time-source "'ondemand'"
2023-03-27 19:29:22 +02:00
dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/enabled true
2023-03-28 14:22:20 +02:00
dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunrise "'pika-gnome-theme'"
dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunset "'pika-gnome-theme dark'"
2023-03-28 19:44:53 +02:00
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/enabled true
2023-09-11 23:07:21 +02:00
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'Jasper-Yellow-Light'"
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/night "'Jasper-Yellow-Dark'"
2023-03-28 19:44:53 +02:00
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/enabled true
2023-09-11 23:07:21 +02:00
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/day "'Jasper-Yellow-Light'"
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night "'Jasper-Yellow-Dark'"
2023-03-27 19:29:22 +02:00
echo '#! /bin/bash' > $HOME/.config/pika_theme || touch $HOME/.config/pika_theme && echo '#! /bin/bash' > $HOME/.config/pika_theme
2023-03-28 14:22:20 +02:00
echo 'KVANTUM_THEME_DARK=Orchis-dark#' >> $HOME/.config/pika_theme
echo 'KVANTUM_THEME_LIGHT=Orchis#' >> $HOME/.config/pika_theme
2023-03-27 19:29:22 +02:00
echo 'GTK_THEME_PATH_DARK=/usr/share/themes/$(dconf read /org/gnome/desktop/interface/gtk-theme | 'sed \"s+\'++\"' | 'sed \"s+\'++\"' | 'sed \"s+-Dark++\"' | 'sed \"s+-Light++\"')'-Dark >> $HOME/.config/pika_theme
echo 'GTK_THEME_PATH_LIGHT=/usr/share/themes/$(dconf read /org/gnome/desktop/interface/gtk-theme | 'sed \"s+\'++\"' | 'sed \"s+\'++\"' | 'sed \"s+-Dark++\"' | 'sed \"s+-Light++\"')'-Light >> $HOME/.config/pika_theme
2023-03-28 14:22:20 +02:00
dconf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'"
pika-gnome-theme dark
2023-03-27 19:29:22 +02:00
fi