changed monitor device ids

This commit is contained in:
Michael 2019-04-09 18:33:18 +01:00
parent eb9d05679d
commit c184b23e70

View File

@ -17,8 +17,8 @@ def display():
cmd = subprocess.getoutput(cmd) cmd = subprocess.getoutput(cmd)
if int(cmd) < 2560: if int(cmd) < 2560:
return "DP-1" return "DisplayPort-0"
return "DP-2" return "DisplayPort-1"
if len(sys.argv) <= 1: if len(sys.argv) <= 1:
print("Usage: {} [+|-]".format(sys.argv[0])) print("Usage: {} [+|-]".format(sys.argv[0]))