From b0372ad85ecf1f09ff82b226ef061f46b363618a Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 8 Apr 2024 11:36:09 +0100 Subject: fix mistake in the tablet script --- scripts/tablet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1