diff options
Diffstat (limited to 'scripts/config-switcher.sh')
-rwxr-xr-x | scripts/config-switcher.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/config-switcher.sh b/scripts/config-switcher.sh new file mode 100755 index 00000000..04e77f52 --- /dev/null +++ b/scripts/config-switcher.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# location of plist that Pd reads +PLIST_ROOT=~/Library/Preferences/org.puredata.pd +PLIST=$PLIST_ROOT.plist + +# which config to use (first argument) +CONFIG=$1 + +cp -f "$PLIST_ROOT.$CONFIG.plist" "$PLIST" |