diff --git a/src/scripts/python/setupmonitor.py b/src/scripts/python/setupmonitor.py index 501bb5a..7f71d69 100644 --- a/src/scripts/python/setupmonitor.py +++ b/src/scripts/python/setupmonitor.py @@ -34,8 +34,10 @@ import configparser from util import edit_distance from util.egalax import get_egalax_drm_pure_name import subprocess +from pathlib import Path +import os -CONFIG_NAME = "conf/desktop.conf" +CONFIG_NAME = Path(os.path.dirname(os.path.realpath(__file__))) / "conf/desktop.conf" XRANDR = "/usr/bin/xrandr" def read_config():