Concepts

Command is a source of data that streams variables. Variables are used in properties of blocks. Bars are made of blocks. All you have to learn.

[[bar]]
blocks_right=["clock"]

[[block]]
name = 'clock'
type = 'text'
value = '${clock:value}'

[[command]]
name="clock"
command="date '+%a %b %e %H:%M:%S'"

The oatctl tool can be used to interact with oatbar. For more info:

oatctl help