#!/bin/bash

############################################################
# Re-Created By : Scott Vandergrift                        #
# Compiz Switch Script                                     #
# Email : scott@pearllinux.com                                 # 
############################################################




#####################################################################
zenity --question --text="PLEASE ANSWER NO BELOW IF YOU DO NOT NEED DESKTOP EFFECTS?\n\nAnswer Yes below to turn on Compiz Now." --no-wrap

#If user answers yes, 
###########################################################################
if [ $? -eq 0 ] ; then 

compiz --replace


# If user answers no, then 
#############################################################################
else

metacity --replace

fi


exit 0
