Merge pull request #2003 from peerdavid/master
[InfoApp] Show Total, Free and Trash, I also added the file counts (fileCount, trashCount)master
|
|
@ -7,4 +7,5 @@
|
||||||
0.07: Improved positioning.
|
0.07: Improved positioning.
|
||||||
0.08: Select the color of widgets correctly. Additional settings to hide colon.
|
0.08: Select the color of widgets correctly. Additional settings to hide colon.
|
||||||
0.09: Larger font size if colon is hidden to improve readability further.
|
0.09: Larger font size if colon is hidden to improve readability further.
|
||||||
0.10: HomeAssistant integration if HomeAssistant is installed.
|
0.10: HomeAssistant integration if HomeAssistant is installed.
|
||||||
|
0.11: Performance improvements.
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "bwclk",
|
"id": "bwclk",
|
||||||
"name": "BW Clock",
|
"name": "BW Clock",
|
||||||
"version": "0.10",
|
"version": "0.11",
|
||||||
"description": "BW Clock.",
|
"description": "BW Clock.",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
0.01: Release
|
0.01: Release
|
||||||
0.02: Recfactoring and show weather data.
|
0.02: Recfactoring and show weather data
|
||||||
|
0.03: Show sizes for used, free and trash through storage.getStats
|
||||||
|
|
@ -32,13 +32,22 @@ var screens = [
|
||||||
name: "Software",
|
name: "Software",
|
||||||
items: [
|
items: [
|
||||||
{name: "Firmw.", fun: () => ENV.VERSION},
|
{name: "Firmw.", fun: () => ENV.VERSION},
|
||||||
|
{name: "Git", fun: () => ENV.GIT_COMMIT},
|
||||||
{name: "Boot.", fun: () => getVersion("boot.info")},
|
{name: "Boot.", fun: () => getVersion("boot.info")},
|
||||||
{name: "Settings.", fun: () => getVersion("setting.info")},
|
{name: "Settings.", fun: () => getVersion("setting.info")},
|
||||||
{name: "Storage.", fun: () => ""},
|
|
||||||
{name: " Total", fun: () => ENV.STORAGE>>10},
|
|
||||||
{name: " Free", fun: () => require("Storage").getFree()>>10},
|
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
name: "Storage [kB]",
|
||||||
|
items: [
|
||||||
|
{name: "Total", fun: () => storage.getStats().totalBytes>>10},
|
||||||
|
{name: "Free", fun: () => storage.getStats().freeBytes>>10},
|
||||||
|
{name: "Trash", fun: () => storage.getStats().trashBytes>>10},
|
||||||
|
{name: "", fun: () => ""},
|
||||||
|
{name: "#File", fun: () => storage.getStats().fileCount},
|
||||||
|
{name: "#Trash", fun: () => storage.getStats().trashCount},
|
||||||
|
]
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "info",
|
"id": "info",
|
||||||
"name": "Info",
|
"name": "Info",
|
||||||
"version": "0.02",
|
"version": "0.03",
|
||||||
"description": "An application that displays information such as battery level, steps etc.",
|
"description": "An application that displays information such as battery level, steps etc.",
|
||||||
"icon": "info.png",
|
"icon": "info.png",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
@ -11,7 +11,8 @@
|
||||||
"screenshots": [
|
"screenshots": [
|
||||||
{"url":"screenshot_1.png"},
|
{"url":"screenshot_1.png"},
|
||||||
{"url":"screenshot_2.png"},
|
{"url":"screenshot_2.png"},
|
||||||
{"url":"screenshot_3.png"}],
|
{"url":"screenshot_3.png"},
|
||||||
|
{"url":"screenshot_4.png"}],
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"info.app.js","url":"info.app.js"},
|
{"name":"info.app.js","url":"info.app.js"},
|
||||||
{"name":"info.img","url":"info.icon.js","evaluate":true}
|
{"name":"info.img","url":"info.icon.js","evaluate":true}
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |