|
@ -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(): |
|
|