#!/bin/sh
 
ans=$(zenity  --list  --text "Which Window Manager do you want to use?" \
--radiolist  --column "Pick" --column "Output Type" TRUE Compiz FALSE Openbox \
FALSE Xfwm4 FALSE Metacity FALSE Marco);
 
if [ "$ans" = "Compiz" ]
then
compiz --replace &
elif [ "$ans" = "Openbox" ]
then
openbox --replace &
elif [ "$ans" = "Xfwm4" ]
then
xfwm4 --replace &
elif [ "$ans" = "Metacity" ]
then
metacity --replace &
elif [ "$ans" = "Marco" ]
then
marco --replace &
fi
