refactor(config): replace get_relative_path with toml_file

This commit is contained in:
sankalp committed 2026-07-06 17:38:29 +05:45
1 parent 9ad25163f0
commit 7fdb3be0b3
1 file changed
+2 -1
+2 -1
View File
@@ -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")