Adjusted README, back out of calendar via button.
parent
e5d806b5eb
commit
53669b0b44
|
|
@ -6,3 +6,4 @@
|
||||||
0.06: Tell clock widgets to hide.
|
0.06: Tell clock widgets to hide.
|
||||||
0.07: Convert Yes/No On/Off in settings to checkboxes
|
0.07: Convert Yes/No On/Off in settings to checkboxes
|
||||||
0.08: Fixed typo in settings.js for DRAGDOWN to make option work
|
0.08: Fixed typo in settings.js for DRAGDOWN to make option work
|
||||||
|
0.09: You can now back out of the calendar using the button
|
||||||
|
|
@ -7,23 +7,24 @@ I know that it seems redundant because there already **is** a *time&cal*-app, bu
|
||||||
|:--:|:-|
|
|:--:|:-|
|
||||||
||locked: triggers only one minimal update/min|
|
||locked: triggers only one minimal update/min|
|
||||||
||unlocked: smaller clock, but with seconds|
|
||unlocked: smaller clock, but with seconds|
|
||||||
||swipe up for big calendar, (up down to scroll, left/right to exit)|
|
||swipe up for big calendar<br>⬆️/⬇️ to scroll<br> ⬅️/➡️ to exit|
|
||||||
|
|
||||||
## Configurable Features
|
## Configurable Features
|
||||||
- Number of calendar rows (weeks)
|
- Number of calendar rows (weeks)
|
||||||
- Buzz on connect/disconnect (I know, this should be an extra widget, but for now, it is included)
|
- Buzz on connect/disconnect (feel free to disable and use a widget)
|
||||||
- Clock Mode (24h/12h). (No am/pm indicator)
|
- Clock Mode (24h/12h). (No am/pm indicator)
|
||||||
- First day of the week
|
- First day of the week
|
||||||
- Red Saturday/Sunday
|
- Red Saturday/Sunday
|
||||||
- Swipe/Drag gestures to launch features or apps.
|
- Swipe/Drag gestures to launch features or apps.
|
||||||
|
|
||||||
## Auto detects your message/music apps:
|
## Integrated swipe launcher: (Configure in Settings)
|
||||||
- swiping down will search your files for an app with the string "message" in its filename and launch it. (configurable)
|
- ⬇️ (down) will search your files for an app with the string "**message**"
|
||||||
- swiping right will search your files for an app with the string "music" in its filename and launch it. (configurable)
|
- ➡️ (right) will search your files for an app with the string "**music**"
|
||||||
|
- ⬅️ (left) will search your files for an app with the string "**agenda**"
|
||||||
|
- ⬆️ (up) will show the **internal full calendar**
|
||||||
|
|
||||||
## Feedback
|
## Feedback
|
||||||
The clock works for me in a 24h/MondayFirst/WeekendFree environment but is not well-tested with other settings.
|
If something isn't working, please tell me: https://github.com/Stuff-etc/BangleApps/issues (I moved my github repo)
|
||||||
So if something isn't working, please tell me: https://github.com/foostuff/BangleApps/issues
|
|
||||||
|
|
||||||
## Planned features:
|
## Planned features:
|
||||||
- Internal lightweight music control, because switching apps has a loading time.
|
- Internal lightweight music control, because switching apps has a loading time.
|
||||||
|
|
|
||||||
|
|
@ -233,6 +233,12 @@ function action(a) {
|
||||||
load(l[0]);
|
load(l[0]);
|
||||||
} else E.showAlert("Message app not found", "Not found").then(drawWatch);
|
} else E.showAlert("Message app not found", "Not found").then(drawWatch);
|
||||||
break;
|
break;
|
||||||
|
case "[AI:agenda]":
|
||||||
|
l = require("Storage").list(RegExp("agenda.*app.js"));
|
||||||
|
if (l.length > 0) {
|
||||||
|
load(l[0]);
|
||||||
|
} else E.showAlert("Agenda app not found", "Not found").then(drawWatch);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
l = require("Storage").list(RegExp(a + ".app.js"));
|
l = require("Storage").list(RegExp(a + ".app.js"));
|
||||||
if (l.length > 0) {
|
if (l.length > 0) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "clockcal",
|
"id": "clockcal",
|
||||||
"name": "Clock & Calendar",
|
"name": "Clock & Calendar",
|
||||||
"version": "0.08",
|
"version": "0.09",
|
||||||
"description": "Clock with Calendar",
|
"description": "Clock with Calendar",
|
||||||
"readme":"README.md",
|
"readme":"README.md",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,12 @@
|
||||||
REDSAT: true, // Use red color for saturday?
|
REDSAT: true, // Use red color for saturday?
|
||||||
DRAGDOWN: "[AI:messg]",
|
DRAGDOWN: "[AI:messg]",
|
||||||
DRAGRIGHT: "[AI:music]",
|
DRAGRIGHT: "[AI:music]",
|
||||||
DRAGLEFT: "[ignore]",
|
DRAGLEFT: "[AI:agenda]",
|
||||||
DRAGUP: "[calend.]"
|
DRAGUP: "[calend.]"
|
||||||
};
|
};
|
||||||
settings = Object.assign(defaults, require('Storage').readJSON(FILE, true) || {});
|
settings = Object.assign(defaults, require('Storage').readJSON(FILE, true) || {});
|
||||||
|
|
||||||
actions = ["[ignore]","[calend.]","[AI:music]","[AI:messg]"];
|
actions = ["[ignore]","[calend.]","[AI:music]","[AI:messg]","[AI:agenda]"];
|
||||||
require("Storage").list(RegExp(".app.js")).forEach(element => actions.push(element.replace(".app.js","")));
|
require("Storage").list(RegExp(".app.js")).forEach(element => actions.push(element.replace(".app.js","")));
|
||||||
|
|
||||||
function writeSettings() {
|
function writeSettings() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue