#!/bin/bash
if ! [ -a ~/.fluxbox/fluxtips ] ; then
    echo 1 > ~/.fluxbox/fluxtips
fi

read flag < ~/.fluxbox/fluxtips

if [ $flag = "1" ] ; then
    case "$1" in
	VineStyle)
	    colors="-bg rgb:22/00/33 -fg rgb:93/a0/af"
	    ;;
	BlueStar)
	    colors="-bg rgb:00/48/48 -fg rgb:f0/f8/ff"
	    ;;
	*)
	    colors="-bg rgb:00/00/00 -fg rgb:cc/cc/cc"
	    ;;
    esac
    echo $colors
    kterm -geometry +225+200 $colors \
	-e less -x 4 /usr/share/fluxbox/fluxtips.txt
fi
