#!/bin/bash

. /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh
if [ "${1}n" = "Onn" ]; then
    defaults write NSGlobalDomain GSAppKitUserBundles "(/usr/lib/GNUstep/System/Library/Bundles/WildMenus.themeEngine)"
else
    defaults delete NSGlobalDomain GSAppKitUserBundles
fi
