diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-08 12:08:28 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-08 12:08:28 +0200 |
commit | af1f5cd8a2db5c7309bcc1920f11e7be01581137 (patch) | |
tree | f82593403b3054f48f21605a72798ee6f3968677 | |
parent | e43ba7d1a240e3442320ca2c5e7d9c24f6feb2c3 (diff) | |
download | netlink-notify-0.6.1.tar.gz netlink-notify-0.6.1.tar.zst |
add new icon0.6.1
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | netlink-notify-away.svg | 1003 | ||||
-rw-r--r-- | netlink-notify.c | 3 |
3 files changed, 1008 insertions, 1 deletions
@@ -17,6 +17,7 @@ icons: $(CONVERT) netlink-notify-up.png netlink-notify-up.svg $(CONVERT) netlink-notify-down.png netlink-notify-down.svg $(CONVERT) netlink-notify-address.png netlink-notify-address.svg + $(CONVERT) netlink-notify-away.png netlink-notify-away.svg install: $(INSTALL) -D -m0755 netlink-notify $(DESTDIR)/usr/bin/netlink-notify @@ -24,9 +25,11 @@ install: $(INSTALL) -D -m0755 netlink-notify-up.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/status/netlink-notify-up.svg $(INSTALL) -D -m0755 netlink-notify-down.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/status/netlink-notify-down.svg $(INSTALL) -D -m0755 netlink-notify-address.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/status/netlink-notify-address.svg + $(INSTALL) -D -m0755 netlink-notify-away.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/status/netlink-notify-away.svg $(INSTALL) -D -m0755 netlink-notify-up.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-up.png $(INSTALL) -D -m0755 netlink-notify-down.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-down.png $(INSTALL) -D -m0755 netlink-notify-address.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-address.png + $(INSTALL) -D -m0755 netlink-notify-away.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-away.png clean: /bin/rm -f *.o *.png *~ netlink-notify diff --git a/netlink-notify-away.svg b/netlink-notify-away.svg new file mode 100644 index 0000000..24d301b --- /dev/null +++ b/netlink-notify-away.svg @@ -0,0 +1,1003 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<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" + version="1.1" + width="48" + height="48" + id="svg10439" + inkscape:version="0.48.4 r9939" + sodipodi:docname="netlink-notify-address.svg" + inkscape:export-filename="/home/eworm/version_control/netlink-notify/netlink-notify-connected.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <metadata + id="metadata3469"> + <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> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1680" + inkscape:window-height="1000" + id="namedview3467" + showgrid="false" + inkscape:zoom="16.333333" + inkscape:cx="16.316327" + inkscape:cy="24" + inkscape:window-x="0" + inkscape:window-y="31" + inkscape:window-maximized="1" + inkscape:current-layer="svg10439" /> + <defs + id="defs10441"> + <linearGradient + x1="41.829601" + y1="48.540501" + x2="6.1704001" + y2="-0.54009998" + id="SVGID_1_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8539" + style="stop-color:#9b9b9b;stop-opacity:1" + offset="0" /> + <stop + id="stop8541" + style="stop-color:#ececec;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="24" + y1="35.9175" + x2="24" + y2="12.083" + id="path3499_1_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8556" + style="stop-color:#1f1f1f;stop-opacity:1" + offset="0" /> + <stop + id="stop8558" + style="stop-color:#000000;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="22.382799" + y1="33.566898" + x2="22.382799" + y2="30.768101" + id="rect3503_2_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8564" + style="stop-color:#ffffff;stop-opacity:1" + offset="0.4725" /> + <stop + id="stop8566" + style="stop-color:#737373;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="28.7358" + y1="33.672401" + x2="28.7358" + y2="30.660601" + id="rect3505_1_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8570" + style="stop-color:#ffffff;stop-opacity:1" + offset="0.4725" /> + <stop + id="stop8572" + style="stop-color:#737373;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="25.5581" + y1="33.672401" + x2="25.5581" + y2="30.660601" + id="rect3507_1_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8576" + style="stop-color:#ffffff;stop-opacity:1" + offset="0.4725" /> + <stop + id="stop8578" + style="stop-color:#737373;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="19.205099" + y1="33.566898" + x2="19.205099" + y2="30.768101" + id="rect3509_1_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8582" + style="stop-color:#ffffff;stop-opacity:1" + offset="0.4725" /> + <stop + id="stop8584" + style="stop-color:#737373;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="16.029301" + y1="33.566898" + x2="16.029301" + y2="30.768101" + id="rect3503_3_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8588" + style="stop-color:#ffffff;stop-opacity:1" + offset="0.4725" /> + <stop + id="stop8590" + style="stop-color:#737373;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + x1="31.913601" + y1="33.672401" + x2="31.913601" + y2="30.660601" + id="rect3512_1_" + gradientUnits="userSpaceOnUse"> + <stop + id="stop8594" + style="stop-color:#ffffff;stop-opacity:1" + offset="0.4725" /> + <stop + id="stop8596" + style="stop-color:#737373;stop-opacity:1" + offset="1" /> + </linearGradient> + <radialGradient + r="8.0625" + fy="19.03125" + fx="11.25" + cy="19.03125" + cx="11.25" + gradientTransform="matrix(1,0,0,0.282946,0,13.64644)" + gradientUnits="userSpaceOnUse" + id="radialGradient4354" + xlink:href="#linearGradient5105" + inkscape:collect="always" /> + <linearGradient + id="linearGradient5105" + inkscape:collect="always"> + <stop + id="stop5107" + offset="0" + style="stop-color:black;stop-opacity:1;" /> + <stop + id="stop5109" + offset="1" + style="stop-color:black;stop-opacity:0;" /> + </linearGradient> + <linearGradient + gradientTransform="translate(-2.5e-7,3.3875e-6)" + gradientUnits="userSpaceOnUse" + y2="40.923775" + x2="23.964657" + y1="10.91593" + x1="23.964657" + id="linearGradient3172" + xlink:href="#linearGradient3166" + inkscape:collect="always" /> + <linearGradient + id="linearGradient3166"> + <stop + id="stop3168" + offset="0" + style="stop-color:#97bf60;stop-opacity:1;" /> + <stop + id="stop3170" + offset="1" + style="stop-color:#709937;stop-opacity:1;" /> + </linearGradient> + <linearGradient + gradientTransform="matrix(0,-1.004639,1,0,-1.9921253,51.044054)" + gradientUnits="userSpaceOnUse" + y2="34.731434" + x2="7.9313831" + y1="15.195395" + x1="43.129921" + id="linearGradient5315" + xlink:href="#linearGradient5113" + inkscape:collect="always" /> + <linearGradient + id="linearGradient5113" + inkscape:collect="always"> + <stop + id="stop5115" + offset="0" + style="stop-color:white;stop-opacity:1;" /> + <stop + id="stop5117" + offset="1" + style="stop-color:white;stop-opacity:0;" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5113" + id="linearGradient4700" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0,-0.80371125,0.80000005,0,19.526458,36.135587)" + x1="43.129921" + y1="15.195395" + x2="7.9313831" + y2="34.731434" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3166" + id="linearGradient4703" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.80000005,0,0,0.80000005,21.120158,-4.699656)" + x1="23.964657" + y1="10.91593" + x2="23.964657" + y2="40.923775" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient5105" + id="radialGradient4706" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,0.282946,0,13.64644)" + cx="11.25" + cy="19.03125" + fx="11.25" + fy="19.03125" + r="8.0625" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3166" + id="linearGradient5480" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.80000005,0,0,0.80000005,21.120158,-4.699656)" + x1="23.964657" + y1="10.91593" + x2="23.964657" + y2="40.923775" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5113" + id="linearGradient5482" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0,-0.80371125,0.80000005,0,19.526458,36.135587)" + x1="43.129921" + y1="15.195395" + x2="7.9313831" + y2="34.731434" /> + <linearGradient + id="linearGradient2378"> + <stop + id="stop2380" + offset="0" + style="stop-color:#ffffff;stop-opacity:1;" /> + <stop + style="stop-color:#fefede;stop-opacity:0.91836733;" + offset="0.25" + id="stop4146" /> + <stop + style="stop-color:#f5f328;stop-opacity:1;" + offset="0.5" + id="stop2386" /> + <stop + id="stop2382" + offset="1" + style="stop-color:#f5f32d;stop-opacity:0.12234043;" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient2378" + id="radialGradient4835" + gradientUnits="userSpaceOnUse" + cx="38.658855" + cy="9.3411446" + fx="38.658855" + fy="9.3411446" + r="8.341651" /> + <linearGradient + id="linearGradient47870"> + <stop + id="stop47872" + offset="0" + style="stop-color:#000000;stop-opacity:0" /> + <stop + id="stop47878" + offset="0.5" + style="stop-color:#000000;stop-opacity:1" /> + <stop + id="stop47874" + offset="1" + style="stop-color:#000000;stop-opacity:0" /> + </linearGradient> + <linearGradient + id="linearGradient51765"> + <stop + id="stop51767" + offset="0" + style="stop-color:#000000;stop-opacity:1" /> + <stop + id="stop51769" + offset="1" + style="stop-color:#000000;stop-opacity:0" /> + </linearGradient> + <linearGradient + id="linearGradient2781"> + <stop + id="stop2783" + offset="0" + style="stop-color:#d3d7cf;stop-opacity:1" /> + <stop + id="stop2785" + offset="1" + style="stop-color:#eeeeec;stop-opacity:1" /> + </linearGradient> + <linearGradient + id="linearGradient3674"> + <stop + id="stop3676" + offset="0" + style="stop-color:#555753;stop-opacity:1" /> + <stop + id="stop3678" + offset="1" + style="stop-color:#888a85;stop-opacity:1" /> + </linearGradient> + <linearGradient + id="linearGradient3690"> + <stop + id="stop3692" + offset="0" + style="stop-color:white;stop-opacity:1;" /> + <stop + id="stop3694" + offset="1" + style="stop-color:white;stop-opacity:0.46875" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient47870" + id="linearGradient2282" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9788196,0,0,0.7154223,-8.5008021,52.112719)" + x1="32.084972" + y1="-14.402173" + x2="32.084972" + y2="-5.5633383" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient51765" + id="radialGradient2284" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.9576392,-8.146468e-7,6.6614241e-7,1.4565793,-59.017557,62.738067)" + cx="51.4375" + cy="-12.203125" + fx="51.4375" + fy="-12.203125" + r="2.171875" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient51765" + id="radialGradient2286" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-1.9576392,-9.2540676e-8,-1.2888861e-7,1.4565793,110.01781,62.73803)" + cx="51.4375" + cy="-12.203125" + fx="51.4375" + fy="-12.203125" + r="2.171875" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3690" + id="linearGradient2289" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2605424,0,0,1.2058553,-7.4733927,-4.9459439)" + x1="9.5" + y1="16.26436" + x2="9.5" + y2="13.408723" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3674" + id="linearGradient2292" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2446306,0,0,1.2707947,-7.0741541,-5.3017616)" + x1="23.069359" + y1="6.7993021" + x2="23.069359" + y2="12.403291" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient2781" + id="linearGradient2295" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2446306,0,0,1.1767765,-7.0741541,-3.982654)" + x1="24.925514" + y1="40.000107" + x2="25.000017" + y2="18.787563" /> + <linearGradient + gradientUnits="userSpaceOnUse" + id="rect3512_1_-8" + y2="30.660601" + x2="31.913601" + y1="33.672401" + x1="31.913601"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop8594-6" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop8596-7" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + id="rect3503_3_-1" + y2="30.768101" + x2="16.029301" + y1="33.566898" + x1="16.029301"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop8588-7" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop8590-9" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + id="rect3509_1_-8" + y2="30.768101" + x2="19.205099" + y1="33.566898" + x1="19.205099"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop8582-5" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop8584-5" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + id="rect3507_1_-3" + y2="30.660601" + x2="25.5581" + y1="33.672401" + x1="25.5581"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop8576-5" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop8578-5" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + id="rect3505_1_-4" + y2="30.660601" + x2="28.7358" + y1="33.672401" + x1="28.7358"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop8570-6" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop8572-4" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + id="rect3503_2_-2" + y2="30.768101" + x2="22.382799" + y1="33.566898" + x1="22.382799"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop8564-7" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop8566-6" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + id="path3499_1_-0" + y2="12.083" + x2="24" + y1="35.9175" + x1="24"> + <stop + offset="0" + style="stop-color:#1f1f1f;stop-opacity:1" + id="stop8556-5" /> + <stop + offset="1" + style="stop-color:#000000;stop-opacity:1" + id="stop8558-6" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + id="SVGID_1_-4" + y2="-0.54009998" + x2="6.1704001" + y1="48.540501" + x1="41.829601"> + <stop + offset="0" + style="stop-color:#9b9b9b;stop-opacity:1" + id="stop8539-1" /> + <stop + offset="1" + style="stop-color:#ececec;stop-opacity:1" + id="stop8541-8" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient2378" + id="radialGradient4819" + gradientUnits="userSpaceOnUse" + cx="38.658855" + cy="9.3411446" + fx="38.658855" + fy="9.3411446" + r="8.341651" /> + <radialGradient + r="10.31934" + fy="35.127438" + fx="23.070683" + cy="35.127438" + cx="23.070683" + gradientTransform="matrix(0.914812,0.01265023,-0.00821502,0.213562,2.253914,27.18889)" + gradientUnits="userSpaceOnUse" + id="radialGradient2177" + xlink:href="#linearGradient2091" + inkscape:collect="always" /> + <linearGradient + id="linearGradient2091"> + <stop + id="stop2093" + offset="0" + style="stop-color:#000000;stop-opacity:1;" /> + <stop + id="stop2095" + offset="1" + style="stop-color:#000000;stop-opacity:0;" /> + </linearGradient> + <radialGradient + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-2.1314195e-8,2.5479117,-4.8841578,-2.2328085e-8,144.16406,-10.748097)" + r="18.500046" + fy="24.500458" + fx="6.5734448" + cy="24.500458" + cx="6.5734448" + id="radialGradient7958" + xlink:href="#linearGradient3165" + inkscape:collect="always" /> + <linearGradient + id="linearGradient3165"> + <stop + id="stop3167" + offset="0" + style="stop-color:#e78181;stop-opacity:1" /> + <stop + style="stop-color:#e15f5f;stop-opacity:1" + offset="0.25" + id="stop8599" /> + <stop + id="stop8601" + offset="0.68000001" + style="stop-color:#c22f2f;stop-opacity:1" /> + <stop + id="stop3169" + offset="1" + style="stop-color:#a40000;stop-opacity:1" /> + </linearGradient> + <linearGradient + gradientUnits="userSpaceOnUse" + y2="43.000458" + x2="23.099995" + y1="6.0004601" + x1="23.172504" + id="linearGradient7961" + xlink:href="#linearGradient7955" + inkscape:collect="always" /> + <linearGradient + id="linearGradient7955" + inkscape:collect="always"> + <stop + id="stop7957" + offset="0" + style="stop-color:#c22f2f;stop-opacity:1" /> + <stop + id="stop7959" + offset="1" + style="stop-color:#a40000;stop-opacity:1" /> + </linearGradient> + <linearGradient + y2="36.296539" + x2="12.717501" + y1="17.041941" + x1="31.972097" + gradientTransform="matrix(1.0494758,-1.0494758,1.0494758,1.0494758,-26.939092,23.169297)" + gradientUnits="userSpaceOnUse" + id="linearGradient2181" + xlink:href="#linearGradient7916" + inkscape:collect="always" /> + <linearGradient + id="linearGradient7916"> + <stop + id="stop7918" + offset="0" + style="stop-color:#ffffff;stop-opacity:1;" /> + <stop + id="stop7920" + offset="1.0000000" + style="stop-color:#ffffff;stop-opacity:0" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient7916" + id="linearGradient3456" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.0494758,-1.0494758,1.0494758,1.0494758,-25.714601,18.169066)" + x1="31.972097" + y1="17.041941" + x2="12.717501" + y2="36.296539" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3165" + id="radialGradient3459" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-2.1314195e-8,2.5479117,-4.8841578,-2.2328085e-8,145.38855,-15.748328)" + cx="6.5734448" + cy="24.500458" + fx="6.5734448" + fy="24.500458" + r="18.500046" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient7955" + id="linearGradient3461" + gradientUnits="userSpaceOnUse" + x1="23.172504" + y1="6.0004601" + x2="23.099995" + y2="43.000458" + gradientTransform="translate(1.2244906,-5.000231)" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3165" + id="radialGradient3468" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-2.1314195e-8,2.5479117,-4.8841578,-2.2328085e-8,145.38855,-15.748328)" + cx="6.5734448" + cy="24.500458" + fx="6.5734448" + fy="24.500458" + r="18.500046" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient7955" + id="linearGradient3470" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(1.2244906,-5.000231)" + x1="23.172504" + y1="6.0004601" + x2="23.099995" + y2="43.000458" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient7916" + id="linearGradient3472" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.0494758,-1.0494758,1.0494758,1.0494758,-25.714601,18.169066)" + x1="31.972097" + y1="17.041941" + x2="12.717501" + y2="36.296539" /> + </defs> + <g + id="g3474"> + <g + transform="matrix(1.4596033,0,0,1.4596033,-35.449859,-64.333531)" + id="g2721" + inkscape:label="Base" + style="display:inline" /> + <g + transform="matrix(0.83338541,0,0,0.83338541,0,7.9975003)" + id="layer1"> + <g + style="opacity:0.3" + id="Layer_2"> + <g + id="g8529"> + <g + id="g8531"> + <path + inkscape:connector-curvature="0" + id="path8533" + d="M 45,0 H 3 C 1.345,0 0,1.345 0,3 v 42 c 0,1.655 1.345,3 3,3 h 42 c 1.652,0 2.997,-1.345 2.997,-3 V 3 C 47.998,1.345 46.653,0 45,0 z m 1,45 c 0,0.553 -0.447,1 -1,1 H 3 C 2.448,46 2,45.553 2,45 V 3 C 2,2.448 2.448,2 3,2 h 42 c 0.553,0 1,0.448 1,1 v 42 z" /> + </g> + </g> + </g> + <g + id="Layer_4"> + <g + id="g8536"> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10375" + y2="-0.54009998" + x2="6.1704001" + y1="48.540501" + x1="41.829601"> + <stop + offset="0" + style="stop-color:#9b9b9b;stop-opacity:1" + id="stop10377" /> + <stop + offset="1" + style="stop-color:#ececec;stop-opacity:1" + id="stop10379" /> + </linearGradient> + <path + inkscape:connector-curvature="0" + style="fill:url(#SVGID_1_)" + id="path8543" + d="m 46,45 c 0,0.553 -0.447,1 -1,1 H 3 C 2.448,46 2,45.553 2,45 V 3 C 2,2.448 2.448,2 3,2 h 42 c 0.553,0 1,0.448 1,1 v 42 z" /> + </g> + </g> + <g + id="Layer_5"> + <g + style="opacity:0.4" + id="g8546"> + <g + id="g8548"> + <path + inkscape:connector-curvature="0" + style="fill:#ffffff" + id="path8550" + d="M 45,2 H 3 C 2.448,2 2,2.448 2,3 v 42 c 0,0.553 0.448,1 1,1 h 42 c 0.553,0 1,-0.447 1,-1 V 3 C 46,2.448 45.552,2 45,2 z m 0,43.001 H 3 L 3.001,2.999 H 45 v 42.002 z" /> + </g> + </g> + </g> + <g + id="Layer_3"> + <path + inkscape:connector-curvature="0" + style="opacity:0.4;fill:#ffffff" + id="path3499_3_" + d="m 21.028,13.083 v 1.986 H 15.07 v 3.973 H 11.096 V 36.918 H 38.904 V 19.042 h -3.971 v -3.973 h -5.961 v -1.986 h -7.944 z" /> + </g> + <g + id="Layer_1"> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10389" + y2="12.083" + x2="24" + y1="35.9175" + x1="24"> + <stop + offset="0" + style="stop-color:#1f1f1f;stop-opacity:1" + id="stop10391" /> + <stop + offset="1" + style="stop-color:#000000;stop-opacity:1" + id="stop10393" /> + </linearGradient> + <path + inkscape:connector-curvature="0" + style="fill:url(#path3499_1_)" + id="path3499_2_" + d="m 20.028,12.083 v 1.986 H 14.07 v 3.973 H 10.096 V 35.918 H 37.904 V 18.042 h -3.971 v -3.973 h -5.961 v -1.986 h -7.944 z" /> + <g + id="g8561"> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10397" + y2="30.768101" + x2="22.382799" + y1="33.566898" + x1="22.382799"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop10399" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop10401" /> + </linearGradient> + <rect + style="fill:url(#rect3503_2_)" + id="rect3503_4_" + y="30.768" + x="21.612" + height="2.799" + width="1.541" /> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10404" + y2="30.660601" + x2="28.7358" + y1="33.672401" + x1="28.7358"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop10406" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop10408" /> + </linearGradient> + <rect + style="fill:url(#rect3505_1_)" + id="rect3505_2_" + y="30.660999" + x="27.908001" + height="3.0120001" + width="1.6569999" /> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10411" + y2="30.660601" + x2="25.5581" + y1="33.672401" + x1="25.5581"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop10413" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop10415" /> + </linearGradient> + <rect + style="fill:url(#rect3507_1_)" + id="rect3507_2_" + y="30.660999" + x="24.731001" + height="3.0120001" + width="1.655" /> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10418" + y2="30.768101" + x2="19.205099" + y1="33.566898" + x1="19.205099"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop10420" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop10422" /> + </linearGradient> + <rect + style="fill:url(#rect3509_1_)" + id="rect3509_2_" + y="30.768" + x="18.436001" + height="2.799" + width="1.54" /> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10425" + y2="30.768101" + x2="16.029301" + y1="33.566898" + x1="16.029301"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop10427" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop10429" /> + </linearGradient> + <rect + style="fill:url(#rect3503_3_)" + id="rect3503_1_" + y="30.768" + x="15.259" + height="2.799" + width="1.541" /> + <linearGradient + gradientUnits="userSpaceOnUse" + id="linearGradient10432" + y2="30.660601" + x2="31.913601" + y1="33.672401" + x1="31.913601"> + <stop + offset="0.4725" + style="stop-color:#ffffff;stop-opacity:1" + id="stop10434" /> + <stop + offset="1" + style="stop-color:#737373;stop-opacity:1" + id="stop10436" /> + </linearGradient> + <rect + style="fill:url(#rect3512_1_)" + id="rect3512_2_" + y="30.660999" + x="31.086" + height="3.0120001" + width="1.654" /> + </g> + </g> + </g> + <g + transform="matrix(0.7567568,0,0,0.7567568,14.532816,-0.75693025)" + id="g3464"> + <path + inkscape:connector-curvature="0" + style="font-size:59.90107727px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:url(#radialGradient3468);fill-opacity:1;stroke:url(#linearGradient3470);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:Bitstream Vera Sans" + d="m 43.724491,30.000228 -10.50009,-11 10.500001,-10 L 36.224401,1.5002292 25.724402,12.000228 15.224403,1.5002292 7.7244039,9.000228 l 10.4999981,10 -10.4999981,11 7.4999991,7.499999 10.499999,-10.5 9.5,10.5 8.500089,-7.499999 z" + id="text1314" + sodipodi:nodetypes="ccccccccccccc" /> + <path + inkscape:connector-curvature="0" + style="font-size:59.90107727px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;opacity:0.4;fill:none;stroke:url(#linearGradient3472);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:Bitstream Vera Sans" + d="m 42.224491,30.000228 -10.50009,-11 10.5,-10 -6,-5.9999998 L 25.724711,13.500228 15.224403,3.0002282 9.2244029,9.000228 l 10.4999991,10 -10.4999991,11 6.0000001,6 10.499999,-10.5 9.500089,10.499541 7,-5.999541 z" + id="path7076" + sodipodi:nodetypes="ccccccccccccc" /> + </g> + </g> +</svg> diff --git a/netlink-notify.c b/netlink-notify.c index 0e88458..f22c5b6 100644 --- a/netlink-notify.c +++ b/netlink-notify.c @@ -39,6 +39,7 @@ #define ICON_NETWORK_ADDRESS "netlink-notify-address" #define ICON_NETWORK_UP "netlink-notify-up" #define ICON_NETWORK_DOWN "netlink-notify-down" +#define ICON_NETWORK_AWAY "netlink-notify-away" #define TEXT_TOPIC "Netlink Notification" #define TEXT_NEWLINK "Interface <b>%s</b> is <b>%s</b>." @@ -351,7 +352,7 @@ static int msg_handler (struct sockaddr_nl *nl, struct nlmsghdr *msg) { case RTM_DELLINK: notifystr = newstr_away(TEXT_DELLINK, name[ifi->ifi_index]); - icon = ICON_NETWORK_DOWN; + icon = ICON_NETWORK_AWAY; free_chain(&addresses_seen[ifi->ifi_index]); free(name[ifi->ifi_index]); |