diff options
author | 2022-09-03 18:39:54 +0530 | |
---|---|---|
committer | 2022-09-03 18:39:54 +0530 | |
commit | 51dcb0d422cb815c284c90e2e6a0b9ce15f3d4c3 (patch) | |
tree | 6ea152f2912211ce8651085bb187d9acd30284cf | |
parent | 7ef46aaf90028467a4a5b357b7a8bb1750a6d0e3 (diff) | |
download | whatsie-51dcb0d422cb815c284c90e2e6a0b9ce15f3d4c3.tar.gz whatsie-51dcb0d422cb815c284c90e2e6a0b9ce15f3d4c3.zip |
chore(snap): use svg icon for desktop entry
-rw-r--r-- | snap/gui/icon.png | bin | 22868 -> 12301 bytes | |||
-rw-r--r-- | snap/gui/icon.svg | 81 | ||||
-rw-r--r-- | snap/snapcraft.yaml | 2 |
3 files changed, 82 insertions, 1 deletions
diff --git a/snap/gui/icon.png b/snap/gui/icon.png Binary files differindex 7974220..2e5155d 100644 --- a/snap/gui/icon.png +++ b/snap/gui/icon.png diff --git a/snap/gui/icon.svg b/snap/gui/icon.svg new file mode 100644 index 0000000..0b81505 --- /dev/null +++ b/snap/gui/icon.svg @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + height="100%" + style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;" + version="1.1" + viewBox="0 0 24 24" + width="100%" + xml:space="preserve" + id="svg2" + inkscape:version="0.91 r13725" + sodipodi:docname="whatsapp.svg"><metadata + id="metadata19"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs + id="defs17"><filter + inkscape:label="Fill Background" + inkscape:menu="Fill and Transparency" + inkscape:menu-tooltip="Adds a colorizable opaque background" + style="color-interpolation-filters:sRGB;" + id="filter843"><feFlood + result="result1" + flood-color="rgb(255,0,0)" + flood-opacity="1" + id="feFlood845" /><feImage + xlink:href="" + result="result2" + id="feImage847" /><feBlend + result="result4" + in2="result1" + mode="multiply" + id="feBlend849" /><feMerge + result="result3" + id="feMerge851"><feMergeNode + in="result1" + id="feMergeNode853" /><feMergeNode + in="SourceGraphic" + id="feMergeNode855" /></feMerge></filter></defs><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1311" + inkscape:window-height="744" + id="namedview15" + showgrid="false" + inkscape:zoom="8.4606523" + inkscape:cx="-10.8163" + inkscape:cy="19.836975" + inkscape:window-x="55" + inkscape:window-y="24" + inkscape:window-maximized="1" + inkscape:current-layer="svg2" /><rect + height="24" + id="Artboard1" + style="fill:none;" + width="24" + x="0" + y="0" /><g + id="g5"><g + id="g7"><path + d="M4.018,17.048c-0.96,-1.484 -1.518,-3.253 -1.518,-5.151c0,-5.243 4.257,-9.5 9.5,-9.5c5.243,0 9.5,4.257 9.5,9.5c0,5.243 -4.257,9.5 -9.5,9.5c-1.777,0 -3.44,-0.489 -4.863,-1.339l-4.637,1.545l1.518,-4.555Z" + style="fill:#f3f3f3;" + id="path9" /><path + d="M5.795,16.304c-0.886,-1.244 -1.407,-2.765 -1.407,-4.407c0,-4.201 3.411,-7.612 7.612,-7.612c4.201,0 7.612,3.411 7.612,7.612c0,4.201 -3.411,7.611 -7.612,7.611c-1.59,0 -3.066,-0.488 -4.288,-1.323l-2.862,0.954l0.945,-2.835Z" + style="fill:#00a82d;" + id="path11" /></g><path + d="M9.714,13.873c-1.124,-1.374 -1.874,-3.056 -2.109,-4.88c-0.063,-0.508 0.106,-1.018 0.461,-1.387c0.355,-0.369 0.858,-0.558 1.368,-0.515l0.049,0.005c0,0 0.561,0.15 0.868,0.233c0.122,0.033 0.219,0.124 0.26,0.243c0.138,0.41 0.464,1.373 0.618,1.826c0.05,0.147 0.004,0.31 -0.114,0.41c-0.233,0.196 -0.618,0.52 -0.858,0.723c-0.129,0.109 -0.17,0.29 -0.1,0.443c0.279,0.608 0.635,1.176 1.057,1.69c0.434,0.502 0.933,0.949 1.485,1.327c0.14,0.095 0.325,0.085 0.454,-0.024c0.241,-0.202 0.626,-0.526 0.858,-0.722c0.119,-0.1 0.287,-0.117 0.424,-0.043c0.42,0.228 1.314,0.712 1.694,0.918c0.111,0.06 0.185,0.172 0.196,0.297c0.029,0.317 0.083,0.895 0.083,0.895l-0.004,0.049c-0.044,0.51 -0.315,0.974 -0.739,1.261c-0.424,0.288 -0.955,0.368 -1.445,0.22c-1.772,-0.545 -3.313,-1.581 -4.479,-2.937l-0.027,-0.032Z" + style="fill:#f3f3f3;" + id="path13" /></g></svg>
\ No newline at end of file diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2ebdb2d..561d1e4 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -106,7 +106,7 @@ parts: make install - sed -i 's|Icon=.*|Icon=${SNAP}/meta/gui/icon.png|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/com.ktechpit.whatsie.desktop + sed -i 's|Icon=.*|Icon=${SNAP}/meta/gui/icon.svg|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/com.ktechpit.whatsie.desktop desktop-launch: plugin: nil |