This repository has been archived on 2026-05-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
InfoDisplay/markup/clock.json

62 lines
1.2 KiB
JSON

[
{
"surf": "panel_script::time",
"anchor": "0.5, 0.4",
"args": {
"size": 360
}
},
{
"surf": "1280 500",
"anchor": "0.5,0.4",
"position": "0 250",
"children": [
{
"surf": "panel_script::time",
"args": {
"fmt": "%A, %B %d",
"size": 60
},
"position": "0 -60",
"anchor": ".5 .5"
},
{
"surf": "panel_script::image",
"args": {
"path": "'res/png/'+str(get_weather().current_conditions.icon)+'.png'",
"do_eval": true
},
"position": "0 80",
"anchor": ".5 .5",
"pivot": "1 .5"
},
{
"surf": "panel_script::weather",
"args": {
"fmt": "{current_conditions.temperature}\u00b0{units.temperature}"
},
"position": "0 80",
"anchor": ".5 .5",
"pivot": "0 .5"
}
]
},
{
"surf": "1280 100",
"children": [
{
"surf": "panel_script::header",
"anchor": ".5 .5"
}
]
},
{
"surf": "panel_script::weather",
"args": {
"fmt": "Weather updated {current_conditions.last_updated}",
"size": 30
},
"anchor": ".5 1",
"position": "0 -20"
}
]