From 7e5e58e2d3f0c1b1d85756ab776d1f83a0ce8938 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 20 Jan 2018 13:11:56 -0500 Subject: [PATCH] Change rotate.sh to rotate all pointing devices --- .config/i3/rotate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/i3/rotate.sh b/.config/i3/rotate.sh index 1282a63..6588013 100755 --- a/.config/i3/rotate.sh +++ b/.config/i3/rotate.sh @@ -1,6 +1,7 @@ #!/bin/bash -ids=$(xinput --list|grep "SAM\|Digitizer"|grep -oP "id=\K[\w]*") +#ids=$(xinput --list|grep "SAM\|Digitizer"|grep -oP "id=\K[\w]*") # gets by name +ids=$(xinput list | grep -oP "^⎜.*id=\K[\w]*" ) # gets all pointing #ids=( 9 10 11 ) transform_matrix=""