Browse Source

Added custom url scheme in config. Bugfixes

sisyphus
JezerM 4 years ago
parent
commit
afa1614821
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 2
      web-greeter/globals.py
  2. 4
      web-greeter/greeter.py
  3. 1
      web-greeter/whither.yml

2
web-greeter/globals.py

@ -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):

4
web-greeter/greeter.py

@ -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

1
web-greeter/whither.yml

@ -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@'

Loading…
Cancel
Save