From 4d3bdc472ec5f16993fa1336b66b82311c6ef538 Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Fri, 23 Dec 2022 14:08:12 +0300 Subject: [PATCH] sync --- src/usr/lib/pika/gnome-layouts/main.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/usr/lib/pika/gnome-layouts/main.py b/src/usr/lib/pika/gnome-layouts/main.py index 4c74762..8d6b85c 100644 --- a/src/usr/lib/pika/gnome-layouts/main.py +++ b/src/usr/lib/pika/gnome-layouts/main.py @@ -201,30 +201,39 @@ class Application: def blue_accent_button_pressed_cb (self, widget): 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(["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(["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(["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(["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) + 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(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C 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) + 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(["pkexec /usr/lib/pika/gnome-layouts/papirus-folders -u -C grey"], shell=True) + subprocess.run(["echo 'theme change done!'"], shell=True) #### Desktop Switch #### def on_desktop_switch_active_notify(self, switch, state):