aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2021-09-12 09:17:19 +0530
committerLibravatar GitHub <noreply@github.com>2021-09-12 03:47:19 +0000
commit6d63a93d7865bcc13cdc6bcf7d5c371377b8a355 (patch)
treec0f5dd3423fd15125c490179b8e34bbda52eb2ff /recipes
parentNew recipe: 'flock' (#688) (diff)
downloadferdium-recipes-6d63a93d7865bcc13cdc6bcf7d5c371377b8a355.tar.gz
ferdium-recipes-6d63a93d7865bcc13cdc6bcf7d5c371377b8a355.tar.zst
ferdium-recipes-6d63a93d7865bcc13cdc6bcf7d5c371377b8a355.zip
New recipe: 'scrumpy' (#689)
Diffstat (limited to 'recipes')
-rw-r--r--recipes/mewe/webview.js4
-rw-r--r--recipes/scrumpy/icon.svg44
-rw-r--r--recipes/scrumpy/index.js1
-rw-r--r--recipes/scrumpy/package.json10
-rw-r--r--recipes/scrumpy/webview.js8
5 files changed, 65 insertions, 2 deletions
diff --git a/recipes/mewe/webview.js b/recipes/mewe/webview.js
index a5b1806..f22803c 100644
--- a/recipes/mewe/webview.js
+++ b/recipes/mewe/webview.js
@@ -7,7 +7,7 @@ const calculateTotalDirectMessages = () =>
7 .map(el => Ferdi.safeParseInt(el.querySelector('.m-indicator .number').innerHTML)) 7 .map(el => Ferdi.safeParseInt(el.querySelector('.m-indicator .number').innerHTML))
8 .reduce((curr, prev) => curr + prev, 0); 8 .reduce((curr, prev) => curr + prev, 0);
9 9
10module.exports = Franz => { 10module.exports = Ferdi => {
11 Franz.loop(() => Franz.setBadge(calculateTotalDirectMessages())); 11 Ferdi.loop(() => Ferdi.setBadge(calculateTotalDirectMessages()));
12 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 12 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
13}; 13};
diff --git a/recipes/scrumpy/icon.svg b/recipes/scrumpy/icon.svg
new file mode 100644
index 0000000..686f495
--- /dev/null
+++ b/recipes/scrumpy/icon.svg
@@ -0,0 +1,44 @@
1<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200" viewBox="0 0 200 200">
2 <defs>
3 <filter id="iconsvg-a" width="104.5%" height="105%" x="-1.8%" y="-1.2%" filterUnits="objectBoundingBox">
4 <feOffset dx="1" dy="3" in="SourceAlpha" result="shadowOffsetOuter1"/>
5 <feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1"/>
6 <feColorMatrix in="shadowBlurOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"/>
7 <feMerge>
8 <feMergeNode in="shadowMatrixOuter1"/>
9 <feMergeNode in="SourceGraphic"/>
10 </feMerge>
11 </filter>
12 <path id="iconsvg-b" d="M24.1019618,152.139565 C21.0653323,148.29677 18.3160456,144.197581 15.8916551,139.869327 C14.9288444,138.154579 14.0180394,136.405553 13.1615103,134.624247 C10.5686978,135.10872 8.32110845,134.592061 7.20615282,131.784577 C6.12583931,129.064322 6.94711257,126.247932 9.15802932,124.936304 C8.30975134,122.503607 7.55814494,120.02319 6.9080614,117.499325 C4.23432587,118.012318 2.09375826,116.1002 1.62407257,113.340784 C1.11948072,110.376294 2.27748874,107.537315 4.80372347,106.771345 C4.49677107,104.520525 4.26873695,102.242344 4.12264121,99.9394606 C4.11598936,99.8346086 4.10951248,99.7297858 4.10321032,99.6249927 L4.0916709,99.6290416 C1.54753927,99.0686032 0.107921355,97.1304862 0.107921355,93.8342996 C0.107921355,90.538113 3.69420403,88.4389922 4.0916709,88.2698903 L4.10019773,88.2662636 C4.26135307,85.5805956 4.53672191,82.9225499 4.92175476,80.2972924 C2.26594542,79.4773101 1.06900196,76.5092996 1.81047938,73.011935 C2.52231166,69.6543992 7.38043857,68.0610933 7.58706742,67.9912961 C8.42982323,65.0714772 9.41143783,62.2073089 10.524727,59.4069486 C8.51299156,57.6175973 7.82569143,55.7488962 8.46282659,53.8008453 C9.77828153,49.7788208 10.8332653,48.0936545 17.3203588,45.6992385 C19.412229,42.2244332 21.7242547,38.8928362 24.2384583,35.7248607 L24.1886847,35.7420434 C23.1462176,32.7539223 23.7952581,29.9036138 26.1358062,27.1911181 C30.6342515,21.9778036 39.9355012,19.0558146 40.1761658,18.8704663 C41.0024892,18.6003501 41.8338751,18.3298776 42.6701721,18.0593601 C56.5588997,7.97208669 73.3807023,1.57478867 91.7792192,0.40758021 C100.481396,-0.144488962 108.981529,0.508672999 117.116658,2.22354675 C118.004567,2.17687363 118.893179,2.13682565 119.782383,2.10362694 C127.797513,2.38696655 134.161901,3.51578273 138.87555,5.49007548 C143.554118,7.44967512 146.221953,10.3293445 146.879054,14.1290836 C151.44783,16.9466074 155.762637,20.1474001 159.776109,23.6897447 C159.854936,23.7057172 159.933753,23.7217494 160.012559,23.7378415 C165.258399,24.7755642 169.234542,26.9274106 171.94099,30.1933807 C175.902939,34.9744098 173.312142,37.8457787 172.887646,37.9079633 C175.081428,40.8421096 177.108704,43.9115818 178.954474,47.1031702 C179.258353,47.2042752 179.561958,47.3063275 179.865285,47.4093264 C180.048626,47.4694871 185.121809,49.7759294 186.842612,53.3518847 C188.059784,55.8812579 187.511854,58.1128074 185.198823,60.0465332 L185.15756,60.0314941 C186.230462,62.7953229 187.17701,65.6252586 187.989719,68.5147098 C190.675635,69.6402617 192.306308,70.8140043 193.321649,74.3630351 C194.28373,77.725902 191.659186,80.5009204 190.519774,80.4484245 C190.872736,82.8839991 191.133178,85.3521586 191.29724,87.8495042 C191.445219,87.909801 191.593117,87.9703291 191.740933,88.0310881 C191.818427,88.0627089 191.888776,88.1061187 191.950212,88.1587783 C194.324569,89.2173678 195.468362,91.3329456 195.381591,94.5055118 C195.290319,97.8426478 193.957482,99.28749 191.38308,98.8400384 C191.265591,101.170746 191.062094,103.481175 190.775542,105.767972 C191.047102,105.874324 191.3184,105.981449 191.589433,106.089347 C191.749322,106.156295 191.877685,106.271428 191.961845,106.412702 C193.727913,107.596679 194.548644,109.59436 194.037837,112.141411 C193.423823,115.203082 191.757343,116.575892 188.967662,116.038394 C188.96164,116.041766 188.9565,116.042648 188.952278,116.04096 C188.941838,116.037045 188.931421,116.033142 188.921026,116.029251 C188.914783,116.028006 188.908535,116.026752 188.902281,116.025488 C187.077884,123.58966 184.330748,130.816373 180.779752,137.570644 C174.220199,150.078224 164.948145,160.861479 153.780731,169.194995 C149.020143,172.751402 143.903659,175.869631 138.487646,178.48568 L138.61534,178.876912 C138.639019,178.950659 138.651267,179.025603 138.652968,179.099714 C139.327363,181.738505 138.092956,184.490427 135.32611,185.589243 C132.504804,186.709688 129.734076,185.556541 128.706936,183.111381 C128.653289,183.041612 128.611526,182.96245 128.584252,182.876912 L128.497971,182.613989 C128.456795,182.628266 128.415606,182.642516 128.374403,182.656738 C126.139411,183.429791 123.867205,184.120651 121.561589,184.725938 C121.581237,184.786625 121.600881,184.847313 121.620521,184.908 C121.655966,185.02335 121.664075,185.144009 121.645829,185.260854 C122.124754,187.774917 120.589795,189.822007 117.665237,190.425517 C114.750135,191.027075 112.032026,189.833832 111.162861,187.36997 C111.114364,187.303404 111.076054,187.228225 111.050573,187.146342 C111.019607,187.051895 110.988641,186.957444 110.957674,186.86299 C108.551442,187.204812 106.117323,187.455318 103.659154,187.611094 C103.669437,187.694515 103.666242,187.778674 103.650066,187.860387 C104.030624,190.247327 102.308024,192.193535 99.2673805,192.228555 C96.3691835,192.261934 93.594274,190.656481 92.6955535,188.251702 C92.5973399,188.161956 92.5219635,188.046261 92.4806251,187.913182 C92.4523548,187.826392 92.4240844,187.739622 92.3958141,187.652872 C89.7355387,187.503434 87.098873,187.24166 84.4913281,186.871563 C84.7926122,189.313122 82.6078829,191.212609 79.1868183,190.733633 C75.7955653,190.258831 73.9716237,188.127819 72.6404902,184.942132 C72.5592864,184.857185 72.4969057,184.753898 72.4598997,184.63857 L72.3528642,184.316659 C69.3753101,183.480028 66.4513682,182.498923 63.5903316,181.380107 C63.7786476,184.123958 60.1946333,185.197989 56.3714436,183.473583 C52.5066998,181.730434 51.6986931,179.014834 50.6008891,175.849981 C50.5634577,175.792746 50.5333628,175.730454 50.5117132,175.664477 C50.4294132,175.414451 50.3469269,175.163926 50.2642643,174.912907 C46.6185714,172.773073 43.1221761,170.390297 39.7997143,167.782512 C38.4557354,169.453262 35.1996434,169.490221 31.6798898,166.056201 C28.2394602,162.699573 25.9147797,157.855223 24.5072081,153.161773 C24.4568419,153.098001 24.4065301,153.034136 24.3562728,152.970176 C24.2709084,152.691781 24.1861432,152.414926 24.1019679,152.139572 L24.1019618,152.139565 Z"/>
13 <path id="iconsvg-e" d="M75.5907269,97.3897385 C78.6190638,94.549964 81.8288016,93.012238 85.1115676,95.0791555 C88.3943336,97.146073 88.2612766,100.211546 86.8313726,103.4626 C84.7832335,108.11949 85.5113009,111.581428 90.1628962,114.230835 C94.8144914,116.880243 105.500073,114.510361 105.500073,107.231563 C105.500073,99.9527648 102.17988,96.8756655 98.9814812,94.0430525 C94.1815237,89.7920438 79.0443132,81.5571762 83.6260909,65.8205495 C88.2078686,50.0839228 102.400383,48.5988186 112.343353,51.4357003 C122.902372,54.4483502 122.159549,65.8205495 120.280697,69.4847895 C118.401845,73.1490294 116.276688,75.3724612 112.781011,74.4195804 C109.285333,73.4666997 107.800772,69.4362377 108.717976,67.425335 C109.63518,65.4144324 107.597393,62.2356449 104.465201,62.2356449 C93.581623,62.2356449 92.4633537,74.602633 101.026616,80.4892765 C107.233903,84.7563521 118.458462,90.4229088 120.280697,102.714678 C122.262581,116.083353 112.07368,127.988384 97.9213708,128.866031 C66.12733,130.837719 70.9481095,101.743279 75.5907269,97.3897385 Z"/>
14 <filter id="iconsvg-d" width="110.2%" height="110.2%" x="-4.1%" y="-2.5%" filterUnits="objectBoundingBox">
15 <feOffset dx="1" dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/>
16 <feColorMatrix in="shadowOffsetOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
17 </filter>
18 <path id="iconsvg-g" d="M111.253458,140.652749 C124.689464,140.652749 131.287398,142.838542 131.287398,146.181267 C131.287398,149.523992 120.131707,149.613372 113.41577,150.453595 C103.126182,151.207807 93.7739507,152.826161 85.3590762,155.308658 C72.7367644,159.032403 66.1604733,158.672688 64.9439448,153.098298 C63.7274163,147.523907 68.7834516,144.272285 78.4377561,142.902579 C88.0920607,141.532872 97.8174522,140.652749 111.253458,140.652749 Z"/>
19 <filter id="iconsvg-f" width="107.5%" height="146.8%" x="-3%" y="-11.7%" filterUnits="objectBoundingBox">
20 <feOffset dx="1" dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/>
21 <feColorMatrix in="shadowOffsetOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
22 </filter>
23 </defs>
24 <g fill="none" fill-rule="evenodd" filter="url(#iconsvg-a)" transform="translate(0 -3)">
25 <circle cx="99.717" cy="100.002" r="93.782" fill="#0E70CD" fill-rule="nonzero" transform="rotate(-3.63 99.717 100.002)"/>
26 <path fill="#004586" fill-rule="nonzero" d="M148.893496,20.2147103 C142.892594,19.5461995 135.219369,18.9786382 129.181347,18.984456 C95.0259067,18.984456 61.6083738,29.5140641 26.1886847,41.7420434 C25.1462176,38.7539223 25.7952581,35.9036138 28.1358062,33.1911181 C32.6342515,27.9778036 41.9355012,25.0558146 42.1761658,24.8704663 C65.761658,17.1606218 93.4715026,9.16062176 121.782383,8.10362694 C129.797513,8.38696655 136.161901,9.51578273 140.87555,11.4900755 C145.589198,13.4643682 148.261847,16.3725798 148.893496,20.2147103 Z M174.86032,43.907424 C160.715443,39.8224051 145.064796,37.5178426 130.341969,37.5751295 C93.1606218,37.5751295 56.9948187,50.0310881 22.0310881,62.1761658 L12.5537643,65.4326892 C10.5196149,63.6355207 9.82263562,61.7582394 10.4628266,59.8008453 C11.8004478,55.711047 12.8687457,54.0375256 19.652949,51.5775772 L20.9533679,51.1295337 C56.0207254,38.9430052 92.3108808,26.507772 129.761658,26.507772 C140.59455,26.488424 151.400426,27.5708619 162.012559,29.7378415 C167.258399,30.7755642 171.234542,32.9274106 173.94099,36.1933807 C178.000662,41.0923359 175.180349,43.9862639 174.86032,43.907424 Z M131.606218,56.1658031 C94.3005181,56.1658031 58.1554404,68.642487 23.1709845,80.746114 C17.9067358,82.5699482 12.2764431,84.5358411 6.99146905,86.3182246 C4.28693909,85.5289626 3.06254496,82.5397556 3.81047938,79.011935 C4.52385097,75.6471386 9.40146901,74.0542106 9.58834256,73.9908647 L22.134715,69.7409326 C57.2435233,57.5544041 93.5336788,45.119171 131.005181,45.119171 C148.300683,45.0466854 165.488056,47.8482133 181.865285,53.4093264 C182.048626,53.4694871 187.121809,55.7759294 188.842612,59.3518847 C190.059784,61.8812579 189.511854,64.1128074 187.198823,66.0465332 C169.071215,59.4369425 150.410296,56.0868266 131.606218,56.1658031 Z M192.403451,86.4318389 C173.562484,78.7140608 153.064901,74.6736978 132.704663,74.7564767 C95.5233161,74.7564767 59.357513,87.2124352 24.3937824,99.2746114 C18.3834197,101.367876 11.9984067,103.556503 6.0916709,105.629042 C3.54753927,105.068603 2.10792136,103.130486 2.10792136,99.8342996 C2.10792136,96.538113 5.69420403,94.4389922 6.0916709,94.2698903 C10.9831273,92.1888258 17.5544041,90.3834197 23.357513,88.3108808 C58.4455959,76.1243523 94.7357513,63.6891192 132.186528,63.6891192 C151.907332,63.6089939 171.462772,67.2594269 189.822499,74.4452399 C192.608237,75.5929435 194.285406,76.7409449 195.321649,80.3630351 C196.318139,83.8461763 193.466862,86.6986678 192.403451,86.4318389 Z M133.906736,93.2642487 C96.7046632,93.2642487 60.5595855,105.823834 25.5751295,117.823834 C20.0414508,119.709845 14.5284974,121.61658 8.99481865,123.481865 C6.28072652,124.053494 4.09882754,122.129982 3.62407257,119.340784 C3.09126993,116.210555 4.41216971,113.220263 7.24021336,112.662652 C13.0034556,110.919976 18.7297071,108.910765 24.4559585,106.901554 C59.5440415,94.7150259 95.8341969,82.2797927 133.284974,82.2797927 C154.016297,82.1549103 174.565928,86.1493022 193.740933,94.0310881 C193.818427,94.0627089 193.888776,94.1061187 193.950212,94.1587783 C196.324569,95.2173678 197.468362,97.3329456 197.381591,100.505512 C197.28915,103.885398 195.92313,105.324197 193.283531,104.821911 C174.339775,97.0890381 154.214031,93.1807849 133.906736,93.2642487 Z"/>
27 <path fill="#004586" d="M26.5072081,159.161773 C26.4568419,159.098001 26.4065301,159.034136 26.3562728,158.970176 C24.0557547,151.467586 22.1904697,145.084166 20.5738894,139.032353 L15.4754438,140.648933 C15.3937036,140.647925 15.3140755,140.634289 15.2388632,140.609517 C12.6134534,141.118756 10.3321816,140.619944 9.20615282,137.784577 C8.09315575,134.982024 8.9985463,132.077432 11.3624966,130.821435 C11.4536764,130.718888 11.5709105,130.641014 11.703423,130.597119 C16.5738894,128.959814 21.4443557,127.281057 26.314822,125.602301 C61.4029049,113.436498 97.672335,101.001264 135.123112,101.001264 C155.141972,100.920762 174.99008,104.684937 193.589433,112.089347 C193.749322,112.156295 193.877685,112.271428 193.961845,112.412702 C195.727913,113.596679 196.548644,115.59436 196.037837,118.141411 C195.423823,121.203082 193.757343,122.575892 190.967662,122.038394 C190.96164,122.041766 190.9565,122.042648 190.952278,122.04096 C190.941838,122.037045 190.931421,122.033142 190.921026,122.029251 C190.889389,122.022942 190.85761,122.016391 190.825687,122.009595 L190.828341,121.99465 C189.402103,121.463663 188.387146,121.1526 186.936584,120.648933 C183.206014,127.018536 177.203119,136.73819 168.988397,147.633389 C160.211954,159.270696 150.027272,169.775608 138.667154,178.908 L140.61534,184.876912 C140.639019,184.950659 140.651267,185.025603 140.652968,185.099714 C141.327363,187.738505 140.092956,190.490427 137.32611,191.589243 C134.504804,192.709688 131.734076,191.556541 130.706936,189.111381 C130.653289,189.041612 130.611526,188.96245 130.584252,188.876912 L127.516895,179.529762 C120.490988,158.203337 113.278553,136.192974 108.864045,114.078985 C106.404632,114.438225 103.952128,114.832007 101.506532,115.260332 C105.92104,136.939088 113.009123,158.555669 119.889952,179.509036 C121.147292,183.308691 122.390815,187.108346 123.620521,190.908 C123.655966,191.02335 123.664075,191.144009 123.645829,191.260854 C124.124754,193.774917 122.589795,195.822007 119.665237,196.425517 C116.750135,197.027075 114.032026,195.833832 113.162861,193.36997 C113.114364,193.303404 113.076054,193.228225 113.050573,193.146342 C111.668881,188.93218 110.287188,184.711109 108.905496,180.48313 C102.149019,159.964995 95.2060137,138.783648 90.791506,117.477948 C88.3459101,118.030625 85.941765,118.562577 83.5790707,119.073803 C88.0350293,139.757741 94.791506,160.400228 101.361454,180.420954 C102.826048,184.773285 104.249192,189.125617 105.630884,193.477948 C105.669129,193.603504 105.67492,193.734832 105.650066,193.860387 C106.030624,196.247327 104.308024,198.193535 101.26738,198.228555 C98.3691835,198.261934 95.594274,196.656481 94.6955535,194.251702 C94.5973399,194.161956 94.5219635,194.046261 94.4806251,193.913182 C93.0989325,189.671385 91.71724,185.477948 90.3355474,181.332871 C83.9521277,161.913182 77.4029049,141.892456 72.9469464,121.83028 C70.5704351,122.507309 68.1939239,123.198156 65.8174127,123.902819 C70.2733712,143.218881 76.4909878,162.617845 82.7086044,181.270694 C83.9383108,184.987448 85.1542003,188.704201 86.3562728,192.420954 C86.3678458,192.459214 86.3764051,192.497994 86.3820064,192.536967 L86.437101,192.546702 C86.9822366,195.141587 84.7582186,197.233657 81.1868183,196.733633 C77.7955653,196.258831 75.9716237,194.127819 74.6404902,190.942132 C74.5592864,190.857185 74.4969057,190.753898 74.4598997,190.63857 L71.703423,182.348415 C65.7759619,164.358777 59.703423,145.892456 55.3096407,127.239606 L48.2422832,129.540125 C52.5738894,147.260332 58.3769982,165.001264 64.0350293,182.203337 L65.5065319,186.700746 C65.6045379,186.875471 65.6287921,187.078378 65.5804848,187.266608 C65.8766255,190.09406 62.2469154,191.22157 58.3714436,189.473583 C54.5066998,187.730434 53.6986931,185.014834 52.6008891,181.849981 C52.5634577,181.792746 52.5333628,181.730454 52.5117132,181.664477 C47.5997961,166.742197 42.0246666,150.037534 37.8795889,133.187793 L30.9158583,135.571213 C34.2319205,148.317327 38.1697443,160.980539 42.045392,172.876912 C42.1655955,173.191014 42.0667174,173.544664 41.806227,173.751417 L41.8165158,173.761414 C40.4830309,175.452891 37.2143988,175.504617 33.6798898,172.056201 C30.2394602,168.699573 27.9147797,163.855223 26.5072081,159.161773 Z M120.967672,118.306964 C121.575616,121.332871 122.28028,124.358777 123.081661,127.384684 C127.309641,122.659296 131.392542,117.602301 135.392542,112.130798 C132.159382,112.130798 128.946946,112.25515 125.734511,112.441679 C124.159382,114.445133 122.570435,116.400228 120.967672,118.306964 Z M128.843319,148.317327 C139.408302,137.763223 148.790238,126.087924 156.822594,113.498674 C154.149019,113.146342 151.351091,112.876912 148.532439,112.648933 C141.967322,122.392103 134.575611,131.552001 126.439174,140.027171 C127.212922,142.790556 128.014304,145.553941 128.843319,148.317327 Z M135.060936,167.861368 L134.957309,167.861368 C150.045392,154.928726 163.330366,138.700746 176.180107,117.374321 C173.665427,116.697292 171.136929,116.089347 168.594615,115.550487 C158.73584,132.018333 146.602383,147.012467 132.553164,160.089347 C133.38218,162.686929 134.218104,165.277603 135.060936,167.861368 Z"/>
28 <g transform="translate(2 6)">
29 <mask id="iconsvg-c" fill="#fff">
30 <use xlink:href="#iconsvg-b"/>
31 </mask>
32 <use fill="#0E70CD" fill-rule="nonzero" opacity="0" xlink:href="#iconsvg-b"/>
33 <path fill="#000" fill-rule="nonzero" d="M91.5336788,157.046632 C56.6321244,159.264249 26.3937824,147.720207 7.18134715,118.497409 C9.616949,127.504627 -0.512993623,127.388494 4.21497239,135 C21.8134249,163.331575 48.7944175,195.834588 101.93505,193.637744 C157.656543,191.334208 178.669064,156.668495 188.656367,116.925858 C169.112326,147.97249 127.533679,154.746114 91.5336788,157.046632 Z" mask="url(#iconsvg-c)" opacity=".25"/>
34 </g>
35 <g transform="rotate(-4 96.814 89.617)">
36 <use fill="#000" filter="url(#iconsvg-d)" xlink:href="#iconsvg-e"/>
37 <use fill="#FFF" xlink:href="#iconsvg-e"/>
38 </g>
39 <g>
40 <use fill="#000" filter="url(#iconsvg-f)" xlink:href="#iconsvg-g"/>
41 <use fill="#FFF" xlink:href="#iconsvg-g"/>
42 </g>
43 </g>
44</svg>
diff --git a/recipes/scrumpy/index.js b/recipes/scrumpy/index.js
new file mode 100644
index 0000000..23607bd
--- /dev/null
+++ b/recipes/scrumpy/index.js
@@ -0,0 +1 @@
module.exports = Ferdi => Ferdi;
diff --git a/recipes/scrumpy/package.json b/recipes/scrumpy/package.json
new file mode 100644
index 0000000..33dcb5b
--- /dev/null
+++ b/recipes/scrumpy/package.json
@@ -0,0 +1,10 @@
1{
2 "id": "scrumpy",
3 "name": "Scrumpy",
4 "version": "1.0.0",
5 "license": "MIT",
6 "repository": "https://github.com/scrumpy/franz-recipe-scrumpy",
7 "config": {
8 "serviceURL": "https://app.scrumpy.io"
9 }
10}
diff --git a/recipes/scrumpy/webview.js b/recipes/scrumpy/webview.js
new file mode 100644
index 0000000..b53404b
--- /dev/null
+++ b/recipes/scrumpy/webview.js
@@ -0,0 +1,8 @@
1module.exports = Ferdi => {
2 const getMessages = function getMessages() {
3 const notifications = document.querySelector('.c-notifications-dropdown__count')
4 Ferdi.setBadge(notifications.innerText);
5 };
6
7 Ferdi.loop(getMessages);
8};