diff options
author | 2020-09-19 20:47:19 +0200 | |
---|---|---|
committer | 2020-09-19 19:47:19 +0100 | |
commit | 3ba70d1d471004ccb7fd09ed217cea41b6335235 (patch) | |
tree | 34d837617ce0081b6523d9fc3297a401cc16c2fe /uncompressed/pomodoro-tracker | |
parent | Add Monday recipe (#288) (diff) | |
download | ferdium-recipes-3ba70d1d471004ccb7fd09ed217cea41b6335235.tar.gz ferdium-recipes-3ba70d1d471004ccb7fd09ed217cea41b6335235.tar.zst ferdium-recipes-3ba70d1d471004ccb7fd09ed217cea41b6335235.zip |
Add Pomodoro Tracker recipe (#252)
Diffstat (limited to 'uncompressed/pomodoro-tracker')
-rw-r--r-- | uncompressed/pomodoro-tracker/README.md | 5 | ||||
-rw-r--r-- | uncompressed/pomodoro-tracker/icon.png | bin | 0 -> 32981 bytes | |||
-rw-r--r-- | uncompressed/pomodoro-tracker/icon.svg | 1 | ||||
-rw-r--r-- | uncompressed/pomodoro-tracker/index.js | 2 | ||||
-rw-r--r-- | uncompressed/pomodoro-tracker/package.json | 13 | ||||
-rw-r--r-- | uncompressed/pomodoro-tracker/service.css | 1 | ||||
-rw-r--r-- | uncompressed/pomodoro-tracker/webview.js | 14 |
7 files changed, 36 insertions, 0 deletions
diff --git a/uncompressed/pomodoro-tracker/README.md b/uncompressed/pomodoro-tracker/README.md new file mode 100644 index 0000000..8ff1668 --- /dev/null +++ b/uncompressed/pomodoro-tracker/README.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # Pomodoro Tracker for Ferdi | ||
2 | This is a Ferdi recipe for Pomodoro Tracker, a productivity app designed for your work and study. | ||
3 | Pomodoro Tracker is an app created by Kirill Klenov <horneds@gmail.com>. | ||
4 | |||
5 | Pomodoro Tracker icon comes from FontAwesome icon set (check-circle) and is used under Creative Commons Attribuiton 4.0. <https://fontawesome.com/license> | ||
diff --git a/uncompressed/pomodoro-tracker/icon.png b/uncompressed/pomodoro-tracker/icon.png new file mode 100644 index 0000000..beb62ba --- /dev/null +++ b/uncompressed/pomodoro-tracker/icon.png | |||
Binary files differ | |||
diff --git a/uncompressed/pomodoro-tracker/icon.svg b/uncompressed/pomodoro-tracker/icon.svg new file mode 100644 index 0000000..c205384 --- /dev/null +++ b/uncompressed/pomodoro-tracker/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" class="svg-inline--fa fa-check-circle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#d04643" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg> \ No newline at end of file | |||
diff --git a/uncompressed/pomodoro-tracker/index.js b/uncompressed/pomodoro-tracker/index.js new file mode 100644 index 0000000..6bc8da9 --- /dev/null +++ b/uncompressed/pomodoro-tracker/index.js | |||
@@ -0,0 +1,2 @@ | |||
1 | module.exports = Ferdi => class pomodorotracker extends Ferdi { | ||
2 | }; | ||
diff --git a/uncompressed/pomodoro-tracker/package.json b/uncompressed/pomodoro-tracker/package.json new file mode 100644 index 0000000..b8a9e87 --- /dev/null +++ b/uncompressed/pomodoro-tracker/package.json | |||
@@ -0,0 +1,13 @@ | |||
1 | { | ||
2 | "id": "pomodoro-tracker", | ||
3 | "name": "Pomodoro Tracker", | ||
4 | "version": "1.0.0", | ||
5 | "description": "Pomodoro Tracker is a productivity app.", | ||
6 | "main": "index.js", | ||
7 | "author": "Roman Dąbal <dabalroman@gmail.com>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://pomodoro-tracker.com", | ||
11 | "hasNotificationSound": true | ||
12 | } | ||
13 | } | ||
diff --git a/uncompressed/pomodoro-tracker/service.css b/uncompressed/pomodoro-tracker/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/uncompressed/pomodoro-tracker/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/uncompressed/pomodoro-tracker/webview.js b/uncompressed/pomodoro-tracker/webview.js new file mode 100644 index 0000000..b0a1150 --- /dev/null +++ b/uncompressed/pomodoro-tracker/webview.js | |||
@@ -0,0 +1,14 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | var _path = _interopRequireDefault(require("path")); | ||
4 | |||
5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
6 | |||
7 | module.exports = Ferdi => { | ||
8 | const getMessages = function getMessages() { | ||
9 | Ferdi.setBadge(0, 0); | ||
10 | }; | ||
11 | |||
12 | Ferdi.loop(getMessages); | ||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | ||