#!/bin/bash

. /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh
case "$1" in
    on|On|ON)
	defaults write NSGlobalDomain GSAppKitUserBundles "(/usr/lib/GNUstep/System/Library/Bundles/SimpleUI.theme)"
	;;
    off|Off|OFF)
	defaults delete NSGlobalDomain GSAppKitUserBundles
	;;
    *)
	echo "usage: SimpleUI On|Off"
	exit 1
	;;
esac

exit 0
