diff options
author | davidovski <david@davidovski.xyz> | 2024-04-21 22:32:45 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-04-21 22:32:45 +0100 |
commit | efa6ffe227b155506964da6ee5eed45d3e495efc (patch) | |
tree | 82e1abff0bd114e9a5335d641f080aed02c776d6 /scripts/tablet | |
parent | 28be860614d9f900fba8803f21cc486e1e22ff65 (diff) | |
parent | b0372ad85ecf1f09ff82b226ef061f46b363618a (diff) |
Merge branch 'master' of git.cheetah.remote:dot
Diffstat (limited to 'scripts/tablet')
-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): |