2021-02-20 16:05:13 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-02-20 16:11:47 +01:00
|
|
|
# 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)
|
2021-02-20 16:05:13 +01:00
|
|
|
xsetwacom set "Wacom Intuos Pro M Pen stylus" 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 Finger touch" rotate ccw
|
|
|
|
xsetwacom set "Wacom Intuos Pro M Pen eraser" rotate ccw
|
|
|
|
xsetwacom set "Wacom Intuos Pro M Pen cursor" rotate ccw
|
|
|
|
xsetwacom set "Wacom HID 5214 Pen eraser" rotate ccw
|
|
|
|
xsetwacom set "Wacom Intuos Pro M Pen stylus" rotate ccw
|
|
|
|
|
2021-02-20 16:11:47 +01:00
|
|
|
# Set drawing area to left side on 3840x2160 monitor
|
2021-02-20 16:05:13 +01:00
|
|
|
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 HID 5214 Pen stylus" MapToOutput 1080x1920+130+130
|
|
|
|
xsetwacom set "Wacom HID 5214 Finger touch" MapToOutput 1080x1920+130+130
|
|
|
|
xsetwacom set "Wacom Intuos Pro M Pen eraser" MapToOutput 1080x1920+130+130
|
|
|
|
xsetwacom set "Wacom Intuos Pro M Pen cursor" MapToOutput 1080x1920+130+130
|
|
|
|
xsetwacom set "Wacom HID 5214 Pen eraser" MapToOutput 1080x1920+130+130
|
|
|
|
xsetwacom set "Wacom Intuos Pro M Pen stylus" MapToOutput 1080x1920+130+130
|