Files
old-dotfiles/bin/wacom-to-first-screen.sh
2023-04-18 09:55:20 +02:00

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)