Use the svg for the tray too

This commit is contained in:
Nicola Smaniotto 2022-01-15 12:38:37 +01:00
parent 3f1943add8
commit 45b3583202
2 changed files with 229 additions and 1 deletions

228
discover-overlay-tray.svg Normal file
View file

@ -0,0 +1,228 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="256"
height="256"
viewBox="0 0 67.733332 67.733335"
version="1.1"
id="svg5"
inkscape:version="1.1 (c68e22c387, 2021-05-23)"
sodipodi:docname="discover-overlay.svg"
inkscape:export-filename="/home/nicola/Documents/svg/discover-overlay.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
units="px"
width="256px"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-midpoints="true"
inkscape:zoom="1.8351571"
inkscape:cx="108.98249"
inkscape:cy="149.30602"
inkscape:window-width="1366"
inkscape:window-height="705"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer3" />
<defs
id="defs2">
<clipPath
id="clip0">
<rect
width="71"
height="55"
fill="#ffffff"
id="rect6"
x="0"
y="0" />
</clipPath>
<clipPath
id="clip0-2">
<rect
width="71"
height="55"
fill="#ffffff"
id="rect6-9"
x="0"
y="0" />
</clipPath>
<clipPath
id="clip0-7">
<rect
width="71"
height="55"
fill="#ffffff"
id="rect6-0"
x="0"
y="0" />
</clipPath>
</defs>
<g
inkscape:label="Background"
inkscape:groupmode="layer"
id="layer1"
style="display:none"
sodipodi:insensitive="true">
<rect
style="fill:#000080;stroke-width:0.264583"
id="rect181"
width="67.73333"
height="67.73333"
x="-4.4408921e-16"
y="0" />
</g>
<g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="Logo"
style="display:inline">
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Names"
style="opacity:0.5"
sodipodi:insensitive="true">
<rect
style="fill:#000000;stroke-width:0.229136"
id="rect68"
width="47.625"
height="12.7"
x="7.4083333"
y="6.3499999" />
<rect
style="fill:#000000;stroke-width:0.229136"
id="rect70"
width="52.916668"
height="12.7"
x="7.4083333"
y="27.516666" />
<rect
style="fill:#000000;stroke-width:0.229136"
id="rect72"
width="37.041668"
height="12.7"
x="7.4083338"
y="48.683334" />
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Avatars"
sodipodi:insensitive="true">
<circle
style="display:inline;fill:#eb459e;fill-opacity:1;stroke-width:0.264583"
id="path663-5"
cx="12.7"
cy="33.866665"
r="8.4666662" />
<circle
style="fill:#fec832;fill-opacity:1;stroke-width:0.264583"
id="path663"
cx="12.7"
cy="12.7"
r="8.4666662" />
<g
clip-path="url(#clip0-2)"
id="g4-1"
transform="matrix(0.16396714,0,0,0.16396714,6.8791663,29.362397)" />
<circle
style="fill:#5865f2;fill-opacity:1;stroke-width:0.264583"
id="path663-7"
cx="12.7"
cy="55.033333"
r="8.4666662" />
<g
id="g606">
<path
id="rect132-6"
style="display:inline;fill:#ffffff;stroke-width:0.268097"
d="m 6.3499997,36.512498 v 2.946591 A 8.466666,8.466666 0 0 0 12.7,42.333331 8.466666,8.466666 0 0 0 19.05,39.458573 v -2.946075 z" />
<ellipse
style="fill:#ffffff;stroke-width:0.280016"
id="path258"
cx="12.7"
cy="36.512497"
rx="6.3499999"
ry="2.6458333" />
<circle
style="fill:#ffffff;stroke-width:0.264583"
id="path362"
cx="12.7"
cy="29.897917"
r="2.6458333" />
</g>
<g
id="g606-7"
style="display:inline"
transform="translate(-4.0734864e-8,21.166668)">
<path
id="rect132-6-5"
style="display:inline;fill:#ffffff;stroke-width:0.268097"
d="m 6.3499997,36.512498 v 2.946591 A 8.466666,8.466666 0 0 0 12.7,42.333331 8.466666,8.466666 0 0 0 19.05,39.458573 v -2.946075 z" />
<ellipse
style="fill:#ffffff;stroke-width:0.280016"
id="path258-3"
cx="12.7"
cy="36.512497"
rx="6.3499999"
ry="2.6458333" />
<circle
style="fill:#ffffff;stroke-width:0.264583"
id="path362-5"
cx="12.7"
cy="29.897917"
r="2.6458333" />
</g>
<g
id="g606-6"
style="display:inline"
transform="translate(-4.0734856e-8,-21.166665)">
<path
id="rect132-6-2"
style="display:inline;fill:#ffffff;stroke-width:0.268097"
d="m 6.3499997,36.512498 v 2.946591 A 8.466666,8.466666 0 0 0 12.7,42.333331 8.466666,8.466666 0 0 0 19.05,39.458573 v -2.946075 z" />
<ellipse
style="fill:#ffffff;stroke-width:0.280016"
id="path258-9"
cx="12.7"
cy="36.512497"
rx="6.3499999"
ry="2.6458333" />
<circle
style="fill:#ffffff;stroke-width:0.264583"
id="path362-1"
cx="12.7"
cy="29.897917"
r="2.6458333" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="Speaking"
sodipodi:insensitive="true">
<path
id="path663-5-6"
style="display:inline;fill:#00b300;fill-opacity:1;stroke:none;stroke-width:0.264583"
d="M 12.699999,4.2333336 A 8.466666,8.466666 0 0 0 4.2333329,12.7 8.466666,8.466666 0 0 0 12.699999,21.166667 8.466666,8.466666 0 0 0 21.166666,12.7 8.466666,8.466666 0 0 0 12.699999,4.2333336 Z m 0,1.5875 A 6.8791666,6.8791666 0 0 1 19.579166,12.7 6.8791666,6.8791666 0 0 1 12.699999,19.579167 6.8791666,6.8791666 0 0 1 5.8208329,12.7 6.8791666,6.8791666 0 0 1 12.699999,5.8208336 Z" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.7 KiB

View file

@ -21,7 +21,7 @@ setup(
'discover_overlay.desktop'
]),
('share/icons/hicolor/256x256/apps', ['discover-overlay.png', 'discover-overlay-tray.png']),
('share/icons/hicolor/scalable/apps', ['discover-overlay.svg'])
('share/icons/hicolor/scalable/apps', ['discover-overlay.svg', 'discover-overlay-tray.svg'])
],
install_requires=[
'PyGObject>=3.22',