diff options
author | 2021-08-11 10:35:48 -0800 | |
---|---|---|
committer | 2021-08-12 00:05:48 +0530 | |
commit | 80cb3d7dcc4c58633808e74b74ab9ab387fd72c0 (patch) | |
tree | b6f792067ab5aeae47a9ac485912b97992d54644 /recipes/protoncalendar/webview.js | |
parent | Cleanup all recipes (#605) (diff) | |
download | ferdium-recipes-80cb3d7dcc4c58633808e74b74ab9ab387fd72c0.tar.gz ferdium-recipes-80cb3d7dcc4c58633808e74b74ab9ab387fd72c0.tar.zst ferdium-recipes-80cb3d7dcc4c58633808e74b74ab9ab387fd72c0.zip |
added recipe for proton calendar (#606)
Diffstat (limited to 'recipes/protoncalendar/webview.js')
-rw-r--r-- | recipes/protoncalendar/webview.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/protoncalendar/webview.js b/recipes/protoncalendar/webview.js new file mode 100644 index 0000000..ddd0b40 --- /dev/null +++ b/recipes/protoncalendar/webview.js | |||
@@ -0,0 +1,15 @@ | |||
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 | // TODO: Insert your notification-finding code here | ||
10 | Ferdi.setBadge(0, 0); | ||
11 | }; | ||
12 | |||
13 | Ferdi.loop(getMessages); | ||
14 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
15 | }; | ||