#!/bin/sh

PATH="/usr/lib/alterator-x11:$PATH"

data="$(vcscan|cut -f1|vcdrv|vcinfo)"
xdepth="$(echo "$data"|sed -nr 's,^xdepth[[:space:]]+,,p')"

echo "$data"|xconf -D "Card0" "$1" "$1"
[ -n "$xdepth" ] && xconf -C "$xdepth" "$1" "$1"
