Browse Source

Add get_edid_dev_path function

pull/2/head
Ali Hatami Tajik 2 years ago
parent
commit
0ab92a178c
  1. 8
      src/scripts/python/util/x.py

8
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")

Loading…
Cancel
Save