Files
nowblinkie/config-docker.toml

33 lines
1.1 KiB
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]
[[image]]
output = "/out/pdweather.gif"
template = "/res/templates/forest.gif"
command = [ "python", "/res/pdweather.py" ]
font = "/res/curie.bdf"
text_filters = [ "lowercase" ]
text_offset = [45, 4]
text_fill = [255, 255, 255] # your template image must have alpha channel to use alpha