diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-23 20:48:02 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-23 20:48:02 +0100 |
commit | 180843f9bd28b191c7404245ba0a121107992511 (patch) | |
tree | c60312dc09f76c2f55ba2383245c427e15c38dea /scripts/s_whoami.lua | |
parent | bf649cd68ad46c34a656700aa6cb89416d648c64 (diff) |
Also move Lua scripts to share subfolder
Diffstat (limited to 'scripts/s_whoami.lua')
-rw-r--r-- | scripts/s_whoami.lua | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/s_whoami.lua b/scripts/s_whoami.lua deleted file mode 100644 index d391d65095..0000000000 --- a/scripts/s_whoami.lua +++ /dev/null @@ -1,22 +0,0 @@ -ardour { ["type"] = "Snippet", name = "Who Am I?" } - -function factory() return function() - -function whoami() - --pcall is the lua equivalent - --of try: ... catch: ... - if not pcall(function() local first_check = Session:get_mixbus(0) end) then - return "Ardour" - else - local second_check = Session:get_mixbus(11) - if second_check:isnil() then - return "Mixbus" - else - return "32C" - end - end -end - -print(whoami()) - -end end |