partial changes
This commit is contained in:
parent
c57b0138b6
commit
e0d1f8a285
@ -151,6 +151,14 @@ class Application:
|
|||||||
settings = Gio.Settings.new("org.pika.layouts")
|
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:
|
if settings.get_int("layout-num") == 1:
|
||||||
win10toggle = self.builder.get_object("win10_button")
|
win10toggle = self.builder.get_object("win10_button")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user