diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-07-05 10:09:20 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-07-05 10:09:20 +0300 |
| commit | d59838d40fcff182b5e9b888f3617bb83ed8e7b8 (patch) | |
| tree | a39a3b2116e876bd1bdc23d23404ef1331f09f1b | |
| parent | ba48fd769a3dc89575a86f15a147d401b69edeb3 (diff) | |
| download | fungus-launcher-d59838d40fcff182b5e9b888f3617bb83ed8e7b8.tar.gz fungus-launcher-d59838d40fcff182b5e9b888f3617bb83ed8e7b8.tar.xz | |
pick a better name for config_file constant
| -rw-r--r-- | fungus/__init__.py | 6 | ||||
| -rw-r--r-- | fungus/constants.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fungus/__init__.py b/fungus/__init__.py index 088687d..9ae5253 100644 --- a/fungus/__init__.py +++ b/fungus/__init__.py @@ -13,7 +13,7 @@ __all__ = [ "SandboxWarningDialog", "SettingsDialog", "app_dir", - "config_file_dir", + "config_file_path", "desktop_dir", "envar_dir", "format_title", @@ -52,7 +52,7 @@ def __getattr__(name): # Fall back to module-level constants from fungus.constants import ( app_dir, - config_file_dir, + config_file_path, desktop_dir, envar_dir, fungus_launcher_dir, @@ -64,7 +64,7 @@ def __getattr__(name): _constants = { "app_dir": app_dir, - "config_file_dir": config_file_dir, + "config_file_path": config_file_path, "desktop_dir": desktop_dir, "envar_dir": envar_dir, "fungus_launcher_dir": fungus_launcher_dir, diff --git a/fungus/constants.py b/fungus/constants.py index 1e69850..90dc34e 100644 --- a/fungus/constants.py +++ b/fungus/constants.py @@ -22,7 +22,7 @@ def get_desktop_dir(): # ── User config / data paths ──────────────────────────────────────────── fungus_launcher_dir = PathManager.user_config('fungus-launcher') icons_dir = PathManager.user_config('fungus-launcher/icons') -config_file_dir = PathManager.user_config('fungus-launcher/config.ini') +config_file_path = PathManager.user_config('fungus-launcher/config.ini') envar_dir = PathManager.user_config('fungus-launcher/envar.txt') share_dir = PathManager.user_data() |
