mirror of
https://github.com/GRFreire/scripts.git
synced 2026-01-09 04:49:38 +00:00
10 lines
297 B
Bash
Executable File
10 lines
297 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# List wacom STYLUS device and set its area to the first monitor, while respection the 16/9 aspect ratio
|
|
|
|
device_id="$(xsetwacom list devices | grep STYLUS | cut -f2 | cut -d' ' -f2)"
|
|
|
|
xsetwacom set "$device_id" MapToOutput 1920x1080+0+0
|
|
xsetwacom set "$device_id" Area 0 0 15200 8550
|
|
|