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 +