From 044f195b67a5fda777051aa07eda96c0457a0d19 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 7 Feb 2021 17:09:59 +0100 Subject: sclang: Add patterns file, if it exists. .config/SuperCollider/startup.scd: Evaluate a file with custom patterns, if it exists. --- .config/SuperCollider/startup.scd | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/SuperCollider') 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; }); -- cgit v1.2.3-70-g09d2