Document wacom drawing area script

master
Hektor Misplon 2021-02-20 16:11:47 +01:00
parent f8d8fd8291
commit 324dac29b4
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Note: this script gets called from $HOME/.config/autorandr/docked/postswitch,
# default drawing area on my 4K monitor
# Rotate drawing are for vertical drawing
# (physical controls above drawing area)
xsetwacom set "Wacom Intuos Pro M Pen stylus" rotate ccw xsetwacom set "Wacom Intuos Pro M Pen stylus" rotate ccw
xsetwacom set "Wacom Intuos Pro M Finger touch" rotate ccw xsetwacom set "Wacom Intuos Pro M Finger touch" rotate ccw
xsetwacom set "Wacom HID 5214 Pen stylus" rotate ccw xsetwacom set "Wacom HID 5214 Pen stylus" rotate ccw
@ -9,6 +14,7 @@ xsetwacom set "Wacom Intuos Pro M Pen cursor" rotate ccw
xsetwacom set "Wacom HID 5214 Pen eraser" rotate ccw xsetwacom set "Wacom HID 5214 Pen eraser" rotate ccw
xsetwacom set "Wacom Intuos Pro M Pen stylus" rotate ccw xsetwacom set "Wacom Intuos Pro M Pen stylus" rotate ccw
# Set drawing area to left side on 3840x2160 monitor
xsetwacom set "Wacom Intuos Pro M Pen stylus" MapToOutput 1080x1920+130+130 xsetwacom set "Wacom Intuos Pro M Pen stylus" MapToOutput 1080x1920+130+130
xsetwacom set "Wacom Intuos Pro M Finger touch" MapToOutput 1080x1920+130+130 xsetwacom set "Wacom Intuos Pro M Finger touch" MapToOutput 1080x1920+130+130
xsetwacom set "Wacom HID 5214 Pen stylus" MapToOutput 1080x1920+130+130 xsetwacom set "Wacom HID 5214 Pen stylus" MapToOutput 1080x1920+130+130