aboutsummaryrefslogtreecommitdiffstats
path: root/.config/SuperCollider
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-02-07 17:09:59 +0100
committerDavid Runge <dave@sleepmap.de>2021-02-07 17:09:59 +0100
commit044f195b67a5fda777051aa07eda96c0457a0d19 (patch)
treeb9a69105013e02600579bb70c5406353b4d9a3a6 /.config/SuperCollider
parent64675bbe0dc94481f31bd1ef8cbd6ce160dd4c0b (diff)
downloaddotfiles-044f195b67a5fda777051aa07eda96c0457a0d19.tar.gz
dotfiles-044f195b67a5fda777051aa07eda96c0457a0d19.tar.bz2
dotfiles-044f195b67a5fda777051aa07eda96c0457a0d19.tar.xz
dotfiles-044f195b67a5fda777051aa07eda96c0457a0d19.zip
sclang: Add patterns file, if it exists.
.config/SuperCollider/startup.scd: Evaluate a file with custom patterns, if it exists.
Diffstat (limited to '.config/SuperCollider')
-rw-r--r--.config/SuperCollider/startup.scd4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/SuperCollider/startup.scd b/.config/SuperCollider/startup.scd
index 061c069..fcaaf52 100644
--- a/.config/SuperCollider/startup.scd
+++ b/.config/SuperCollider/startup.scd
@@ -131,6 +131,10 @@ if (File.exists(Platform.userConfigDir++"/synthdefs.scd"), {
File.readAllString(Platform.userConfigDir++"/synthdefs.scd").interpret;
});
+if (File.exists(Platform.userConfigDir++"/patterns.scd"), {
+ File.readAllString(Platform.userConfigDir++"/patterns.scd").interpret;
+});
+
if (File.exists(Platform.userConfigDir++"/functions.scd"), {
File.readAllString(Platform.userConfigDir++"/functions.scd").interpret;
});