diff --git a/usr/lib/pika/gnome-layouts/main.py b/usr/lib/pika/gnome-layouts/main.py index 5fc1af8..d2ec509 100644 --- a/usr/lib/pika/gnome-layouts/main.py +++ b/usr/lib/pika/gnome-layouts/main.py @@ -151,6 +151,14 @@ class Application: settings = Gio.Settings.new("org.pika.layouts") + ### Themes + def on_pika_theme_button_pressed(self, widget): + subprocess.run(["/usr/lib/pika/gnome-layouts/theme.sh pika"], shell=True) + accent_box.show() + def on_gnome_theme_button_pressed(self, widget): + subprocess.run(["/usr/lib/pika/gnome-layouts/theme.sh gnome"], shell=True) + accent_box.hide() + if settings.get_int("layout-num") == 1: win10toggle = self.builder.get_object("win10_button")