Skip to content

"direct" variables? #12

Answered by JakeStanger
JustSimplyKyle asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, I think what you're trying to do is possible but you're just getting the syntax wrong for that ironbar module; you need to put each section inside a format.

Corn inputs can be any supported type, and will expand like that, but you need to put them in an array.

For example:

$sys_info = { format = [ $cpu_sys $memory_sys $network_sys ] }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JakeStanger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants