feat(src/window/panel): replace hardcoded config path with dynamic toml_file lookup

This commit is contained in:
sankalp committed 2026-07-06 17:39:23 +05:45
1 parent 43197521a8
commit fced1a0723
1 file changed
+2 -4
+2 -4
View File
@@ -10,11 +10,9 @@ from gi.repository import Gio
from shared.window.applet_window import AppletWindow
from utils.functions import run_command, thread
from utils.utils import setup_cursor_hover, svg_file
from utils.utils import setup_cursor_hover, svg_file, toml_file
MODS_CONFIG_PATH = (
Path(__file__).resolve().parent.parent.parent.parent.parent / "config" / "mods.toml"
)
MODS_CONFIG_PATH = Path(toml_file("mods.toml"))
RELOAD_DELAY_MS = 200