partial changes
This commit is contained in:
parent
a36f369f81
commit
5a2e181e88
@ -1,12 +1,24 @@
|
||||
#! /usr/bin/bash
|
||||
# Enable extensions
|
||||
gnome-extensions enable custom-accent-colors@demiskp
|
||||
gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com
|
||||
# Set accent color settings
|
||||
dconf write /org/gnome/shell/extensions/custom-accent-colors/accent-color "'"$1"'"
|
||||
dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-flatpak true
|
||||
dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-gtk3 true
|
||||
dconf write /org/gnome/shell/extensions/custom-accent-colors/theme-shell true
|
||||
# Refresh Shell
|
||||
dconf write /org/gnome/shell/extensions/user-theme/name "''"
|
||||
dconf write /org/gnome/shell/extensions/user-theme/name "'CustomAccentColors'"
|
||||
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
|
||||
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'"
|
||||
if [[ $1 == Blue ]]
|
||||
then
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'Orchis-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/night "'Orchis-Dark'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/day "'Orchis-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night "'Orchis-Dark'"
|
||||
else
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/day "'Orchis-$1-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/gtk-variants/night "'Orchis-$1-Dark'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/day "'Orchis-$1-Light'"
|
||||
dconf write /org/gnome/shell/extensions/nightthemeswitcher/shell-variants/night "'Orchis-$1-Dark'"
|
||||
fi
|
||||
|
@ -216,39 +216,39 @@ class Application:
|
||||
### Accent Colors
|
||||
|
||||
def blue_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh blue"], shell=True)
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Blue"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C blue"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def green_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh green"], shell=True)
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Green"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C green"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def yellow_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh yellow"], shell=True)
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Yellow"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C yellow"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def orange_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh orange"], shell=True)
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Orange"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C orange"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def red_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh red"], shell=True)
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Red"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C red"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def magenta_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh magenta"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C magenta"], shell=True)
|
||||
def pink_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Pink"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C pink"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def purple_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh purple"], shell=True)
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Purple"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C violet"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def brown_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh brown"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C brown"], shell=True)
|
||||
def teal_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Teal"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/-u -C teal"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
def gray_accent_button_pressed_cb (self, widget):
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh gray"], shell=True)
|
||||
subprocess.run(["/usr/lib/pika/gnome-layouts/dconf-accent.sh Gray"], shell=True)
|
||||
subprocess.run(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C grey"], shell=True)
|
||||
subprocess.run(["echo 'theme change done!'"], shell=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user