diff options
author | davidovski <david@davidovski.xyz> | 2024-04-08 11:36:09 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-04-08 11:36:09 +0100 |
commit | b0372ad85ecf1f09ff82b226ef061f46b363618a (patch) | |
tree | e11ef7c64c1bd31be0f71f927a7074046bd506e4 | |
parent | 729fd14c6be8b1531bbc7bd05fd3b71f385d3b6f (diff) |
fix mistake in the tablet script
-rwxr-xr-x | scripts/tablet | 2 |
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): |