#!/bin/bash

echo "What theme would you like?"
echo "1) Bluish-Green Color (Default, similar look to wmtime, wmmon, wmifs etc...)"
echo "2) Gold Color" 

read X

if [ $X = "1" ]; then
  if [ -e "wmtimer.xpm" ]; then
    rm -f wmtimer.xpm
    rm -f wmtimer.o
    ln -s wmtimer-default.xpm wmtimer.xpm
  else 
    ln -s wmtimer-default.xpm wmtimer.xpm
  fi 
elif [ $X = "2" ]; then
  if [ -e "wmtimer.xpm" ]; then
    rm -f wmtimer.xpm
    rm -f wmtimer.o
    ln -s wmtimer-gold.xpm wmtimer.xpm
  else 
    ln -s wmtimer-gold.xpm wmtimer.xpm
  fi 
fi
