add alt color
This commit is contained in:
parent
61c5f090f9
commit
181f79f589
2 changed files with 4 additions and 2 deletions
|
@ -13,4 +13,6 @@ function random_from {
|
|||
|
||||
|
||||
# generated variables
|
||||
export MACHINE_COLOR=$(random_from 1 2 3 4 5 6 9 10 11 12 13 14)
|
||||
mb_colors=$(random_from 1:9 2:10 3:11 4:12 5:13 6:14 9:1 10:2 11:3 12:4 13:5 14:6)
|
||||
export MACHINE_COLOR=$(echo $mb_colors | cut -d ':' -f 1)
|
||||
export MACHINE_COLOR_ALT=$(echo $mb_colors | cut -d ':' -f 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue