💅 style(config, gui): replace hardcoded paths with user-specific paths in config and gui modules

This commit is contained in:
sankalp committed 2025-06-22 20:09:20 +05:45
1 parent 380e2dbb1a
commit 25b3cebcc2
6 files changed
+27 -37

No files matched your search

+1 -3
View File
@@ -40,9 +40,7 @@ DOCK_THEME = "Pills"
def load_config():
"""Load the configuration from config.json"""
config_path = os.path.expanduser(
f"~/.config/{APP_NAME_CAP}/config/json/config.json"
)
config_path = os.path.expanduser(f"~/{APP_NAME_CAP}/config/json/config.json")
config = {}
if os.path.exists(config_path):