#!/bin/sh
if [ "$1" = "" ]; then 
  COLORS=16
else
  COLORS=$1 
fi

HEIGHT=`xdpyinfo | grep dimensions | head -1 | awk '{ print $2 }' | sed -e "s/[0-9]*x//"` 

bggen -h $HEIGHT  -b 7 -w 10 0 0 0 0 0 255 | \
      xli -gamma 2.5 -colordither -colors $COLORS -onroot -name stdin &
