diff options
author | Michal Minar <miminar@redhat.com> | 2015-10-11 08:50:23 +0200 |
---|---|---|
committer | Michal Minář <mic.liamg@gmail.com> | 2016-12-12 16:29:56 +0100 |
commit | 685f448b31ca10afc7422c8d32eb8c238effc113 (patch) | |
tree | 652c9ac2bf47bf4089035cfb9fb920d7138d86cb | |
parent | 4571e822a32c1f04fd336c10cf696679fd42b093 (diff) | |
download | xminad-miminarnb.tar.gz xminad-miminarnb.tar.xz xminad-miminarnb.zip |
xmobar: Added Home disk usagemiminarnb
And Music disk usage
TODO: make docker disk usage work
Signed-off-by: Michal Minar <miminar@redhat.com>
-rw-r--r-- | config/xmobar.config | 10 | ||||
-rw-r--r-- | pic/docker.svg | 1 | ||||
-rw-r--r-- | pic/home.svg | 2 | ||||
-rw-r--r-- | pic/music-directory.svg | 209 |
4 files changed, 220 insertions, 2 deletions
diff --git a/config/xmobar.config b/config/xmobar.config index f51470a..cf1f9bd 100644 --- a/config/xmobar.config +++ b/config/xmobar.config @@ -24,8 +24,14 @@ Config { font = "xft:Monospace:size=10" , Run Memory ["-t","<action=`mate-system-monitor --show-resources-tab`>\ \<icon=memory.xpm/> <usedipat></action>", "--", "--used-icon-pattern", "<icon=bar-%%.xpm/>"] 10 - , Run DiskU [("/", "<action=`baobab` button=1>\ - \<icon=disk-usage.xpm/> / <usedipat></action>")] + , Run DiskU [ ("/", "<action=`baobab` button=1>\ + \<icon=disk-usage.xpm/> / <usedipat></action>") + , ("/home", + "<icon=home.xpm/> <usedipat>") + , ("/home/miminar/Music", + "<icon=music-directory.xpm/> <usedipat>") + , ("/dev/2ndary/docker-data", + "<icon=docker.xpm/> <usedipat>")] ["--", "--used-icon-pattern", "<icon=bar-%%.xpm/>"] 20 ] , sepChar = "%" diff --git a/pic/docker.svg b/pic/docker.svg new file mode 100644 index 0000000..6839515 --- /dev/null +++ b/pic/docker.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="329.4" height="213.1" viewBox="0 0 329.4 213.1"><path fill-rule="evenodd" clip-rule="evenodd" fill="#3A4E55" d="M171.1 67.3h33.7v34.4h17c7.9 0 15.9-1.4 23.4-3.9 3.7-1.2 7.8-3 11.4-5.1-4.8-6.2-7.2-14-7.9-21.8-1-10.5 1.1-24.2 8.3-32.4l3.5-4.1 4.2 3.4c10.6 8.5 19.5 20.4 21.1 34 12.8-3.8 27.8-2.9 39 3.6l4.6 2.7-2.4 4.7c-9.5 18.6-29.4 24.3-48.9 23.3C249 178.7 185.5 213 108.6 213c-39.7 0-76.2-14.9-96.9-50.1l-.3-.6-3-6.2c-7-15.5-9.3-32.5-7.8-49.5l.5-5.1h28.8V67.3h33.6V33.7h67.3V0h40.4v67.3z"/><path fill="#08AADA" d="M280.1 80c2.3-17.5-10.9-31.3-19-37.8-9.4 10.8-10.8 39.3 3.9 51.2-8.2 7.3-25.5 13.9-43.2 13.9H6.1c-1.7 18.5 1.5 35.5 8.9 50.1l2.5 4.5c1.6 2.6 3.3 5.2 5.1 7.6 8.9.6 17 .8 24.5.6 14.7-.3 26.7-2.1 35.8-5.2 1.4-.5 2.8.2 3.3 1.6.5 1.4-.2 2.8-1.6 3.3-1.2.4-2.5.8-3.8 1.2-7.2 2-14.8 3.4-24.7 4 .6 0-.6.1-.6.1-.3 0-.8.1-1.1.1-3.9.2-8.1.3-12.4.3-4.7 0-9.3-.1-14.5-.4l-.1.1c18 20.2 46.1 32.3 81.3 32.3 74.5 0 137.8-33 165.8-107.2 19.9 2 39-3 47.6-20-14-8-31.8-5.4-42-.3z"/><path fill="#2BB8EB" d="M280.1 80c2.3-17.5-10.9-31.3-19-37.8-9.4 10.8-10.8 39.3 3.9 51.2-8.2 7.3-25.5 13.9-43.2 13.9h-203c-.9 28.3 9.6 49.8 28.2 62.8 14.7-.3 26.7-2.1 35.8-5.2 1.4-.5 2.8.2 3.3 1.6.5 1.4-.2 2.8-1.6 3.3-1.2.4-2.5.8-3.8 1.2-7.2 2-15.5 3.6-25.4 4.2l-.2-.2c25.4 13 62.1 13 104.3-3.2 47.3-18.2 91.3-52.8 122-92.4-.4.2-.9.4-1.3.6z"/><path fill="#088CB9" d="M6.5 129.8c1.3 9.9 4.2 19.2 8.5 27.6l2.5 4.5c1.6 2.6 3.3 5.2 5.1 7.6 8.9.6 17 .8 24.5.6 14.7-.3 26.7-2.1 35.8-5.2 1.4-.5 2.8.2 3.3 1.6.5 1.4-.2 2.8-1.6 3.3-1.2.4-2.5.8-3.8 1.2-7.2 2-15.4 3.5-25.3 4.1h-1.3c-3.9.2-8.1.4-12.4.4-4.7 0-9.5-.1-14.7-.4 18 20.2 46.2 32.4 81.5 32.4 63.8 0 119.3-24.2 151.5-77.7H6.5z"/><path fill="#069BC6" d="M20.8 129.8c3.8 17.4 13 31 26.3 40.3 14.7-.3 26.7-2.1 35.8-5.2 1.4-.5 2.8.2 3.3 1.6.5 1.4-.2 2.8-1.6 3.3-1.2.4-2.5.8-3.8 1.2-7.2 2-15.6 3.5-25.5 4.1 25.4 13 62 12.8 104.2-3.4 25.5-9.8 50.1-24.4 72.1-42H20.8z"/><g fill-rule="evenodd" clip-rule="evenodd"><path fill="#00ACD2" d="M59.8 75.3h2.3v24.3h-2.3V75.3zm-4.5 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.3 0h2.3v24.3h-2.3V75.3zm-2.5-2.4h29.2v29.2H35.3V72.9zM93.4 41.7h2.3V66h-2.3V41.7zm-4.4 0h2.4V66H89V41.7zm-4.4 0H87V66h-2.4V41.7zm-4.4 0h2.4V66h-2.4V41.7zm-4.5 0h2.4V66h-2.4V41.7zm-4.3 0h2.3V66h-2.3V41.7zM69 39.3h29.2v29.2H69V39.3z"/><path fill="#26C2EE" d="M93.4 75.3h2.3v24.3h-2.3V75.3zm-4.4 0h2.4v24.3H89V75.3zm-4.4 0H87v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.5 0h2.4v24.3h-2.4V75.3zm-4.3 0h2.3v24.3h-2.3V75.3zM69 72.9h29.2v29.2H69V72.9z"/><path fill="#00ACD2" d="M127.1 75.3h2.3v24.3h-2.3V75.3zm-4.5 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.3 0h2.3v24.3h-2.3V75.3zm-2.5-2.4h29.2v29.2h-29.2V72.9z"/><path fill="#26C2EE" d="M127.1 41.7h2.3V66h-2.3V41.7zm-4.5 0h2.4V66h-2.4V41.7zm-4.4 0h2.4V66h-2.4V41.7zm-4.4 0h2.4V66h-2.4V41.7zm-4.4 0h2.4V66h-2.4V41.7zm-4.3 0h2.3V66h-2.3V41.7zm-2.5-2.4h29.2v29.2h-29.2V39.3zM160.7 75.3h2.3v24.3h-2.3V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.5 0h2.4v24.3H143V75.3zm-4.3 0h2.3v24.3h-2.3V75.3zm-2.4-2.4h29.2v29.2h-29.2V72.9z"/><path fill="#00ACD2" d="M160.7 41.7h2.3V66h-2.3V41.7zm-4.4 0h2.4V66h-2.4V41.7zm-4.4 0h2.4V66h-2.4V41.7zm-4.4 0h2.4V66h-2.4V41.7zm-4.5 0h2.4V66H143V41.7zm-4.3 0h2.3V66h-2.3V41.7zm-2.4-2.4h29.2v29.2h-29.2V39.3z"/><path fill="#26C2EE" d="M160.7 8h2.3v24.3h-2.3V8zm-4.4 0h2.4v24.3h-2.4V8zm-4.4 0h2.4v24.3h-2.4V8zm-4.4 0h2.4v24.3h-2.4V8zM143 8h2.4v24.3H143V8zm-4.3 0h2.3v24.3h-2.3V8zm-2.4-2.4h29.2v29.2h-29.2V5.6z"/><path fill="#00ACD2" d="M194.4 75.3h2.3v24.3h-2.3V75.3zm-4.5 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.4 0h2.4v24.3h-2.4V75.3zm-4.3 0h2.3v24.3h-2.3V75.3zm-2.5-2.4h29.2v29.2h-29.2V72.9z"/></g><path fill-rule="evenodd" clip-rule="evenodd" fill="#D4EDF1" d="M96.3 149.4c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#3A4E55" d="M96.3 151.6c.7 0 1.4.1 2.1.4-.7.4-1.2 1.2-1.2 2 0 1.3 1.1 2.4 2.4 2.4.9 0 1.7-.5 2.1-1.2.3.7.4 1.4.4 2.2 0 3.2-2.6 5.8-5.8 5.8-3.2 0-5.8-2.6-5.8-5.8.1-3.2 2.6-5.8 5.8-5.8"/><path fill="#C0DBE0" d="M117.7 207.3C97.8 197.9 86.8 185 80.8 171c-7.4 2.1-16.3 3.5-26.6 4-3.9.2-8 .3-12.3.3-5 0-10.2-.1-15.7-.4 18.3 18.3 40.8 32.3 82.4 32.6 3 0 6.1 0 9.1-.2z"/><path fill="#D4EDF1" d="M88.2 183.9c-2.8-3.7-5.4-8.4-7.4-12.9-7.4 2.1-16.3 3.5-26.6 4 7 3.9 17.2 7.5 34 8.9z"/></svg>
\ No newline at end of file diff --git a/pic/home.svg b/pic/home.svg new file mode 100644 index 0000000..1e5d0c1 --- /dev/null +++ b/pic/home.svg @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="280" height="280" preserveAspectRatio="xMinYMin meet" viewBox="0 0 280 280" id="svg"><title id="title">Home Icon</title><defs id="defs"/><metadata id="metadata"><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>Home Icon</dc:title><cc:license rdf:resource="http://creativecommons.org/licenses/by/4.0/"/><dc:date>May 2015</dc:date><dc:creator><cc:Agent><dc:title>Charles Keepax</dc:title></cc:Agent></dc:creator><dc:description>A free set of SVG website icons.</dc:description><dc:source>http://www.charles-keepax.co.uk/image/home.svg</dc:source><dc:identifier>http://www.charles-keepax.co.uk/image/home.svg</dc:identifier></cc:Work><cc:License rdf:about="http://creativecommons.org/licenses/by/4.0/"><cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/><cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/><cc:requires rdf:resource="http://creativecommons.org/ns#Notice"/><cc:requires rdf:resource="http://creativecommons.org/ns#Attribution"/><cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/></cc:License></rdf:RDF></metadata><path d="M 45,260 l 190,0 l 0,-155 l -95,-75 l -95,75 l 0,155" id="housefill" style="fill:#f3efe3;fill-opacity:1;stroke:none;"/><path d="M 55,265 l 185,0 l 0,-150 m 30,20 l -130,-115 l -130,115 m 30,-20 l 0,150 l 15,0" id="house" style="fill:none;stroke:#625422;stroke-width:30;stroke-linejoin:miter;stroke-miterlimit:15;stroke-opacity:1"/><rect width="70" height="110" rx="0" ry="0" x="105" y="148" id="door" style="fill:#9b8c51;fill-opacity:1;stroke:#625422;stroke-width:16;stroke-linejoin:miter;stroke-miterlimit:15;stroke-opacity:1"/></svg>
\ No newline at end of file diff --git a/pic/music-directory.svg b/pic/music-directory.svg new file mode 100644 index 0000000..abb37eb --- /dev/null +++ b/pic/music-directory.svg @@ -0,0 +1,209 @@ +<?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" + width="64" + height="64" + id="svg5453" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="folder-music.svg"> + <defs + id="defs5455"> + <linearGradient + id="linearGradient4233"> + <stop + style="stop-color:#494e54;stop-opacity:1;" + offset="0" + id="stop4235" /> + <stop + style="stop-color:#4e545b;stop-opacity:0;" + offset="1" + id="stop4237" /> + </linearGradient> + <linearGradient + id="linearGradient4232"> + <stop + id="stop4234" + offset="0" + style="stop-color:#555b5f;stop-opacity:1;" /> + <stop + id="stop4236" + offset="1" + style="stop-color:#6c747c;stop-opacity:1;" /> + </linearGradient> + <linearGradient + id="linearGradient4172"> + <stop + style="stop-color:#696e7f;stop-opacity:1;" + offset="0" + id="stop4174" /> + <stop + style="stop-color:#a8adb8;stop-opacity:1;" + offset="1" + id="stop4176" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4172" + id="linearGradient4178" + x1="414.57144" + y1="541.79797" + x2="414.57144" + y2="499.798" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,0.99967455,0,0.17645)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4232" + id="linearGradient4182" + gradientUnits="userSpaceOnUse" + x1="414.57144" + y1="523.79797" + x2="414.57144" + y2="505.798" + gradientTransform="matrix(1,0,0,0.99954446,0,-15.75672)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4233" + id="linearGradient4239" + x1="384.57144" + y1="477.798" + x2="404.57144" + y2="497.798" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,1.2e-4)" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="11.313708" + inkscape:cx="5.7568741" + inkscape:cy="8.4534507" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" + inkscape:window-width="1871" + inkscape:window-height="1056" + inkscape:window-x="49" + inkscape:window-y="24" + inkscape:window-maximized="1" + inkscape:showpageshadow="false" + borderlayer="true" + showguides="true"> + <sodipodi:guide + position="6.0000117,57.999996" + orientation="51.999969,0" + id="guide4097" /> + <sodipodi:guide + position="6.0000117,6.0000264" + orientation="0,52" + id="guide4099" /> + <sodipodi:guide + position="58.000012,6.0000264" + orientation="-51.999969,0" + id="guide4101" /> + <sodipodi:guide + position="58.000012,57.999996" + orientation="0,-52" + id="guide4103" /> + <sodipodi:guide + position="3.0000117,60.999996" + orientation="57.999969,0" + id="guide4105" /> + <sodipodi:guide + position="3.0000117,3.0000264" + orientation="0,58" + id="guide4107" /> + <sodipodi:guide + position="61.000012,3.0000264" + orientation="-57.999969,0" + id="guide4109" /> + <sodipodi:guide + position="61.000012,60.999996" + orientation="0,-58" + id="guide4111" /> + <inkscape:grid + type="xygrid" + id="grid4115" /> + </sodipodi:namedview> + <metadata + id="metadata5458"> + <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> + <g + inkscape:label="Capa 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-384.57143,-483.798)"> + <path + style="fill:url(#linearGradient4182);fill-opacity:1;stroke:none" + d="m 388.57143,489.79812 0,5 0,22 c 0,0.55373 0.446,1 1,1 l 54,0 c 0.55399,0 1,-0.44627 1,-1 l 0,-21.99023 c 0,-0.003 -0.002,-0.006 -0.002,-0.01 l 0.002,0 0,-1 -28,0 -3,-4 -25,0 z" + id="rect4180" + inkscape:connector-curvature="0" /> + <path + style="fill:url(#linearGradient4239);fill-opacity:1.0;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 388.57143,489.79812 26,26 1,1 29,-16.74316 0,-6.25684 -28,0 -3,-4 z" + id="path4230" + inkscape:connector-curvature="0" /> + <path + style="fill:url(#linearGradient4178);fill-opacity:1;stroke:none" + d="m 406.57143,499.79812 -3,4 -16,0 0,1 0.002,0 c -5e-5,0.004 -0.002,0.008 -0.002,0.0117 l 0,35.98828 0,1 1,0 56,0 1,0 0,-1 0,-35.98828 0,-0.0117 0,-5 -39,0 z" + id="rect4113" + inkscape:connector-curvature="0" /> + <path + style="fill:#7e878e;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 444.57143,493.79812 0,1 -29,0 -2,-5 3,4 z" + id="path4222" + inkscape:connector-curvature="0" /> + <path + style="fill:#ffffff;fill-opacity:0.23529412;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 387.57144,503.79812 0,1 16.99999,0 2,-5 -3,4 z" + id="path4224" + inkscape:connector-curvature="0" /> + <path + style="fill:#444b51;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 388.57143,502.79812 0,1 15,0 3,-4 -5,3 z" + id="path4228" + inkscape:connector-curvature="0" /> + <path + inkscape:connector-curvature="0" + style="fill:#63697a;fill-opacity:1;stroke:none" + d="m 387.57143,540.7981 0,1 1,0 56,0 1,0 0,-1 -1,0 -56,0 -1,0 z" + id="path4151-2" /> + <path + style="opacity:0.3;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.70000005;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect2996-4-9-3" + inkscape:connector-curvature="0" + d="m 425.56032,507.03362 -12.50306,3.22862 c -0.93921,0.25142 -1.69533,1.25157 -1.69533,2.22299 l 0,15.40211 c -0.95238,-0.49822 -2.17554,-0.69967 -3.44363,-0.3705 -2.2883,0.594 -3.72225,2.51372 -3.23173,4.28719 0.49052,1.77347 2.74472,2.76406 5.03301,2.17006 1.82559,-0.4739 3.084,-1.81472 3.2847,-3.22863 l 0.053,-14.55526 11.86731,-3.17569 0,11.48542 c -0.95239,-0.49821 -2.17554,-0.69967 -3.44364,-0.3705 -2.2883,0.59401 -3.72224,2.51372 -3.23172,4.28719 0.49052,1.77348 2.74472,2.76406 5.03301,2.17006 1.82559,-0.47389 3.084,-1.81472 3.2847,-3.22862 l 0.053,-18.94831 c 0,-0.72856 -0.4507,-1.27364 -1.05959,-1.37613 z" /> + <path + style="color:#000000;fill:#2a3338;fill-opacity:0.8509804;fill-rule:nonzero;stroke:none;stroke-width:1.70000005000000010;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect2996-4-9" + inkscape:connector-curvature="0" + d="m 425.56032,506.46876 -12.50306,3.22862 c -0.93921,0.25142 -1.69533,1.25158 -1.69533,2.22299 l 0,15.40211 c -0.95238,-0.49821 -2.17554,-0.69967 -3.44364,-0.3705 -2.28829,0.594 -3.72224,2.51372 -3.23172,4.28719 0.49052,1.77347 2.74472,2.76406 5.03301,2.17006 1.82559,-0.47389 3.08401,-1.81472 3.2847,-3.22862 l 0.053,-14.55527 11.86732,-3.17569 0,11.48542 c -0.95239,-0.49821 -2.17555,-0.69967 -3.44364,-0.37049 -2.2883,0.594 -3.72225,2.51371 -3.23173,4.28718 0.49052,1.77348 2.74472,2.76406 5.03301,2.17006 1.82559,-0.47389 3.08401,-1.81471 3.28471,-3.22862 l 0.053,-18.94831 c 0,-0.72855 -0.4507,-1.27364 -1.05959,-1.37613 z" /> + </g> +</svg> |