aboutsummaryrefslogtreecommitdiff
path: root/scripts/config-switcher.sh
blob: 04e77f52a97530025e0c894c5a849c2a9b58e6c3 (plain)
1
2
3
4
5
6
7
8
9
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"