Map an input device to an output screen
#!/bin/bash | |
declare $(xinput | grep -i touchscreen | awk {'print$5'}) | |
monitor=$(xrandr | grep primary | awk {'print$1'}) | |
xinput map-to-output ${id} ${monitor} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment