moved to personal fennel config for awesome and added qutebrowser
109
awes2/widget/email/icons/email-1.svg
Normal file
|
@ -0,0 +1,109 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.3188977"
|
||||
inkscape:cx="102.48514"
|
||||
inkscape:cy="104.63006"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g847" />
|
||||
<g
|
||||
id="g877">
|
||||
<text
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;"
|
||||
id="text879"
|
||||
xml:space="preserve" />
|
||||
<g
|
||||
id="g856">
|
||||
<g
|
||||
id="g847">
|
||||
<g
|
||||
id="g853">
|
||||
<g
|
||||
id="g841">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
</g>
|
||||
<g
|
||||
id="g843">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
aria-label="1"
|
||||
transform="translate(1.3783569,-0.62932051)"
|
||||
id="text885"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none">
|
||||
<path
|
||||
d="m 196.13672,199.49547 h 9.34375 v -45.09375 h -9.375 l -11.65625,8.09375 v 8.375 l 11.5,-7.8125 h 0.1875 z"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:64px;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
id="path933" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.7 KiB |
100
awes2/widget/email/icons/email-2.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-2.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<g
|
||||
id="g854">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
id="text879"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;" />
|
||||
<g
|
||||
id="g846">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="2">
|
||||
<path
|
||||
id="path840"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 180.38672,168.12047 h 8.75 c 0,-4.34375 3.40625,-7.375 7.90625,-7.375 4.0625,0 6.84375,2.75 6.84375,6.375 0,3.125 -1.28125,5.28125 -7,10.78125 l -15.96875,15.125 v 6.46875 h 32.78125 v -7.5 h -20.4375 v -0.1875 l 9.46875,-9.0625 c 7.625,-7.28125 10.34375,-10.6875 10.34375,-16.21875 0,-7.5 -6.375,-13.125 -16.03125,-13.125 -9.78125,0 -16.65625,6.03125 -16.65625,14.71875 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.7 KiB |
100
awes2/widget/email/icons/email-3.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-3.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<text
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;"
|
||||
id="text879"
|
||||
xml:space="preserve" />
|
||||
<g
|
||||
id="g853">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<g
|
||||
id="g846">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="3">
|
||||
<path
|
||||
id="path840"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 190.96484,179.65172 h 5.15625 c 5.46875,0 8.6875,2.4375 8.65625,6.8125 0,3.8125 -3.25,6.4375 -7.96875,6.4375 -4.96875,0 -8.21875,-2.5 -8.53125,-6.1875 h -9 c 0.40625,8.28125 7.34375,13.78125 17.53125,13.78125 10.46875,0 17.5625,-5.4375 17.5625,-13.625 0,-6.1875 -4.375,-10.15625 -11.0625,-10.78125 v -0.1875 c 5.3125,-1.09375 9.40625,-4.8125 9.40625,-10.5625 0,-7.21875 -6.4375,-11.9375 -15.96875,-11.9375 -9.4375,0 -16,5.28125 -16.46875,13.53125 h 8.65625 c 0.28125,-3.90625 3.375,-6.28125 7.8125,-6.28125 4.5,0 7.03125,2.34375 7.03125,6.03125 0,3.6875 -3.0625,6.25 -7.78125,6.25 h -5.03125 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.9 KiB |
100
awes2/widget/email/icons/email-4.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-4.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<text
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;"
|
||||
id="text879"
|
||||
xml:space="preserve" />
|
||||
<g
|
||||
id="g853">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<g
|
||||
id="g846">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="4">
|
||||
<path
|
||||
id="path840"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 200.99609,199.49547 h 8.96875 v -8.28125 h 5.9375 v -7.53125 h -5.9375 v -29.28125 h -13.3125 c -9.25,13.59375 -14.15625,21.46875 -18.09375,28.9375 v 7.875 h 22.4375 z m -14.21875,-15.8125 c 3.59375,-6.71875 7.6875,-13.125 14.21875,-22.53125 h 0.1875 v 22.78125 h -14.40625 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.6 KiB |
100
awes2/widget/email/icons/email-5.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="email-5.svg"
|
||||
id="svg4"
|
||||
version="1.1"
|
||||
viewBox="0 0 240 240"
|
||||
height="240"
|
||||
width="240">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
x="160.68127"
|
||||
y="140.43247"
|
||||
width="72.691548"
|
||||
height="76.821962"
|
||||
id="rect887" />
|
||||
<rect
|
||||
x="180.14568"
|
||||
y="165.94589"
|
||||
width="57.559134"
|
||||
height="42.253372"
|
||||
id="rect881" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="g844"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-x="45"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:pagecheckerboard="false"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="740"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#000000"
|
||||
inkscape:document-rotation="0" />
|
||||
<g
|
||||
id="g877">
|
||||
<g
|
||||
id="g853">
|
||||
<path
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5"
|
||||
id="path2"
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z" />
|
||||
<text
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;"
|
||||
id="text879"
|
||||
xml:space="preserve" />
|
||||
<g
|
||||
id="g844">
|
||||
<ellipse
|
||||
style="fill:#e04f5f;stroke-width:0.427111"
|
||||
cx="196.3432"
|
||||
cy="176.31927"
|
||||
rx="40.343189"
|
||||
ry="40.319271"
|
||||
id="ellipse16" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="5">
|
||||
<path
|
||||
id="path842"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 197.52734,200.49547 c 10.34375,0 17.4375,-6.46875 17.4375,-16 0,-8.59375 -6.15625,-14.78125 -14.75,-14.78125 -4.5625,0 -8.28125,1.84375 -10.15625,4.875 h -0.1875 l 1.09375,-12.6875 h 21.28125 v -7.5 h -28.78125 l -2.0625,26.46875 h 8.21875 c 1.53125,-2.71875 4.34375,-4.40625 7.96875,-4.40625 4.9375,0 8.375,3.40625 8.375,8.25 0,4.90625 -3.4375,8.3125 -8.40625,8.3125 -4.34375,0 -7.6875,-2.5625 -8.21875,-6.46875 h -8.71875 c 0.25,8.1875 7.25,13.9375 16.90625,13.9375 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.8 KiB |
100
awes2/widget/email/icons/email-6.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-6.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<text
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;"
|
||||
id="text879"
|
||||
xml:space="preserve" />
|
||||
<g
|
||||
id="g853">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<g
|
||||
id="g846">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="6">
|
||||
<path
|
||||
id="path840"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 197.82422,200.49547 c 10.0625,0 17.375,-6.65625 17.375,-16 0,-8.46875 -5.96875,-14.6875 -14.6875,-14.6875 -6.09375,0 -10.53125,3.0625 -12.28125,7.25 h -0.1875 c -0.0312,-9.875 3.21875,-16.21875 9.78125,-16.21875 3.71875,0 6.40625,1.875 7.46875,5.09375 h 9.3125 c -1.25,-7.4375 -8,-12.5625 -16.75,-12.5625 -11.71875,0 -18.84375,9 -18.84375,23.9375 0,15.5625 8.03125,23.1875 18.8125,23.1875 z m -0.125,-7.5 c -4.625,0 -8.25,-3.625 -8.25,-8.28125 0,-4.59375 3.5625,-7.9375 8.34375,-7.9375 4.71875,0 8.21875,3.375 8.21875,8.125 -0.0312,4.53125 -3.6875,8.09375 -8.3125,8.09375 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.9 KiB |
100
awes2/widget/email/icons/email-7.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-7.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<g
|
||||
id="g854">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
id="text879"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;" />
|
||||
<g
|
||||
id="g846">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="7">
|
||||
<path
|
||||
id="path840"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 184.24609,199.49547 h 9.90625 l 18.8125,-37.5 v -7.59375 h -32.25 v 7.5 h 22.9375 v 0.1875 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.5 KiB |
100
awes2/widget/email/icons/email-8.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-8.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<g
|
||||
id="g854">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
id="text879"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;" />
|
||||
<g
|
||||
id="g846">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:64px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="8">
|
||||
<path
|
||||
id="path840"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 197.02734,200.49547 c 10.75,0 18.28125,-5.375 18.28125,-13.1875 0,-5.9375 -4.34375,-10.3125 -10.5,-11.53125 v -0.1875 c 5.28125,-1.3125 8.84375,-5.1875 8.84375,-10.03125 0,-7.0625 -6.84375,-12.15625 -16.625,-12.15625 -9.78125,0 -16.65625,5.125 -16.65625,12.125 0,4.90625 3.59375,8.78125 8.90625,10.0625 v 0.1875 c -6.15625,1.1875 -10.53125,5.5625 -10.53125,11.5 0,7.8125 7.5,13.21875 18.28125,13.21875 z m 0,-27.75 c -4.28125,0 -7.3125,-2.5625 -7.3125,-6.25 0,-3.71875 3.03125,-6.28125 7.3125,-6.28125 4.25,0 7.3125,2.5625 7.3125,6.28125 0,3.6875 -3.0625,6.25 -7.3125,6.25 z m 0,20.875 c -4.96875,0 -8.4375,-2.9375 -8.4375,-7.03125 0,-4.03125 3.46875,-6.96875 8.4375,-6.96875 4.96875,0 8.40625,2.90625 8.40625,6.96875 0,4.09375 -3.4375,7.03125 -8.40625,7.03125 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.1 KiB |
104
awes2/widget/email/icons/email-9+.svg
Normal file
|
@ -0,0 +1,104 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-9.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<g
|
||||
id="g858">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
id="text879"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;" />
|
||||
<g
|
||||
id="g849">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:61.3333px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="9+">
|
||||
<path
|
||||
id="path840"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:56px;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 178.21484,197.90945 c 10.25391,0 16.46094,-7.875 16.46094,-20.94531 0,-14.41016 -7.76562,-20.28907 -16.46094,-20.28907 -8.80468,0 -15.20312,5.82422 -15.20312,14 0,7.6836 5.76953,12.87891 13.09765,12.87891 5.16797,0 9.07813,-2.57031 10.5,-6.39844 h 0.16407 c 0.0547,8.47656 -2.59766,14.21875 -8.53125,14.21875 -3.3086,0 -5.74219,-1.5039 -6.61719,-4.32031 h -8.14844 c 1.03906,6.39844 7,10.85547 14.73828,10.85547 z m 0.0273,-20.48047 c -4.12891,0 -7.19141,-2.95313 -7.19141,-7.08203 0,-3.99219 3.19922,-7.08203 7.27344,-7.08203 4.04687,0 7.24609,3.14453 7.24609,7.21875 0,4.04687 -3.17187,6.94531 -7.32812,6.94531 z" />
|
||||
<path
|
||||
id="path842"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:56px;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 218.65625,184.70242 h 10.63672 v -6.97266 h -10.63672 v -11.18359 h -7.13672 v 11.18359 h -10.60937 v 6.97266 h 10.60937 v 11.15625 h 7.13672 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.4 KiB |
100
awes2/widget/email/icons/email-9.svg
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="240"
|
||||
height="240"
|
||||
viewBox="0 0 240 240"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="email-99.svg"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8">
|
||||
<rect
|
||||
id="rect887"
|
||||
height="76.821962"
|
||||
width="72.691548"
|
||||
y="140.43247"
|
||||
x="160.68127" />
|
||||
<rect
|
||||
id="rect881"
|
||||
height="42.253372"
|
||||
width="57.559134"
|
||||
y="165.94589"
|
||||
x="180.14568" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
pagecolor="#000000"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0.65098039"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:window-height="740"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="2.2645626"
|
||||
inkscape:cx="118.93231"
|
||||
inkscape:cy="121.34259"
|
||||
inkscape:window-x="45"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="g877" />
|
||||
<g
|
||||
id="g877">
|
||||
<text
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect881);fill:#000000;fill-opacity:1;stroke:none;"
|
||||
id="text879"
|
||||
xml:space="preserve" />
|
||||
<g
|
||||
id="g891">
|
||||
<path
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z"
|
||||
id="path2"
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5" />
|
||||
<g
|
||||
id="g884">
|
||||
<ellipse
|
||||
id="ellipse16"
|
||||
ry="40.319271"
|
||||
rx="40.343189"
|
||||
cy="176.31927"
|
||||
cx="196.3432"
|
||||
style="fill:#e04f5f;stroke-width:0.427111" />
|
||||
<g
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:61.3333px;line-height:1.25;font-family:'sf pro d';-inkscape-font-specification:'sf pro d';letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect887);fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="text885"
|
||||
transform="translate(0,-0.98869551)"
|
||||
aria-label="9">
|
||||
<path
|
||||
id="path878"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'SF Pro Display';-inkscape-font-specification:'SF Pro Display Bold';text-align:center;text-anchor:middle;fill:#ffffff"
|
||||
d="m 196.26367,197.99278 c 11.23047,0 18.02864,-8.62499 18.02864,-22.94009 0,-15.78255 -8.50521,-22.22134 -18.02864,-22.22134 -9.64322,0 -16.65103,6.3789 -16.65103,15.33332 0,8.41536 6.31901,14.10546 14.34504,14.10546 5.66016,0 9.94271,-2.8151 11.5,-7.00781 h 0.17969 c 0.0599,9.28385 -2.84506,15.57291 -9.34375,15.57291 -3.6237,0 -6.28906,-1.64713 -7.24739,-4.73177 h -8.92448 c 1.13802,7.00781 7.66667,11.88932 16.14192,11.88932 z m 0.03,-22.43098 c -4.52213,0 -7.8763,-3.23437 -7.8763,-7.7565 0,-4.3724 3.50391,-7.75651 7.96614,-7.75651 4.43229,0 7.9362,3.44401 7.9362,7.90625 0,4.43229 -3.47396,7.60676 -8.02604,7.60676 z" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4 KiB |
117
awes2/widget/email/icons/email-unread.svg
Normal file
|
@ -0,0 +1,117 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
height="240"
|
||||
width="240"
|
||||
sodipodi:docname="technology.svg"
|
||||
xml:space="preserve"
|
||||
viewBox="0 0 239.99999 239.99999"
|
||||
y="0px"
|
||||
x="0px"
|
||||
id="Layer_1"
|
||||
version="1.1"><metadata
|
||||
id="metadata90"><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></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs88" /><sodipodi:namedview
|
||||
inkscape:current-layer="Layer_1"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-x="45"
|
||||
inkscape:cy="249.34781"
|
||||
inkscape:cx="44.809353"
|
||||
inkscape:zoom="0.61363547"
|
||||
inkscape:pagecheckerboard="true"
|
||||
showgrid="false"
|
||||
id="namedview86"
|
||||
inkscape:window-height="740"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<g
|
||||
style="fill:#fffffa;fill-opacity:1;opacity:0.8"
|
||||
transform="matrix(0.42613576,0,0,0.42613576,20,19.999787)"
|
||||
id="g53">
|
||||
<g
|
||||
style="fill:#fffffa;fill-opacity:1"
|
||||
id="g51">
|
||||
<path
|
||||
style="fill:#fffffa;fill-opacity:1"
|
||||
id="path49"
|
||||
d="m 465.069,173.152 0.244,-0.305 C 448.222,159.243 427.088,142.408 405,124.8 V 85.334 C 405,61.77 385.897,42.667 362.333,42.667 H 302.188 C 280.769,25.495 265.709,13.345 263.343,11.248 254.869,3.753 244.768,0.004 234.671,0 224.565,-0.004 214.463,3.746 206,11.248 203.634,13.346 188.574,25.495 167.155,42.667 H 106.667 C 83.103,42.667 64,61.77 64,85.334 v 40.003 c -21.846,17.415 -43.059,34.044 -59.979,47.51 l 0.243,0.305 C 1.777,175.152 0,177.923 0,181.195 v 245.452 c 0,23.576 19.112,42.688 42.688,42.688 h 383.979 c 23.564,0 42.667,-19.102 42.667,-42.667 V 181.195 c 0,-3.272 -1.778,-6.043 -4.265,-8.043 z M 220.146,27.225 c 5.667,-5.003 18.75,-9.12 29.052,0.01 1.65,1.46 8.645,7.148 18.924,15.432 h -66.908 c 10.285,-8.287 17.282,-13.98 18.932,-15.442 z m -81.479,79.442 h 191.667 c 5.896,0 10.667,4.771 10.667,10.667 0,5.896 -4.771,10.667 -10.667,10.667 H 138.667 c -5.896,0 -10.667,-4.771 -10.667,-10.667 0,-5.896 4.771,-10.667 10.667,-10.667 z m 0,64 h 191.667 c 5.896,0 10.667,4.771 10.667,10.667 0,5.896 -4.771,10.667 -10.667,10.667 H 138.667 c -5.896,0 -10.667,-4.771 -10.667,-10.667 0,-5.896 4.771,-10.667 10.667,-10.667 z M 288,245.334 c 0,5.896 -4.771,10.667 -10.667,10.667 h -86 c -5.896,0 -10.667,-4.771 -10.667,-10.667 0,-5.896 4.771,-10.667 10.667,-10.667 h 86 c 5.896,0 10.667,4.771 10.667,10.667 z m -38.802,89.82 c -2.573,2.283 -7.938,6.117 -14.865,6.117 -5.063,0 -9.948,-2.052 -14.531,-6.117 C 178.438,298.507 63.305,208.606 27.927,181.092 c 8.322,-6.626 20.974,-16.703 35.74,-28.471 v 24.214 c 0,3.281 1.51,6.385 4.094,8.406 43.469,33.979 122.021,95.844 159.771,128.417 2,1.729 4.49,2.594 6.969,2.594 2.479,0 4.958,-0.865 6.958,-2.583 C 279.021,281.294 357.48,219.617 400.896,185.721 403.49,183.7 405,180.596 405,177.315 V 152.09 c 15.044,11.99 27.953,22.272 36.397,28.996 -35.476,27.544 -151.083,117.663 -192.199,154.068 z" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g55">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g57">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g59">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g61">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g63">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g65">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g67">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g69">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g71">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g73">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g75">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g77">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g79">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g81">
|
||||
</g>
|
||||
<g
|
||||
style="opacity:0.8"
|
||||
id="g83">
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
56
awes2/widget/email/icons/email.svg
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="ic_email_48px.svg"
|
||||
id="svg4"
|
||||
version="1.1"
|
||||
viewBox="0 0 240 240"
|
||||
height="240"
|
||||
width="240">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<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></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="28"
|
||||
inkscape:window-x="45"
|
||||
inkscape:cy="85.87193"
|
||||
inkscape:cx="-95.622868"
|
||||
inkscape:zoom="0.75889096"
|
||||
inkscape:pagecheckerboard="true"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="740"
|
||||
inkscape:window-width="1321"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="opacity:0.8;fill:#ffffff;fill-opacity:1;stroke-width:5"
|
||||
id="path2"
|
||||
d="M 200,40 H 40 C 28.95,40 20.1,48.95 20.1,60 L 20,180 c 0,11.05 8.95,20 20,20 h 160 c 11.05,0 20,-8.95 20,-20 V 60 c 0,-11.05 -8.95,-20 -20,-20 z m 0,40 -80,50 L 40,80 V 60 l 80,50 80,-50 z" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
412
awes2/widget/email/init.lua
Normal file
|
@ -0,0 +1,412 @@
|
|||
local awful = require('awful')
|
||||
local gears = require('gears')
|
||||
local wibox = require('wibox')
|
||||
local naughty = require('naughty')
|
||||
local beautiful = require('beautiful')
|
||||
|
||||
local dpi = beautiful.xresources.apply_dpi
|
||||
|
||||
local config_dir = gears.filesystem.get_configuration_dir()
|
||||
local widget_icon_dir = config_dir .. 'widget/email/icons/'
|
||||
|
||||
local secrets = require('configuration.secrets')
|
||||
|
||||
local email_account = secrets.email.address
|
||||
local app_password = secrets.email.app_password
|
||||
local imap_server = secrets.email.imap_server
|
||||
local port = secrets.email.port
|
||||
|
||||
local unread_email_count = 0
|
||||
local startup_show = true
|
||||
|
||||
local scroll_container = function(widget)
|
||||
return wibox.widget {
|
||||
widget,
|
||||
id = 'scroll_container',
|
||||
max_size = 345,
|
||||
speed = 75,
|
||||
expand = true,
|
||||
direction = 'h',
|
||||
step_function = wibox.container.scroll
|
||||
.step_functions.waiting_nonlinear_back_and_forth,
|
||||
fps = 30,
|
||||
layout = wibox.container.scroll.horizontal,
|
||||
}
|
||||
end
|
||||
|
||||
local email_icon_widget = wibox.widget {
|
||||
{
|
||||
id = 'icon',
|
||||
image = widget_icon_dir .. 'email.svg',
|
||||
resize = true,
|
||||
forced_height = dpi(45),
|
||||
forced_width = dpi(45),
|
||||
widget = wibox.widget.imagebox,
|
||||
},
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
}
|
||||
|
||||
local email_from_text = wibox.widget {
|
||||
font = 'SF Pro Text Bold 10',
|
||||
markup = 'From:',
|
||||
align = 'left',
|
||||
valign = 'center',
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
|
||||
local email_recent_from = wibox.widget {
|
||||
font = 'SF Pro Text Regular 10',
|
||||
markup = 'loading@stdout.sh',
|
||||
align = 'left',
|
||||
valign = 'center',
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
local email_subject_text = wibox.widget {
|
||||
font = 'SF Pro Text Regular 10',
|
||||
markup = 'Subject:',
|
||||
align = 'left',
|
||||
valign = 'center',
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
local email_recent_subject = wibox.widget {
|
||||
font = 'SF Pro Text Regular 10',
|
||||
markup = 'Loading data',
|
||||
align = 'left',
|
||||
valign = 'center',
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
local email_date_text = wibox.widget {
|
||||
font = 'SF Pro Text Regular 10',
|
||||
markup = 'Local Date:',
|
||||
align = 'left',
|
||||
valign = 'center',
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
local email_recent_date = wibox.widget {
|
||||
font = 'SF Pro Text Regular 10',
|
||||
markup = 'Loading date...',
|
||||
align = 'left',
|
||||
valign = 'center',
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
local email_report = wibox.widget{
|
||||
{
|
||||
{
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
spacing = dpi(10),
|
||||
{
|
||||
layout = wibox.layout.align.vertical,
|
||||
expand = 'none',
|
||||
nil,
|
||||
email_icon_widget,
|
||||
nil
|
||||
},
|
||||
{
|
||||
layout = wibox.layout.align.vertical,
|
||||
expand = 'none',
|
||||
nil,
|
||||
{
|
||||
layout = wibox.layout.fixed.vertical,
|
||||
{
|
||||
email_from_text,
|
||||
scroll_container(email_recent_from),
|
||||
spacing = dpi(5),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
{
|
||||
email_subject_text,
|
||||
scroll_container(email_recent_subject),
|
||||
spacing = dpi(5),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
{
|
||||
email_date_text,
|
||||
scroll_container(email_recent_date),
|
||||
spacing = dpi(5),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
}
|
||||
},
|
||||
nil
|
||||
}
|
||||
},
|
||||
margins = dpi(10),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
forced_height = dpi(92),
|
||||
bg = beautiful.groups_bg,
|
||||
shape = function(cr, width, height)
|
||||
gears.shape.partially_rounded_rect(cr, width, height, true, true, true, true, beautiful.groups_radius)
|
||||
end,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local email_details_tooltip = awful.tooltip
|
||||
{
|
||||
text = 'Loading...',
|
||||
objects = {email_icon_widget},
|
||||
mode = 'outside',
|
||||
align = 'right',
|
||||
preferred_positions = {'left', 'right', 'top', 'bottom'},
|
||||
margin_leftright = dpi(8),
|
||||
margin_topbottom = dpi(8)
|
||||
}
|
||||
|
||||
local fetch_email_command = [[
|
||||
python3 - <<END
|
||||
import imaplib
|
||||
import email
|
||||
import datetime
|
||||
import re
|
||||
import sys
|
||||
|
||||
def process_mailbox(M):
|
||||
rv, data = M.search(None, "(UNSEEN)")
|
||||
if rv != 'OK':
|
||||
print ("No messages found!")
|
||||
return
|
||||
|
||||
for num in reversed(data[0].split()):
|
||||
rv, data = M.fetch(num, '(BODY.PEEK[])')
|
||||
if rv != 'OK':
|
||||
print ("ERROR getting message", num)
|
||||
return
|
||||
|
||||
msg = email.message_from_bytes(data[0][1])
|
||||
print ('From:', msg['From'])
|
||||
print ('Subject: %s' % (msg['Subject']))
|
||||
date_tuple = email.utils.parsedate_tz(msg['Date'])
|
||||
if date_tuple:
|
||||
local_date = datetime.datetime.fromtimestamp(email.utils.mktime_tz(date_tuple))
|
||||
print ("Local Date:", local_date.strftime("%a, %H:%M:%S %b %d, %Y") + "\n")
|
||||
# with code below you can process text of email
|
||||
# if msg.is_multipart():
|
||||
# for payload in msg.get_payload():
|
||||
# if payload.get_content_maintype() == 'text':
|
||||
# print payload.get_payload()
|
||||
# else:
|
||||
# print msg.get_payload()
|
||||
|
||||
|
||||
try:
|
||||
M=imaplib.IMAP4_SSL("]] .. imap_server .. [[", ]] .. port .. [[)
|
||||
M.login("]] .. email_account .. [[","]] .. app_password .. [[")
|
||||
|
||||
status, counts = M.status("INBOX","(MESSAGES UNSEEN)")
|
||||
|
||||
rv, data = M.select("INBOX")
|
||||
if rv == 'OK':
|
||||
unread = re.search(r'UNSEEN\s(\d+)', counts[0].decode('utf-8')).group(1)
|
||||
print ("Unread Count: " + unread)
|
||||
process_mailbox(M)
|
||||
|
||||
M.close()
|
||||
M.logout()
|
||||
|
||||
except Exception as e:
|
||||
if e:
|
||||
print (e)
|
||||
|
||||
END
|
||||
]]
|
||||
|
||||
local notify_all_unread_email = function(email_data)
|
||||
|
||||
local unread_counter = email_data:match('Unread Count: (.-)From:'):sub(1, -2)
|
||||
|
||||
local email_data = email_data:match('(From:.*)'):sub(1, -2)
|
||||
|
||||
local title = nil
|
||||
|
||||
if tonumber(unread_email_count) > 1 then
|
||||
title = 'You have ' .. unread_counter .. ' unread emails!'
|
||||
else
|
||||
title = 'You have ' .. unread_counter .. ' unread email!'
|
||||
end
|
||||
|
||||
naughty.notification ({
|
||||
app_name = 'Email',
|
||||
title = title,
|
||||
message = email_data,
|
||||
timeout = 30,
|
||||
icon = widget_icon_dir .. 'email-unread.svg'
|
||||
})
|
||||
end
|
||||
|
||||
local notify_new_email = function(count, from, subject)
|
||||
if not startup_show and (tonumber(count) > tonumber(unread_email_count)) then
|
||||
unread_email_count = tonumber(count)
|
||||
|
||||
local message = "From: " .. from ..
|
||||
"\nSubject: " .. subject
|
||||
|
||||
naughty.notification ({
|
||||
app_name = 'Email',
|
||||
title = 'You have a new unread email!',
|
||||
message = message,
|
||||
timeout = 10,
|
||||
icon = widget_icon_dir .. 'email-unread.svg'
|
||||
})
|
||||
else
|
||||
unread_email_count = tonumber(count)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
local set_email_data_tooltip = function(email_data)
|
||||
local email_data = email_data:match('(From:.*)')
|
||||
local counter = "<span font='SF Pro Text Bold 10'>Unread Count: </span>" .. unread_email_count
|
||||
email_details_tooltip:set_markup(counter .. '\n\n' .. email_data)
|
||||
end
|
||||
|
||||
local set_widget_markup = function(from, subject, date, tooltip)
|
||||
|
||||
email_recent_from:set_markup(from:gsub('%\n', ''))
|
||||
email_recent_subject:set_markup(subject:gsub('%\n', ''))
|
||||
email_recent_date:set_markup(date:gsub('%\n', ''))
|
||||
|
||||
if tooltip then
|
||||
email_details_tooltip:set_markup(tooltip)
|
||||
end
|
||||
end
|
||||
|
||||
local set_no_connection_msg = function()
|
||||
set_widget_markup(
|
||||
'message@stderr.sh',
|
||||
'Check network connection!',
|
||||
os.date("%d-%m-%Y %H:%M:%S"),
|
||||
'No internet connection!'
|
||||
)
|
||||
end
|
||||
|
||||
local set_invalid_credentials_msg = function()
|
||||
set_widget_markup(
|
||||
'message@stderr.sh',
|
||||
'Invalid Credentials!',
|
||||
os.date("%d-%m-%Y %H:%M:%S"),
|
||||
'You have an invalid credentials!'
|
||||
)
|
||||
end
|
||||
|
||||
local set_latest_email_data = function(email_data)
|
||||
|
||||
local unread_count = email_data:match('Unread Count: (.-)From:'):sub(1, -2)
|
||||
local recent_from = email_data:match('From: (.-)Subject:'):sub(1, -2)
|
||||
local recent_subject = email_data:match('Subject: (.-)Local Date:'):sub(1, -2)
|
||||
local recent_date = email_data:match('Local Date: (.-)\n')
|
||||
|
||||
recent_from = recent_from:match('<(.*)>') or recent_from:match('<(.*)>') or recent_from
|
||||
|
||||
local count = tonumber(unread_count)
|
||||
if count > 0 and count <= 9 then
|
||||
email_icon_widget.icon:set_image(widget_icon_dir .. 'email-'.. tostring(count) .. '.svg')
|
||||
elseif count > 9 then
|
||||
email_icon_widget.icon:set_image(widget_icon_dir .. 'email-9+.svg')
|
||||
end
|
||||
|
||||
set_widget_markup(
|
||||
recent_from,
|
||||
recent_subject,
|
||||
recent_date
|
||||
)
|
||||
|
||||
notify_new_email(unread_count, recent_from, recent_subject)
|
||||
end
|
||||
|
||||
local set_empty_inbox_msg = function()
|
||||
set_widget_markup(
|
||||
'empty@stdout.sh',
|
||||
'Empty inbox',
|
||||
os.date("%d-%m-%Y %H:%M:%S"),
|
||||
'Empty inbox.'
|
||||
)
|
||||
end
|
||||
|
||||
local fetch_email_data = function()
|
||||
awful.spawn.easy_async_with_shell(
|
||||
fetch_email_command,
|
||||
function(stdout)
|
||||
stdout = gears.string.xml_escape(stdout:sub(1, -2))
|
||||
|
||||
if stdout:match("Temporary failure in name resolution") then
|
||||
set_no_connection_msg()
|
||||
return
|
||||
elseif stdout:match("Invalid credentials") then
|
||||
set_invalid_credentials_msg()
|
||||
return
|
||||
elseif stdout:match("Unread Count: 0") then
|
||||
email_icon_widget.icon:set_image(widget_icon_dir .. 'email.svg')
|
||||
set_empty_inbox_msg()
|
||||
return
|
||||
elseif not stdout:match('Unread Count: (.-)From:') then
|
||||
return
|
||||
elseif not stdout or stdout == '' then
|
||||
return
|
||||
end
|
||||
|
||||
set_latest_email_data(stdout)
|
||||
set_email_data_tooltip(stdout)
|
||||
|
||||
if startup_show then
|
||||
notify_all_unread_email(stdout)
|
||||
startup_show = false
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
local set_missing_secrets_msg = function()
|
||||
set_widget_markup(
|
||||
'message@stderr.sh',
|
||||
'Credentials are missing!',
|
||||
os.date("%d-%m-%Y %H:%M:%S"),
|
||||
'Missing credentials!'
|
||||
)
|
||||
end
|
||||
|
||||
local check_secrets = function()
|
||||
if email_account == '' or app_password == '' or imap_server == '' or port == '' then
|
||||
set_missing_secrets_msg()
|
||||
return
|
||||
else
|
||||
fetch_email_data()
|
||||
end
|
||||
end
|
||||
|
||||
check_secrets()
|
||||
|
||||
local update_widget_timer = gears.timer {
|
||||
timeout = 30,
|
||||
autostart = true,
|
||||
call_now = true,
|
||||
callback = function()
|
||||
check_secrets()
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
email_report:connect_signal(
|
||||
"mouse::enter",
|
||||
function()
|
||||
check_secrets()
|
||||
end
|
||||
)
|
||||
|
||||
awesome.connect_signal(
|
||||
'system::wifi_connected',
|
||||
function()
|
||||
gears.timer.start_new(
|
||||
5,
|
||||
function()
|
||||
check_secrets()
|
||||
end
|
||||
)
|
||||
end
|
||||
)
|
||||
|
||||
return email_report
|