diff options
Diffstat (limited to 'recipes/drive')
-rw-r--r-- | recipes/drive/icon.svg | 1 | ||||
-rw-r--r-- | recipes/drive/index.js | 1 | ||||
-rw-r--r-- | recipes/drive/package.json | 11 | ||||
-rw-r--r-- | recipes/drive/service.css | 5 | ||||
-rw-r--r-- | recipes/drive/webview.js | 20 |
5 files changed, 0 insertions, 38 deletions
diff --git a/recipes/drive/icon.svg b/recipes/drive/icon.svg deleted file mode 100644 index f161e6d..0000000 --- a/recipes/drive/icon.svg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | <?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 128 128" id="Social_Icons" version="1.1" viewBox="0 0 128 128" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="_x33__stroke"><g id="Google_Drive"><rect clip-rule="evenodd" fill="none" fill-rule="evenodd" height="128" width="128"/><g id="Google_Drive_1_"><polygon clip-rule="evenodd" fill="#3777E3" fill-rule="evenodd" points="21.335,120 42.666,82.667 128,82.667 106.666,120 "/><polygon clip-rule="evenodd" fill="#FFCF63" fill-rule="evenodd" points="85.335,82.667 128,82.667 85.335,8 42.666,8 "/><polygon clip-rule="evenodd" fill="#11A861" fill-rule="evenodd" points="0,82.667 21.335,120 64,45.333 42.666,8 "/></g></g></g></svg> \ No newline at end of file | ||
diff --git a/recipes/drive/index.js b/recipes/drive/index.js deleted file mode 100644 index 23607bd..0000000 --- a/recipes/drive/index.js +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | module.exports = Ferdi => Ferdi; | ||
diff --git a/recipes/drive/package.json b/recipes/drive/package.json deleted file mode 100644 index 3bb9c85..0000000 --- a/recipes/drive/package.json +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | { | ||
2 | "id": "drive", | ||
3 | "name": "Drive", | ||
4 | "version": "1.0.1", | ||
5 | "license": "MIT", | ||
6 | "repository": "https://github.com/gaspergrom/Franz-services", | ||
7 | "config": { | ||
8 | "serviceURL": "https://drive.google.com", | ||
9 | "hasNotificationSound": true | ||
10 | } | ||
11 | } | ||
diff --git a/recipes/drive/service.css b/recipes/drive/service.css deleted file mode 100644 index 2d8c1a6..0000000 --- a/recipes/drive/service.css +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | .app-wrapper-web .app { | ||
2 | width: 100% !important; | ||
3 | height: 100% !important; | ||
4 | top: 0 !important; | ||
5 | } | ||
diff --git a/recipes/drive/webview.js b/recipes/drive/webview.js deleted file mode 100644 index cc1ed84..0000000 --- a/recipes/drive/webview.js +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = (Ferdi) => { | ||
6 | const getMessages = () => { | ||
7 | let direct = 0; | ||
8 | let indirect = 0; | ||
9 | const data = document.querySelector('#FranzMessages').dataset; | ||
10 | if (data) { | ||
11 | direct = data.direct; | ||
12 | indirect = data.indirect; | ||
13 | } | ||
14 | |||
15 | Ferdi.setBadge(direct, indirect); | ||
16 | } | ||
17 | |||
18 | Ferdi.loop(getMessages); | ||
19 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
20 | } | ||