This commit is contained in:
parent
151f5a3418
commit
540339e4a9
@ -1,3 +1,9 @@
|
|||||||
|
pika-gnome-settings (4.5-100pika1) pikauwu; urgency=low
|
||||||
|
|
||||||
|
* Update to pikauwu
|
||||||
|
|
||||||
|
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||||
|
|
||||||
pika-gnome-settings (4.4-100pika1) pikauwu; urgency=low
|
pika-gnome-settings (4.4-100pika1) pikauwu; urgency=low
|
||||||
|
|
||||||
* Update to pikauwu
|
* Update to pikauwu
|
||||||
|
@ -116,11 +116,11 @@ check-alive-timeout = 30000
|
|||||||
pika-theme = 2
|
pika-theme = 2
|
||||||
|
|
||||||
[org.gnome.desktop.background]
|
[org.gnome.desktop.background]
|
||||||
picture-uri = 'file:///usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png'
|
picture-uri = 'file:///usr/share/backgrounds/pika/guard_it_well_okay__by_neytirix_ddcc1wt.jpg'
|
||||||
picture-uri-dark = 'file:///usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png'
|
picture-uri-dark = 'file:///usr/share/backgrounds/pika/guard_it_well_okay__by_neytirix_ddcc1wt.jpg'
|
||||||
|
|
||||||
[org.gnome.desktop.screensaver]
|
[org.gnome.desktop.screensaver]
|
||||||
picture-uri = 'file:///usr/share/backgrounds/pika/Wallpaper_PikaOS_Parrot_8K.png'
|
picture-uri = 'file:///usr/share/backgrounds/pika/guard_it_well_okay__by_neytirix_ddcc1wt.jpg'
|
||||||
|
|
||||||
[org.gnome.desktop.wm.preferences]
|
[org.gnome.desktop.wm.preferences]
|
||||||
button-layout = 'appmenu:close'
|
button-layout = 'appmenu:close'
|
||||||
@ -143,7 +143,7 @@ color-scheme = 'prefer-dark'
|
|||||||
favorite-apps = ['pika-installer.desktop', 'pika-welcome-welcome.desktop', 'firefox.desktop', 'repoman.desktop', 'update-manager.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Settings.desktop', 'org.gnome.Terminal.desktop', 'gnome-system-monitor.desktop']
|
favorite-apps = ['pika-installer.desktop', 'pika-welcome-welcome.desktop', 'firefox.desktop', 'repoman.desktop', 'update-manager.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Settings.desktop', 'org.gnome.Terminal.desktop', 'gnome-system-monitor.desktop']
|
||||||
|
|
||||||
[org.gnome.shell]
|
[org.gnome.shell]
|
||||||
enabled-extensions = ['ubuntu-appindicators@ubuntu.com', 'pika-darkmode@pika.com', 'pop-shell@system76.com']
|
enabled-extensions = ['ubuntu-appindicators@ubuntu.com', 'user-theme@gnome-shell-extensions.gcampax.github.com', 'pop-shell@system76.com']
|
||||||
|
|
||||||
[org.gnome.shell.extensions.nightthemeswitcher.time]
|
[org.gnome.shell.extensions.nightthemeswitcher.time]
|
||||||
manual-time-source = true
|
manual-time-source = true
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
KVANTUM_THEME_DARK=Orchis-dark#
|
KVANTUM_THEME_DARK=Orchis-dark#
|
||||||
KVANTUM_THEME_LIGHT=Orchis#
|
KVANTUM_THEME_LIGHT=Orchis#
|
||||||
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
|
GTK_THEME_DARK=$(dconf read /org/gnome/desktop/interface/gtk-theme | sed "s+'++" | sed "s+'++" | sed "s+-Dark++" | sed "s+-Light++")-Dark
|
||||||
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
|
GTK_THEME_LIGHT=$(dconf read /org/gnome/desktop/interface/gtk-theme | sed "s+'++" | sed "s+'++" | sed "s+-Dark++" | sed "s+-Light++")-Light
|
||||||
|
GTK_THEME_PATH_DARK=/usr/share/themes/$GTK_THEME_DARK
|
||||||
|
GTK_THEME_PATH_LIGHT=/usr/share/themes/$GTK_THEME_LIGHT
|
||||||
|
@ -13,6 +13,18 @@
|
|||||||
|
|
||||||
#KVANTUM_THEME_LIGHT=
|
#KVANTUM_THEME_LIGHT=
|
||||||
|
|
||||||
|
## Set GTK3/Gnome-shell Themes (Use Theme names)
|
||||||
|
|
||||||
|
# Set the GTK4/libadwaita theme gnome uses when in dark mode
|
||||||
|
# Example: GTK_THEME_DARK=Orchis-Dark
|
||||||
|
|
||||||
|
#GTK_THEME_DARK=
|
||||||
|
|
||||||
|
# Set the GTK4/libadwaita theme gnome uses when in lightmode
|
||||||
|
# Example: GTK_THEME_LIGHT=Orchis-Light
|
||||||
|
|
||||||
|
#GTK_THEME_LIGHT=
|
||||||
|
|
||||||
## Set GTK4/libadwaita Themes (Use PATHs)
|
## Set GTK4/libadwaita Themes (Use PATHs)
|
||||||
|
|
||||||
# Set the GTK4/libadwaita theme gnome uses when in dark mode
|
# Set the GTK4/libadwaita theme gnome uses when in dark mode
|
||||||
|
22
pika-gnome-settings/usr/bin/pika-gnome-darkmode
Normal file
22
pika-gnome-settings/usr/bin/pika-gnome-darkmode
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#! /bin/dash
|
||||||
|
if [ "$(gsettings get org.pika.layouts pika-theme)" = 1 ]
|
||||||
|
then
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
if [ -f /tmp/pika-gnome-color-scheme ]
|
||||||
|
then
|
||||||
|
if [ "$(gsettings get org.gnome.desktop.interface color-scheme)" != "$(cat /tmp/pika-gnome-color-scheme)" ]
|
||||||
|
then
|
||||||
|
if [ "$(gsettings get org.gnome.desktop.interface color-scheme)" = "'prefer-dark'" ]
|
||||||
|
then
|
||||||
|
pika-gnome-theme dark
|
||||||
|
else
|
||||||
|
pika-gnome-theme
|
||||||
|
fi
|
||||||
|
gsettings get org.gnome.desktop.interface color-scheme > /tmp/pika-gnome-color-scheme
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
gsettings get org.gnome.desktop.interface color-scheme > /tmp/pika-gnome-color-scheme
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
@ -17,9 +17,13 @@ fi
|
|||||||
|
|
||||||
if [[ $1 = dark ]]
|
if [[ $1 = dark ]]
|
||||||
then
|
then
|
||||||
kvantummanager --set $KVANTUM_THEME_DARK
|
gsettings set org.gnome.shell.extensions.user-theme name "$GTK_THEME_DARK"
|
||||||
cp -rfv $GTK_THEME_PATH_DARK/gtk-4.0 $HOME/.config/
|
gsettings set org.gnome.desktop.interface gtk-theme "$GTK_THEME_DARK"
|
||||||
|
kvantummanager --set "$KVANTUM_THEME_DARK"
|
||||||
|
cp -rfv "$GTK_THEME_PATH_DARK"/gtk-4.0 "$HOME"/.config/
|
||||||
else
|
else
|
||||||
kvantummanager --set $KVANTUM_THEME_LIGHT
|
gsettings set org.gnome.shell.extensions.user-theme name "$GTK_THEME_LIGHT"
|
||||||
cp -rfv $GTK_THEME_PATH_LIGHT/gtk-4.0 $HOME/.config/
|
gsettings set org.gnome.desktop.interface gtk-theme "$GTK_THEME_LIGHT"
|
||||||
|
kvantummanager --set "$KVANTUM_THEME_LIGHT"
|
||||||
|
cp -rfv "$GTK_THEME_PATH_LIGHT"/gtk-4.0 "$HOME"/.config/
|
||||||
fi
|
fi
|
||||||
|
@ -2,31 +2,24 @@
|
|||||||
if gsettings get org.pika.layouts pika-theme | grep 2
|
if gsettings get org.pika.layouts pika-theme | grep 2
|
||||||
then
|
then
|
||||||
dconf write /org/pika/layouts/pika-theme 1
|
dconf write /org/pika/layouts/pika-theme 1
|
||||||
gnome-extensions enable pika-darkmode@pika.com
|
gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
|
||||||
dconf write /org/gnome/desktop/wm/preferences/titlebar-font "'Ubuntu Bold 11'"
|
dconf write /org/gnome/desktop/wm/preferences/titlebar-font "'Ubuntu Bold 11'"
|
||||||
dconf write /org/gnome/desktop/sound/theme-name "'pika'"
|
dconf write /org/gnome/desktop/sound/theme-name "'pika'"
|
||||||
dconf write /org/gnome/desktop/interface/icon-theme "'Papirus'"
|
dconf write /org/gnome/desktop/interface/icon-theme "'Papirus'"
|
||||||
dconf write /org/gnome/desktop/interface/monospace-font-name "'Ubuntu Mono 13'"
|
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/document-font-name "'Sans 11'"
|
||||||
dconf write /org/gnome/desktop/interface/font-name "'Ubuntu 11'"
|
dconf write /org/gnome/desktop/interface/font-name "'Ubuntu 11'"
|
||||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/manual-time-source true
|
dconf write /org/gnome/desktop/interface/gtk-theme "'Jasper-Yellow-Dark'"
|
||||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/ondemand-button-placement "'none'"
|
dconf write /org/gnome/shell/extensions/user-theme/name "'Jasper-Yellow-Dark'"
|
||||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/ondemand-time "'night'"
|
|
||||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/time/time-source "'ondemand'"
|
|
||||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/enabled true
|
|
||||||
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'"
|
|
||||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/enabled true
|
|
||||||
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'"
|
|
||||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/enabled true
|
|
||||||
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'"
|
|
||||||
echo '#! /bin/bash' > $HOME/.config/pika_theme || touch $HOME/.config/pika_theme && echo '#! /bin/bash' > $HOME/.config/pika_theme
|
echo '#! /bin/bash' > $HOME/.config/pika_theme || touch $HOME/.config/pika_theme && echo '#! /bin/bash' > $HOME/.config/pika_theme
|
||||||
echo 'KVANTUM_THEME_DARK=Orchis-dark#' >> $HOME/.config/pika_theme
|
echo 'KVANTUM_THEME_DARK=Orchis-dark#' >> $HOME/.config/pika_theme
|
||||||
echo 'KVANTUM_THEME_LIGHT=Orchis#' >> $HOME/.config/pika_theme
|
echo 'KVANTUM_THEME_LIGHT=Orchis#' >> $HOME/.config/pika_theme
|
||||||
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_DARK=$(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
|
echo 'GTK_THEME_LIGHT=$(dconf read /org/gnome/desktop/interface/gtk-theme | 'sed \"s+\'++\"' | 'sed \"s+\'++\"' | 'sed \"s+-Dark++\"' | 'sed \"s+-Light++\"')'-Light >> $HOME/.config/pika_theme
|
||||||
|
echo 'GTK_THEME_PATH_DARK=/usr/share/themes/$GTK_THEME_DARK' >> $HOME/.config/pika_theme
|
||||||
|
echo 'GTK_THEME_PATH_LIGHT=/usr/share/themes/GTK_THEME_LIGHT' >> $HOME/.config/pika_theme
|
||||||
dconf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'"
|
dconf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'"
|
||||||
pika-gnome-theme dark
|
pika-gnome-theme dark
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
nice -20 pika-gnome-darkmode
|
Loading…
Reference in New Issue
Block a user