feat(src/window/panel): replace hardcoded config path with dynamic toml_file lookup
This commit is contained in:
1 file changed
+2
-4
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user