mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
fix mistake in the tablet script
This commit is contained in:
parent
729fd14c6b
commit
b0372ad85e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ dev = input("Select input device (id) to use: ")
|
||||||
prop = [ re.search(r"\((.+)\)", line).group(1) for line in subprocess.check_output(["xinput", "list-props", dev]).decode("ascii").split("\n") if re.search("Coordinate Transformation Matrix", line) ][0]
|
prop = [ re.search(r"\((.+)\)", line).group(1) for line in subprocess.check_output(["xinput", "list-props", dev]).decode("ascii").split("\n") if re.search("Coordinate Transformation Matrix", line) ][0]
|
||||||
|
|
||||||
if len(screens) == 1:
|
if len(screens) == 1:
|
||||||
target = screens[1]
|
target = screens[0]
|
||||||
else:
|
else:
|
||||||
print("Multiple screens detected:\n")
|
print("Multiple screens detected:\n")
|
||||||
for i, screen in enumerate(screens):
|
for i, screen in enumerate(screens):
|
||||||
|
|
Loading…
Reference in a new issue