diff --git a/src/scripts/python/util/x.py b/src/scripts/python/util/x.py index a9cdba7..d07f72c 100644 --- a/src/scripts/python/util/x.py +++ b/src/scripts/python/util/x.py @@ -75,3 +75,11 @@ def create_master(name: str = "touch"): def map_to_output(output, device_id): # TODO pass + + +def get_edid_dev_path(): + """returns iterator of pathes of devices with edid + + devices which has EDID are monitors. + """ + return Path("/sys/devices").rglob("edid")