From 7fdb3be0b398b28944e59dd8f2b3994f3e787a03 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Mon, 6 Jul 2026 17:38:29 +0545 Subject: [PATCH] refactor(config): replace get_relative_path with toml_file --- src/shared/data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/data.py b/src/shared/data.py index c5bed6b..0f4c506 100644 --- a/src/shared/data.py +++ b/src/shared/data.py @@ -3,6 +3,7 @@ from fabric.utils import logger from fabric.utils import Gdk, GLib, get_relative_path, os from utils.functions import parse_timeout_string +from utils.utils import toml_file APP_NAME = "modus1" APP_NAME_CAP = "Modus" @@ -21,7 +22,7 @@ CURRENT_HEIGHT = screen.get_height() WALLPAPERS_DIR_DEFAULT = get_relative_path("../assets/wallpapers_example/") -CONFIG_FILE = get_relative_path("../../config/config.toml") +CONFIG_FILE = toml_file("config.toml") MATUGEN_STATE_FILE = os.path.join(CONFIG_DIR, "matugen")