aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorLibravatar matchcom-cahors <113764421+matchcom-cahors@users.noreply.github.com>2023-01-02 02:37:03 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-02 01:37:03 +0000
commitf2abd7850dbcb32d9429d8e2ab95cd62805e39a9 (patch)
treea4f6350cc6f24fd5d9ee9c2d30fa8f63879d8dbb /recipes
parentUpgrade 'pnpm' to '7.19.0' (diff)
downloadferdium-recipes-f2abd7850dbcb32d9429d8e2ab95cd62805e39a9.tar.gz
ferdium-recipes-f2abd7850dbcb32d9429d8e2ab95cd62805e39a9.tar.zst
ferdium-recipes-f2abd7850dbcb32d9429d8e2ab95cd62805e39a9.zip
add new recipe: Reclaim (#276)
Diffstat (limited to 'recipes')
-rw-r--r--recipes/reclaim/icon.svg16
-rw-r--r--recipes/reclaim/index.js1
-rw-r--r--recipes/reclaim/package.json9
-rw-r--r--recipes/reclaim/webview.js16
4 files changed, 42 insertions, 0 deletions
diff --git a/recipes/reclaim/icon.svg b/recipes/reclaim/icon.svg
new file mode 100644
index 0000000..7857787
--- /dev/null
+++ b/recipes/reclaim/icon.svg
@@ -0,0 +1,16 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3<svg width="100%" height="100%" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
4 <rect id="Artboard1" x="0" y="0" width="1024" height="1024" style="fill:none;"/>
5 <clipPath id="_clip1">
6 <rect id="Artboard11" serif:id="Artboard1" x="0" y="0" width="1024" height="1024"/>
7 </clipPath>
8 <g clip-path="url(#_clip1)">
9 <g transform="matrix(16.0678,0,0,16.0678,-13.6577,-13.8184)">
10 <path d="M49.26,30.66C57.362,30.66 63.93,24.092 63.93,15.99C63.93,7.888 57.362,1.32 49.26,1.32C41.158,1.32 34.59,7.888 34.59,15.99C34.59,24.092 41.158,30.66 49.26,30.66Z" style="fill-rule:nonzero;"/>
11 <rect x="0.85" y="1.26" width="29.35" height="29.35" style="fill:rgb(238,154,178);"/>
12 <path d="M49.26,36.87L56.92,50.42L64.58,63.98L33.95,63.98L41.6,50.42L49.26,36.87Z" style="fill:rgb(255,197,80);fill-rule:nonzero;"/>
13 <path d="M15.52,64.19C23.622,64.19 30.19,57.622 30.19,49.52C30.19,41.418 23.622,34.85 15.52,34.85C7.418,34.85 0.85,41.418 0.85,49.52C0.85,57.622 7.418,64.19 15.52,64.19Z" style="fill:rgb(82,99,243);fill-rule:nonzero;"/>
14 </g>
15 </g>
16</svg>
diff --git a/recipes/reclaim/index.js b/recipes/reclaim/index.js
new file mode 100644
index 0000000..8244b1b
--- /dev/null
+++ b/recipes/reclaim/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium; \ No newline at end of file
diff --git a/recipes/reclaim/package.json b/recipes/reclaim/package.json
new file mode 100644
index 0000000..5e7df91
--- /dev/null
+++ b/recipes/reclaim/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "reclaim",
3 "name": "Reclaim",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://app.reclaim.ai/"
8 }
9 } \ No newline at end of file
diff --git a/recipes/reclaim/webview.js b/recipes/reclaim/webview.js
new file mode 100644
index 0000000..86bb422
--- /dev/null
+++ b/recipes/reclaim/webview.js
@@ -0,0 +1,16 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
9 // const getMessages = () => {
10 // // TODO: Insert your notification-finding code here
11 // Ferdium.setBadge(0, 0);
12 // };
13 // Ferdium.loop(getMessages);
14
15 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
16};