#!/bin/sh
if dcop bab; then # if bab is running
   (( state = `dcop bab babInterface state` )) # save curent state
   if [ $state = 0 ]; then # if we're in aqua mode?
      dcop bab babInterface setState 1 # set mode to brushed metal
         kstart kcalc # start juk, use kstar to not block this script
         dcop bab babInterface setState 0 # set mode back
   else # we're in right state
   kstart kcalc # start juk
   fi # end if
else # bab not running
   kstart kcalc # start juk
fi

      
   
   

   
