23 lines
859 B
TOML
23 lines
859 B
TOML
[loop]
|
|
enable = true # run process in a loop, default: false
|
|
sleep = 60 # (seconds) time to sleep between generating images, default: 60
|
|
|
|
[[image]]
|
|
output = "out/itistoday.gif" # required
|
|
template = "./res/templates/pastel rainbow border.gif"
|
|
# size=[120, 20] # specify size if template is not specified
|
|
command = ["/usr/bin/date", "+It is %a %d %b"] # required, command to generate text
|
|
|
|
font = "./res/curie.bdf" # required, only BDF fonts are supported atm
|
|
text_filters = [ "lowercase" ] # text_filters available: lowercase, uppercase
|
|
text_offset = [24, 4] # offset the text to move it around the image, default: [0, 0]
|
|
|
|
[[image]]
|
|
output = "out/uptime.gif"
|
|
template = "./res/templates/pastel rainbow border.gif"
|
|
command = ["bash", "-c", "/usr/bin/uptime -p | cut -d, -f-2"]
|
|
|
|
font = "./res/curie.bdf"
|
|
text_filters = [ "lowercase" ]
|
|
text_offset = [21, 4]
|