dotfiles/bin/.bin/wacom-to-first-screen.sh
Anthony Debucquoy 9eede5ef5f
First Commit
This is a first dotfiles config. I think I have a lot more to add tho...
2023-10-24 23:29:07 +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)