summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-04-08 11:36:09 +0100
committerdavidovski <david@davidovski.xyz>2024-04-08 11:36:09 +0100
commitb0372ad85ecf1f09ff82b226ef061f46b363618a (patch)
treee11ef7c64c1bd31be0f71f927a7074046bd506e4
parent729fd14c6be8b1531bbc7bd05fd3b71f385d3b6f (diff)
fix mistake in the tablet script
-rwxr-xr-xscripts/tablet2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tablet b/scripts/tablet
index 31c4871..35294ac 100755
--- a/scripts/tablet
+++ b/scripts/tablet
@@ -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]
if len(screens) == 1:
- target = screens[1]
+ target = screens[0]
else:
print("Multiple screens detected:\n")
for i, screen in enumerate(screens):