Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6537a596e0 | ||
|
f6cc7bccb5 | ||
|
d67a879abf | ||
|
4d9f672241 | ||
|
6330dcbcf2 |
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
pika-gnome-layouts (3.2-100pika1) pikauwu; urgency=low
|
||||
|
||||
* Update to pikauwu
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
||||
|
||||
|
||||
pika-gnome-layouts (3.0-99pika9.lunar) lunar; urgency=low
|
||||
|
||||
* Refine UI
|
||||
|
1
debian/control
vendored
1
debian/control
vendored
@ -19,7 +19,6 @@ Depends: pika-welcome,
|
||||
gnome-shell-extension-desktop-icons-ng,
|
||||
gnome-shell-extension-appindicator,
|
||||
gnome-shell-extension-pika-darkmode,
|
||||
gnome-shell-extension-pop-shell | pop-shell,
|
||||
dconf-cli,
|
||||
pika-theme,
|
||||
pika-gnome-settings
|
||||
|
@ -2,7 +2,7 @@
|
||||
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main /srv/www/incoming/'
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:'
|
@ -1,29 +1,19 @@
|
||||
#! /usr/bin/bash
|
||||
gnome-extensions enable pika-darkmode@pika.com
|
||||
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/time-source "'ondemand'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/enabled true
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/enabled true
|
||||
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 "'pika-gnome-theme'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/sunset "'pika-gnome-theme dark'"
|
||||
gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
|
||||
if [[ $1 == Teal ]]
|
||||
then
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'Jasper-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/night "'Jasper-Dark'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/day "'Jasper-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night "'Jasper-Dark'"
|
||||
else
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'Jasper-$1-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/night "'Jasper-$1-Dark'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/day "'Jasper-$1-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night "'Jasper-$1-Dark'"
|
||||
fi
|
||||
if dconf read /org/gnome/desktop/interface/color-scheme | grep dark
|
||||
then
|
||||
pika-gnome-theme dark
|
||||
gdbus call --session --dest 'org.gnome.Shell' --object-path '/org/gnome/Shell' --method 'org.gnome.Shell.ScreenTransition' & gsettings set org.gnome.shell.extensions.user-theme name "Jasper-Dark" && gsettings set org.gnome.desktop.interface gtk-theme "Jasper-Dark" && cp -rfv "/usr/share/themes/Jasper-Dark"/gtk-4.0 "$HOME"/.config/
|
||||
|
||||
else
|
||||
pika-gnome-theme
|
||||
gdbus call --session --dest 'org.gnome.Shell' --object-path '/org/gnome/Shell' --method 'org.gnome.Shell.ScreenTransition' & gsettings set org.gnome.shell.extensions.user-theme name "Jasper-Light" && gsettings set org.gnome.desktop.interface gtk-theme "Jasper-Light" && cp -rfv "/usr/share/themes/Jasper-Light"/gtk-4.0 "$HOME"/.config/
|
||||
fi
|
||||
else
|
||||
if dconf read /org/gnome/desktop/interface/color-scheme | grep dark
|
||||
then
|
||||
gdbus call --session --dest 'org.gnome.Shell' --object-path '/org/gnome/Shell' --method 'org.gnome.Shell.ScreenTransition' & gsettings set org.gnome.shell.extensions.user-theme name "Jasper-$1-Dark" && gsettings set org.gnome.desktop.interface gtk-theme "Jasper-$1-Dark" && cp -rfv "/usr/share/themes/Jasper-$1-Dark"/gtk-4.0 "$HOME"/.config/
|
||||
else
|
||||
gdbus call --session --dest 'org.gnome.Shell' --object-path '/org/gnome/Shell' --method 'org.gnome.Shell.ScreenTransition' & gsettings set org.gnome.shell.extensions.user-theme name "Jasper-$1-Light" && gsettings set org.gnome.desktop.interface gtk-theme "Jasper-$1-Light" && cp -rfv "/usr/share/themes/Jasper-$1-Light"/gtk-4.0 "$HOME"/.config/
|
||||
fi
|
||||
fi
|
||||
|
@ -1,44 +1,28 @@
|
||||
#! /bin/bash
|
||||
rm -rfv $HOME/.config/gtk-4.0
|
||||
|
||||
gnome-extensions enable pika-darkmode@pika.com
|
||||
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'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/enabled true
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/enabled true
|
||||
|
||||
if [[ $1 == pika ]]
|
||||
then
|
||||
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/sound/theme-name "'pika'"
|
||||
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/document-font-name "'Sans 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/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'"
|
||||
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'"
|
||||
dconf write /org/gnome/desktop/interface/gtk-theme "'Jasper-Yellow-Dark'"
|
||||
dconf write /org/gnome/shell/extensions/user-theme/name "'Jasper-Yellow-Dark'"
|
||||
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_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_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_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_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'"
|
||||
pika-gnome-theme dark
|
||||
pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C yellow
|
||||
|
||||
if dconf read /org/gnome/desktop/interface/color-scheme | grep dark
|
||||
then
|
||||
pika-gnome-theme dark
|
||||
@ -46,6 +30,7 @@ else
|
||||
pika-gnome-theme
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $1 == gnome ]]
|
||||
then
|
||||
dconf write /org/pika/layouts/pika-theme 0
|
||||
@ -64,6 +49,8 @@ dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night
|
||||
echo '#! /bin/bash' > $HOME/.config/pika_theme || touch $HOME/.config/pika_theme && echo '#! /bin/bash' > $HOME/.config/pika_theme
|
||||
echo 'KVANTUM_THEME_DARK=' >> $HOME/.config/pika_theme
|
||||
echo 'KVANTUM_THEME_LIGHT=' >> $HOME/.config/pika_theme
|
||||
echo 'GTK_THEME_DARK=' >> $HOME/.config/pika_theme
|
||||
echo 'GTK_THEME_LIGHT=' >> $HOME/.config/pika_theme
|
||||
echo 'GTK_THEME_PATH_DARK=' >> $HOME/.config/pika_theme
|
||||
echo 'GTK_THEME_PATH_LIGHT=' >> $HOME/.config/pika_theme
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user