#!/bin/bash

WIDTH=$(xwininfo -root -stats | grep Width: | tr -dc "0-9")
HEIGHT=$(xwininfo -root -stats | grep Height: | tr -dc "0-9")

CAMX=640
CAMY=480

./3dscan "$WIDTH" "$HEIGHT" "$CAMX" "$CAMY" "$1"
