From 016eb7cc51ee25632cfa0cccb8b52e6596e74658 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 30 Apr 2024 15:19:15 +0000 Subject: [PATCH] fixes --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9500610..a0d2963 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ Define this function in your config.py ``` import os -from qutebrowser.api import config as api_config +import traceback +from qutebrowser.utils import debug, log + sCONFIG_DIR = config.configdir def config_load_configs(lArgs: list|None = None, sDir: str = sCONFIG_DIR) -> None: i = 0 @@ -45,3 +47,8 @@ Then load the configs: i = config_load_configs(lCONFIGS) log.init.info(f'loaded {i} configs') ``` + +I think that this should be a standard function and a standard habit +of loading code snippets from a directory like: +~/.config/qutebrowser/configs +