summaryrefslogtreecommitdiff
path: root/scripts/s_group_color.lua
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-23 20:48:02 +0100
committerRobin Gareus <robin@gareus.org>2020-02-23 20:48:02 +0100
commit180843f9bd28b191c7404245ba0a121107992511 (patch)
treec60312dc09f76c2f55ba2383245c427e15c38dea /scripts/s_group_color.lua
parentbf649cd68ad46c34a656700aa6cb89416d648c64 (diff)
Also move Lua scripts to share subfolder
Diffstat (limited to 'scripts/s_group_color.lua')
-rw-r--r--scripts/s_group_color.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/s_group_color.lua b/scripts/s_group_color.lua
deleted file mode 100644
index d8c0785ed7..0000000000
--- a/scripts/s_group_color.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-ardour { ["type"] = "Snippet", name = "Randomize Group Colors" }
-
-function factory () return function ()
- for grb in Session:route_groups ():iter () do
- local r = math.random (0, 255)
- local g = math.random (0, 255)
- local b = math.random (0, 255)
- local rgba = (r << 24) + (g << 16) + (b << 8) + 0xff
- grp:set_rgba(rgba)
- end
-end end