partial changes
This commit is contained in:
parent
ba0245197e
commit
071414e1b9
1
debian/control
vendored
1
debian/control
vendored
@ -18,5 +18,6 @@ Depends: pika-welcome,
|
|||||||
gnome-shell-extension-dash-to-panel,
|
gnome-shell-extension-dash-to-panel,
|
||||||
gnome-shell-extension-ubuntu-dock,
|
gnome-shell-extension-ubuntu-dock,
|
||||||
gnome-shell-extension-desktop-icons-ng,
|
gnome-shell-extension-desktop-icons-ng,
|
||||||
|
gnome-shell-extension-appindicator,
|
||||||
dconf-cli
|
dconf-cli
|
||||||
Description: PikaOS Gnome Desktop Layouts Selector
|
Description: PikaOS Gnome Desktop Layouts Selector
|
||||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 9.0 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 9.4 KiB |
19
usr/lib/pika/gnome-layouts/accent-colors/pink.svg
Normal file
19
usr/lib/pika/gnome-layouts/accent-colors/pink.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.4 KiB |
19
usr/lib/pika/gnome-layouts/accent-colors/teal.svg
Normal file
19
usr/lib/pika/gnome-layouts/accent-colors/teal.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 14 KiB |
@ -8,7 +8,7 @@ dconf reset -f /org/gnome/shell/extensions/dash-to-dock/ || echo
|
|||||||
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
||||||
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
||||||
gnome-extensions reset arcmenu@arcmenu.com || echo
|
gnome-extensions reset arcmenu@arcmenu.com || echo
|
||||||
gnome-extensions reset ubuntu-dock@ubuntu.com || echo
|
gnome-extensions reset pika-dock@ubuntu.com || echo
|
||||||
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
||||||
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
||||||
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
||||||
|
@ -8,7 +8,7 @@ dconf reset -f /org/gnome/shell/extensions/dash-to-dock/ || echo
|
|||||||
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
||||||
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
||||||
gnome-extensions reset arcmenu@arcmenu.com || echo
|
gnome-extensions reset arcmenu@arcmenu.com || echo
|
||||||
gnome-extensions reset ubuntu-dock@ubuntu.com || echo
|
gnome-extensions reset pika-dock@ubuntu.com || echo
|
||||||
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
||||||
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
||||||
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
||||||
@ -32,7 +32,7 @@ dconf write /org/gnome/shell/extensions/dash-to-dock/dock-position "'BOTTOM'"
|
|||||||
dconf write /org/gnome/shell/extensions/just-perfection/clock-menu-position 1
|
dconf write /org/gnome/shell/extensions/just-perfection/clock-menu-position 1
|
||||||
|
|
||||||
# Enable Dock
|
# Enable Dock
|
||||||
gnome-extensions enable ubuntu-dock@ubuntu.com
|
gnome-extensions enable pika-dock@ubuntu.com
|
||||||
# Enable just perfection
|
# Enable just perfection
|
||||||
gnome-extensions enable just-perfection-desktop@just-perfection
|
gnome-extensions enable just-perfection-desktop@just-perfection
|
||||||
# Enable Desktop Icons
|
# Enable Desktop Icons
|
||||||
|
@ -8,7 +8,7 @@ dconf reset -f /org/gnome/shell/extensions/dash-to-dock/ || echo
|
|||||||
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
||||||
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
||||||
gnome-extensions reset arcmenu@arcmenu.com || echo
|
gnome-extensions reset arcmenu@arcmenu.com || echo
|
||||||
gnome-extensions reset ubuntu-dock@ubuntu.com || echo
|
gnome-extensions reset pika-dock@ubuntu.com || echo
|
||||||
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
||||||
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
||||||
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
||||||
@ -33,7 +33,7 @@ dconf write /org/gnome/shell/extensions/just-perfection/clock-menu-position '1'
|
|||||||
|
|
||||||
|
|
||||||
# Enable Dash
|
# Enable Dash
|
||||||
gnome-extensions enable ubuntu-dock@ubuntu.com
|
gnome-extensions enable pika-dock@ubuntu.com
|
||||||
# Enable just perfection
|
# Enable just perfection
|
||||||
gnome-extensions enable just-perfection-desktop@just-perfection
|
gnome-extensions enable just-perfection-desktop@just-perfection
|
||||||
# Enable Desktop Icons
|
# Enable Desktop Icons
|
||||||
|
@ -8,7 +8,7 @@ dconf reset -f /org/gnome/shell/extensions/dash-to-dock/ || echo
|
|||||||
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
||||||
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
||||||
gnome-extensions reset arcmenu@arcmenu.com || echo
|
gnome-extensions reset arcmenu@arcmenu.com || echo
|
||||||
gnome-extensions reset ubuntu-dock@ubuntu.com || echo
|
gnome-extensions reset pika-dock@ubuntu.com || echo
|
||||||
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
||||||
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
||||||
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
||||||
|
@ -10,7 +10,7 @@ dconf reset -f /org/gnome/shell/extensions/dash-to-dock/ || echo
|
|||||||
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || echo
|
||||||
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
dconf reset -f /org/gnome/shell/extensions/just-perfection/ || echo
|
||||||
gnome-extensions reset arcmenu@arcmenu.com || echo
|
gnome-extensions reset arcmenu@arcmenu.com || echo
|
||||||
gnome-extensions reset ubuntu-dock@ubuntu.com || echo
|
gnome-extensions reset pika-dock@ubuntu.com || echo
|
||||||
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
gnome-extensions reset dash-to-panel@jderose9.github.com || echo
|
||||||
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
gnome-extensions reset just-perfection-desktop@just-perfection || echo
|
||||||
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
gnome-extensions reset launch-new-instance@gnome-shell-extensions.gcampax.github.com || echo
|
||||||
|
@ -34,6 +34,13 @@ class Application:
|
|||||||
|
|
||||||
subprocess.run(["gsettings set org.gnome.shell disable-user-extensions false"], shell=True, stdout=subprocess.DEVNULL)
|
subprocess.run(["gsettings set org.gnome.shell disable-user-extensions false"], shell=True, stdout=subprocess.DEVNULL)
|
||||||
|
|
||||||
|
theme_box = self.builder.get_object("theme_box")
|
||||||
|
|
||||||
|
theme_output = subprocess.run(["dconf read /org/pika/layouts/pika-theme | grep 1"], shell=True)
|
||||||
|
|
||||||
|
if (theme_output.returncode) != 0:
|
||||||
|
theme_box.hide()
|
||||||
|
|
||||||
### Extension refresh ###
|
### Extension refresh ###
|
||||||
|
|
||||||
global extension_refresh
|
global extension_refresh
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
47
usr/lib/pika/gnome-layouts/theme.sh
Executable file
47
usr/lib/pika/gnome-layouts/theme.sh
Executable file
@ -0,0 +1,47 @@
|
|||||||
|
#! /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/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
|
||||||
|
dconf write /org/gnome/shell/extensions/user-theme/name "'Orchis-Yellow'"
|
||||||
|
dconf write /org/gnome/desktop/wm/preferences/theme "'Orchis-Yellow'"
|
||||||
|
dconf write /org/gnome/desktop/wm/preferences/titlebar-font "'Fira Sans Semi-Bold 10'"
|
||||||
|
dconf write /org/gnome/desktop/sound/theme-name "'pika'"
|
||||||
|
dconf write /org/gnome/desktop/interface/gtk-theme "'Orchis-Yellow'"
|
||||||
|
dconf write /org/gnome/desktop/interface/icon-theme "'Papirus'"
|
||||||
|
dconf write /org/gnome/desktop/interface/monospace-font-name "'Fira Mono 11'"
|
||||||
|
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/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'"
|
||||||
|
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night "'Orchis-Yellow-Dark'"
|
||||||
|
fi
|
||||||
|
if [[ $1 == gnome ]]
|
||||||
|
then
|
||||||
|
dconf write /org/pika/layouts/pika-theme 0
|
||||||
|
dconf write /org/gnome/shell/extensions/user-theme/name "''"
|
||||||
|
dconf write /org/gnome/desktop/wm/preferences/theme "'adw-gtk3'"
|
||||||
|
dconf write /org/gnome/desktop/wm/preferences/titlebar-font "'Cantarell Bold 11'"
|
||||||
|
dconf write /org/gnome/desktop/sound/theme-name "'freedesktop'"
|
||||||
|
dconf write /org/gnome/desktop/interface/gtk-theme "'adw-gtk3'"
|
||||||
|
dconf write /org/gnome/desktop/interface/icon-theme "'Adwaita'"
|
||||||
|
dconf write /org/gnome/desktop/interface/monospace-font-name "'Monospace 11'"
|
||||||
|
dconf write /org/gnome/desktop/interface/document-font-name "'Sans 11'"
|
||||||
|
dconf write /org/gnome/desktop/interface/font-name "'Cantarell 11'"
|
||||||
|
dconf write /org/gnome/shell/extensions/nightthemeswitcher/commands/enabled false
|
||||||
|
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'adw-gtk3'"
|
||||||
|
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/night "'adw-gtk3-dark'"
|
||||||
|
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/day "''"
|
||||||
|
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night "''"
|
||||||
|
fi
|
@ -7,5 +7,12 @@
|
|||||||
What layout is selected.
|
What layout is selected.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
<key type="i" name="pika-theme">
|
||||||
|
<default>1</default>
|
||||||
|
<summary>What Theme is being used.</summary>
|
||||||
|
<description>
|
||||||
|
What Theme is being used.
|
||||||
|
</description>
|
||||||
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
</schemalist>
|
</schemalist>
|
||||||
|
Loading…
Reference in New Issue
Block a user