6 lines
199 B
Bash
Executable File
6 lines
199 B
Bash
Executable File
Display="DVI-D-0" #find it with xrandr
|
|
|
|
Stylusid=$(xinput | grep -Po 'Wacom (.*)' | grep -Po 'id=(\d*)' | grep -Po '\d*')
|
|
|
|
$(echo $Stylusid | tr ' ' '\n' | xargs -i xinput map-to-output {} $Display)
|