Skip to content

Commit

Permalink
fix: wallpaper settings (#44)
Browse files Browse the repository at this point in the history
* fix: wallpaper settings

closes #19

* fix: wallpaper settings

closes #19
  • Loading branch information
JarbasAl authored Nov 5, 2024
1 parent e101071 commit 078075e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ovos_gui_plugin_shell_companion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def register_bus_events(self):
self.gui.register_handler("mycroft.device.settings.about.page", self.handle_device_about_page)
self.gui.register_handler("mycroft.device.settings.display", self.handle_device_display_settings)
self.gui.register_handler("mycroft.device.settings.factory", self.handle_device_display_factory)
self.gui.register_handler("mycroft.device.settings.wallpapers", self.handle_device_wallpaper_settings)

# Display settings
self.gui.register_handler("speaker.extension.display.set.auto.dim",
Expand Down Expand Up @@ -142,6 +143,10 @@ def handle_device_display_settings(self, message):
self.gui['display_auto_nightmode'] = self.config.get("auto_nightmode", False)
self.gui.show_page("AdditionalSettings", override_idle=True)

def handle_device_wallpaper_settings(self, message):
self.gui['state'] = 'settings/wallpaper_settings'
self.gui.show_page("AdditionalSettings", override_idle=True)

def handle_device_about_page(self, message):
# TODO: Move `system_information` generation to util method
uname_info = platform.uname()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ovos-plugin-manager>=0.5.5,<1.0.0
ovos-utils>=0.0.34,<1.0.0
ovos-bus-client>=0.0.3,<1.0.0
ovos-bus-client>=0.0.8,<2.0.0
astral~=3.0

0 comments on commit 078075e

Please sign in to comment.