commit
a20a2e4292
18
apps.json
18
apps.json
|
|
@ -4527,7 +4527,21 @@
|
||||||
{"name":"93dub.img","url":"app-icon.js","evaluate":true}
|
{"name":"93dub.img","url":"app-icon.js","evaluate":true}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{ "id": "poweroff",
|
||||||
|
"name": "Poweroff",
|
||||||
|
"shortName":"Poweroff",
|
||||||
|
"version":"0.01",
|
||||||
|
"description": "Simple app to power off your Bangle.js",
|
||||||
|
"icon": "app.png",
|
||||||
|
"tags": "poweroff, shutdown",
|
||||||
|
"supports" : ["BANGLEJS", "BANGLEJS2"],
|
||||||
|
"readme": "README.md",
|
||||||
|
"storage": [
|
||||||
|
{"name":"poweroff.app.js","url":"app.js"},
|
||||||
|
{"name":"poweroff.img","url":"app-icon.js","evaluate":true}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
"id": "sensible",
|
"id": "sensible",
|
||||||
"name": "SensiBLE",
|
"name": "SensiBLE",
|
||||||
"shortName": "SensiBLE",
|
"shortName": "SensiBLE",
|
||||||
|
|
@ -4543,5 +4557,5 @@
|
||||||
{ "name": "sensible.app.js", "url": "sensible.js" },
|
{ "name": "sensible.app.js", "url": "sensible.js" },
|
||||||
{ "name": "sensible.img", "url": "sensible-icon.js", "evaluate": true }
|
{ "name": "sensible.img", "url": "sensible-icon.js", "evaluate": true }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
0.01: New app!
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Poweroff
|
||||||
|
|
||||||
|
Simple app to power off your Bangle.js
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Start the app shutdowns your Bangle.js watch after a short delay.
|
||||||
|
|
||||||
|
## Creator
|
||||||
|
Marco (@myxor)
|
||||||
|
|
||||||
|
## Icon
|
||||||
|
Icon taken from https://materialdesignicons.com/ Apache License 2.0
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
require("heatshrink").decompress(atob("mEwwMB/4Ak/k/ArX8AoIGC/F8n0fAoPwAoMPAoPgAoMHAoPAC4MDAoPBAoODAoODAoPBAoOHAoPhAo8HAoPgAoMPAoPwArRQCFIRQCGoQCBHYYFEKARNCAQQIC4ACBMoXgv/+EwXwn/8GQX4g/gRIX8b4KVC/wFBv6iCwDnE+AcCAF4="))
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
g.clear();
|
||||||
|
|
||||||
|
g.setFont("6x8",2).setFontAlign(0,0);
|
||||||
|
var x = g.getWidth()/2;
|
||||||
|
var y = g.getHeight()/2 + 10;
|
||||||
|
g.drawString("Powering off...", x, y);
|
||||||
|
|
||||||
|
setTimeout(function() {
|
||||||
|
if (Bangle.softOff) Bangle.softOff(); else Bangle.off();
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
|
Bangle.loadWidgets();
|
||||||
|
Bangle.drawWidgets();
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 882 B |
Loading…
Reference in New Issue