Browse Source

Change relative config file to absolute

pull/3/head
Ali Hatami Tajik 2 years ago
parent
commit
6fa9e4f103
  1. 4
      src/scripts/python/setupmonitor.py

4
src/scripts/python/setupmonitor.py

@ -34,8 +34,10 @@ import configparser
from util import edit_distance from util import edit_distance
from util.egalax import get_egalax_drm_pure_name from util.egalax import get_egalax_drm_pure_name
import subprocess 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" XRANDR = "/usr/bin/xrandr"
def read_config(): def read_config():

Loading…
Cancel
Save