UI Tweaks + Config Addition of TELEMETRY and TELEM_URL fields
This commit is contained in:
+5
-1
@@ -122,7 +122,11 @@ def load_system_config() -> dict:
|
||||
def load_user_config(config_dir: Path) -> dict:
|
||||
user_config_path = config_dir / "user_config.json"
|
||||
if not user_config_path.exists():
|
||||
default_user_config = {"URL": "", "LOG_LEVEL": "INFO"}
|
||||
default_user_config = {
|
||||
"TELEMETRY": "FALSE",
|
||||
"TEXTUAL_THEME": "gruvbox",
|
||||
"EXTRAS": "NOTTODAY",
|
||||
}
|
||||
with open(user_config_path, "w") as f:
|
||||
json.dump(default_user_config, f, indent=4)
|
||||
logging.debug(f"Created user config at {user_config_path}")
|
||||
|
||||
Reference in New Issue
Block a user