Commit b128c530 authored by aTc's avatar aTc

added pyra-touchscreen-calibrate.sh

parent d4181f34
#!/bin/sh
CAL="$(xinput_calibrator | sed -n '/Section/,/EndSection/p')"
if [ -z "$CAL" ]
then
echo "Calibration canceled."
exit 1
fi
echo "$CAL" > /etc/X11/xorg.conf.d/99-pyra-touchscreen.conf
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment