Moved independent files to separate markup folder

This commit is contained in:
2017-04-19 15:30:44 -04:00
parent 64e113d5d7
commit 2f8ffaa0d0
6 changed files with 11 additions and 5 deletions

62
markup/clock.json Normal file
View File

@@ -0,0 +1,62 @@
[
{
"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"
}
]