#!/bin/bash

echo "ENV{IIO_SENSOR_PROXY_TYPE}==\"*accel*\", ENV{ACCEL_MOUNT_MATRIX}=\"0,-1,0;-1,0,0;0,0,1\"" > /etc/udev/rules.d/99-astra-mobile-orientation.rules

echo 'Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Option "Rotate"    "normal"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
EndSection

' > /etc/X11/xorg.conf.d/99-calibration.conf
