more ui stuff
This commit is contained in:
@@ -28,7 +28,6 @@ class ConfigHandler:
|
||||
def apply_settings(self):
|
||||
self.app.query_one("#code-editor").soft_wrap = bool(int(self.get("editor", "word_wrap")))
|
||||
self.app.theme = self.get("appearance", "colour_theme")
|
||||
self.app.notify(self.get("appearance", "colour_theme"))
|
||||
|
||||
def write_settings(self):
|
||||
with open(self.config_dir / "config.ini", "w") as configfile:
|
||||
@@ -46,7 +45,9 @@ class ConfigHandler:
|
||||
"word_wrap": "0"
|
||||
}
|
||||
self.config["plugins"] = {
|
||||
"enabled": "1"
|
||||
"enabled": "1",
|
||||
"log": "1",
|
||||
"log_timeout": "10"
|
||||
}
|
||||
self.config["appearance"] = {
|
||||
"colour_theme": "textual-dark"
|
||||
|
||||
Reference in New Issue
Block a user