@ -133,7 +133,7 @@ class WebGreeter(App):
def __pre_init__(cls):
ConfigLoader.add_filter(cls.validate_greeter_config_data)
def _before_web_container_init(self):
def _before_main_window_init(self):
self.get_and_apply_user_config()
def _before_exit(self):
@ -85,8 +85,8 @@ def changeConfig(option: str, value):
return
def debugMode(value: bool):
window = {}
greeter = {}
window = dict(custom_config["whither"]["window"])
greeter = dict(custom_config["app"]["greeter"])
if value:
greeter["debug_mode"] = True
window["decorated"] = True
@ -10,6 +10,7 @@ WebGreeter:
command: /usr/lib/at-spi2-core/at-spi-bus-launcher
arg: --launch-immediately
app_id: web-greeter
url_scheme: web-greeter
context_menu:
enabled: False
debug_mode: '@debug_mode@'