#!/bin/sh
 
ans=$(zenity  --list  --text "Which Window Manager do you want to use?" \
--radiolist  --column "Pick" --column "Output Type" TRUE xfwm4 FALSE Compiz FALSE Openbox \
FALSE Mutter FALSE Metacity FALSE Marco FALSE Gala);


if [ "$ans" = "xfwm4" ]
then
xfwm4 --replace & 
elif [ "$ans" = "Compiz" ]
then
compiz --replace &
elif [ "$ans" = "Openbox" ]
then
openbox --replace &
elif [ "$ans" = "Mutter" ]
then
mutter --replace &
elif [ "$ans" = "Metacity" ]
then
metacity --replace &
elif [ "$ans" = "Marco" ]
then
marco --replace &
elif [ "$ans" = "Gala" ]
then
gala --replace &
fi
