Browse Source

Implement get edid name

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

6
src/scripts/python/setupmonitor.py

@ -68,9 +68,11 @@ def all_connected_monitor():
)
def get_edid_name(drm_name):
def get_edid_name(drm_name: str):
"""Change eGalax DRM name to atom name"""
return "#TODO"
card_num, name = drm_name[4:].split("-", maxsplit=1)
first, second = name.rsplit("-", maxsplit=1)
return first + "-" + card_num + "-" + second
def prepare_monitors(config):

Loading…
Cancel
Save