From b438e22a12d661ac24ae4f9f6f770ebeb4e573ae Mon Sep 17 00:00:00 2001 From: YamiYukiSenpai Date: Mon, 13 May 2019 17:43:03 -0400 Subject: [PATCH 1/7] Updated Kubuntu icon + new Neon icon --- plasmoid/contents/images/distro-kubuntu.svg | 6 +++++- plasmoid/contents/images/distro-neon.svg | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 plasmoid/contents/images/distro-neon.svg diff --git a/plasmoid/contents/images/distro-kubuntu.svg b/plasmoid/contents/images/distro-kubuntu.svg index 091cce6..6997367 100644 --- a/plasmoid/contents/images/distro-kubuntu.svg +++ b/plasmoid/contents/images/distro-kubuntu.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/plasmoid/contents/images/distro-neon.svg b/plasmoid/contents/images/distro-neon.svg new file mode 100644 index 0000000..091833e --- /dev/null +++ b/plasmoid/contents/images/distro-neon.svg @@ -0,0 +1 @@ + \ No newline at end of file From b55d101fb52701c040c039a67f4be96a6da189f9 Mon Sep 17 00:00:00 2001 From: YamiYukiSenpai Date: Mon, 13 May 2019 17:43:22 -0400 Subject: [PATCH 2/7] Updated Kubuntu icon + new Neon icon --- plasma-simpleMonitor.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/plasma-simpleMonitor.pro b/plasma-simpleMonitor.pro index 160073d..acc89f5 100644 --- a/plasma-simpleMonitor.pro +++ b/plasma-simpleMonitor.pro @@ -53,6 +53,7 @@ DISTFILES += \ plasmoid/contents/images/distro-fedora.svg \ plasmoid/contents/images/distro-manjaro.svg \ plasmoid/contents/images/distro-kubuntu.svg \ + plasmoid/contents/images/distro-neon.svg \ plasmoid/contents/images/distro-opensuse.svg \ plasmoid/contents/images/distro-tux.svg \ plasmoid/contents/images/distro-ubuntu.svg \ From b95e358f29b181241e74e007c8263de0a674819d Mon Sep 17 00:00:00 2001 From: YamiYukiSenpai Date: Mon, 13 May 2019 17:45:09 -0400 Subject: [PATCH 3/7] Ignore node_modules --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 29f7c0b..66b36b1 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ build *.kdev4 *.jsc *.qmlc +node_modules/ # qtcreator generated files From 61f4578cf839bf68fa6c2075c45cc812524359bf Mon Sep 17 00:00:00 2001 From: YamiYukiSenpai Date: Mon, 13 May 2019 17:45:50 -0400 Subject: [PATCH 4/7] Trying to make Neon work --- plasmoid/contents/code/code.js | 2 +- plasmoid/metadata.desktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plasmoid/contents/code/code.js b/plasmoid/contents/code/code.js index feadd09..de7630d 100644 --- a/plasmoid/contents/code/code.js +++ b/plasmoid/contents/code/code.js @@ -19,7 +19,7 @@ .pragma library -var logos = ["tux", "slackware", "ubuntu", "kubuntu", "opensuse", "manjaro", "arch", "fedora"] +var logos = ["tux", "slackware", "ubuntu", "kubuntu", "opensuse", "manjaro", "arch", "fedora", "neon"] function getStandardLogo(logoId, distroName) { if (typeof distroName === 'undefined') diff --git a/plasmoid/metadata.desktop b/plasmoid/metadata.desktop index e11a184..ece68ba 100644 --- a/plasmoid/metadata.desktop +++ b/plasmoid/metadata.desktop @@ -18,7 +18,7 @@ X-Plasma-StandAloneApp=true X-KDE-PluginInfo-Name=org.kde.simpleMonitor X-KDE-PluginInfo-Category=System Information -X-KDE-PluginInfo-Version=0.6 +X-KDE-PluginInfo-Version=0.6-yamiyukisenpai X-KDE-PluginInfo-Website=http://plasma.kde.org/ X-KDE-PluginInfo-Author=DhabyX, Konstantin Shtepa X-KDE-PluginInfo-Email=slack.dhabyx@gmail.com, oss.konstantin.shtepa@yandex.ru From 143e22e65886ecc90ab91255041d089bcd0e463e Mon Sep 17 00:00:00 2001 From: YamiYukiSenpai Date: Mon, 13 May 2019 17:53:31 -0400 Subject: [PATCH 5/7] larger image...I think --- plasmoid/contents/images/distro-neon.svg | 165 ++++++++++++++++++++++- 1 file changed, 164 insertions(+), 1 deletion(-) diff --git a/plasmoid/contents/images/distro-neon.svg b/plasmoid/contents/images/distro-neon.svg index 091833e..8381a51 100644 --- a/plasmoid/contents/images/distro-neon.svg +++ b/plasmoid/contents/images/distro-neon.svg @@ -1 +1,164 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + From ecc69d3d78814c69b2d4cf664b733a61e58aec75 Mon Sep 17 00:00:00 2001 From: YamiYukiSenpai Date: Mon, 13 May 2019 18:40:08 -0400 Subject: [PATCH 6/7] Need to find better Neon icon :-( --- plasmoid/contents/config/main.xml | 1 + plasmoid/contents/ui/config/ConfigGeneral.qml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plasmoid/contents/config/main.xml b/plasmoid/contents/config/main.xml index 7f37afa..da64702 100644 --- a/plasmoid/contents/config/main.xml +++ b/plasmoid/contents/config/main.xml @@ -40,6 +40,7 @@ + 0 diff --git a/plasmoid/contents/ui/config/ConfigGeneral.qml b/plasmoid/contents/ui/config/ConfigGeneral.qml index 4760ec7..7cb9607 100644 --- a/plasmoid/contents/ui/config/ConfigGeneral.qml +++ b/plasmoid/contents/ui/config/ConfigGeneral.qml @@ -105,7 +105,7 @@ Item { ComboBox { id: logoComboBox - model: ["Default", "Tux", "Slackware", "Ubuntu", "Kubuntu", "OpenSUSE", "Manjaro", "Arch", "Fedora"] + model: ["Default", "Tux", "Slackware", "Ubuntu", "Kubuntu", "OpenSUSE", "Manjaro", "Arch", "Fedora", "Neon"] } Rectangle { From 40ddffd430ab425c770996ae7262d8c5ce1ce607 Mon Sep 17 00:00:00 2001 From: YamiYukiSenpai Date: Mon, 13 May 2019 19:03:31 -0400 Subject: [PATCH 7/7] Increased ViewBox for the logo. --- plasmoid/contents/images/distro-neon.svg | 73 ++++++++++++------------ 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/plasmoid/contents/images/distro-neon.svg b/plasmoid/contents/images/distro-neon.svg index 8381a51..b7345e0 100644 --- a/plasmoid/contents/images/distro-neon.svg +++ b/plasmoid/contents/images/distro-neon.svg @@ -10,13 +10,13 @@ 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="48" - height="48" - viewBox="0 0 48 48.000001" + width="1024" + height="1024" + viewBox="0 0 1024 1024" id="svg12241" version="1.1" - inkscape:version="0.91 r13725" - sodipodi:docname="neon-logo.svg"> + inkscape:version="0.92.4 (c4d3118, 2019-05-13)" + sodipodi:docname="distro-neon.svg"> + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(21.315305,0,0,21.315305,0.865185,-21379.057)" /> + gradientTransform="matrix(15.072196,15.072196,-15.072196,15.072196,15557.343,-15227.747)" /> + gradientTransform="matrix(15.072196,15.072196,-42.390364,42.390364,43650.32,-43320.72)" /> + gradientTransform="matrix(15.072196,15.072196,-64.056381,64.056381,65930.833,-65601.235)" /> image/svg+xml - + @@ -127,38 +128,38 @@ inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" - transform="translate(0,-1004.3622)"> + transform="translate(0,-28.3622)"> + cx="512.43268" + cy="540.79492" + r="511.56729" /> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.2;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4154);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:345.10488892;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + d="M 479.6902,573.37195 359.10568,693.95644 645.5697,980.38683 A 414.12591,414.12591 0 0 0 765.98582,859.66735 Z" + id="rect4146" + inkscape:connector-curvature="0" /> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.2;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4154-3);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:345.10488892;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + d="m 588.95095,464.11118 -7.61665,7.61657 A 229.13951,229.13951 0 0 1 648.53552,633.6642 229.13951,229.13951 0 0 1 419.39791,862.80157 229.13951,229.13951 0 0 1 257.46151,795.60063 l -7.61659,7.61657 238.67514,238.7088 A 414.12591,414.12591 0 0 0 827.32275,702.44911 Z" + id="rect4146-1" + inkscape:connector-curvature="0" /> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.2;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4154-3-4);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:345.10488892;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + d="m 675.63151,377.36303 v 0.0642 l -19.91766,19.91769 A 334.38382,334.38382 0 0 1 753.78581,633.6609 334.38382,334.38382 0 0 1 419.39791,968.04853 334.38382,334.38382 0 0 1 183.08196,869.94314 L 163.1643,889.89449 304.44172,1031.1719 A 414.12591,414.12591 0 0 0 419.39791,1047.7867 414.12591,414.12591 0 0 0 833.5238,633.6609 414.12591,414.12591 0 0 0 817.07753,518.80549 Z" + id="rect4146-1-9" + inkscape:connector-curvature="0" /> + d="m 419.39791,271.30468 a 29.841427,29.841429 0 0 0 -29.09623,23.32748 341.0449,341.0449 0 0 0 -190.15982,78.9327 29.841427,29.841429 0 0 0 -15.21228,-4.2098 29.841427,29.841429 0 0 0 -29.84145,29.84144 29.841427,29.841429 0 0 0 4.2034,15.20203 341.0449,341.0449 0 0 0 -79.086603,190.21782 29.841427,29.841426 0 0 0 -23.167141,29.04847 29.841427,29.841426 0 0 0 23.327468,29.0975 341.0449,341.0449 0 0 0 78.933076,190.15811 29.841427,29.841426 0 0 0 -4.2102,15.21275 29.841427,29.841426 0 0 0 29.84145,29.84141 29.841427,29.841426 0 0 0 15.15775,-4.17563 341.0449,341.0449 0 0 0 190.26379,79.06267 29.841427,29.841426 0 0 0 29.04679,23.16338 29.841427,29.841426 0 0 0 29.10393,-23.35309 341.0449,341.0449 0 0 0 190.38401,-78.76429 29.841427,29.841426 0 0 0 14.98043,4.06696 29.841427,29.841426 0 0 0 29.84141,-29.84141 29.841427,29.841426 0 0 0 -4.19316,-15.18505 341.0449,341.0449 0 0 0 79.36372,-190.29875 29.841427,29.841426 0 0 0 22.87983,-28.98456 29.841427,29.841426 0 0 0 -23.35304,-29.1039 341.0449,341.0449 0 0 0 -78.77712,-190.36482 29.841427,29.841426 0 0 0 4.07977,-14.9996 29.841427,29.841426 0 0 0 -29.84141,-29.84144 29.841427,29.841426 0 0 0 -15.19186,4.19701 341.0449,341.0449 0 0 0 -190.29192,-79.36119 29.841427,29.841429 0 0 0 -28.98459,-22.8862 z m 0,12.79131 a 17.052243,17.052243 0 0 1 17.05227,17.0501 17.052243,17.052243 0 0 1 -17.05227,17.05223 17.052243,17.052243 0 0 1 -17.05222,-17.05223 17.052243,17.052243 0 0 1 17.05222,-17.0501 z m -28.06882,27.09172 a 29.841427,29.841429 0 0 0 28.06882,19.79979 29.841427,29.841429 0 0 0 27.90856,-19.37986 323.99263,323.99263 0 0 1 179.79798,74.47354 29.841427,29.841426 0 0 0 -3.07963,13.11532 29.841427,29.841426 0 0 0 29.84146,29.8414 29.841427,29.841426 0 0 0 13.16773,-3.08218 323.99263,323.99263 0 0 1 74.5635,179.73279 29.841427,29.841426 0 0 0 -19.52228,27.97631 29.841427,29.841426 0 0 0 19.37904,27.90812 323.99263,323.99263 0 0 1 -74.47227,179.79884 29.841427,29.841426 0 0 0 -13.11572,-3.08006 29.841427,29.841426 0 0 0 -29.84146,29.84146 29.841427,29.841426 0 0 0 3.06771,13.13663 323.99263,323.99263 0 0 1 -179.71783,74.59503 29.841427,29.841426 0 0 0 -27.97679,-19.5227 29.841427,29.841426 0 0 0 -27.90087,19.35858 323.99263,323.99263 0 0 1 -179.93101,-74.18794 29.841427,29.841426 0 0 0 3.20496,-13.3796 29.841427,29.841426 0 0 0 -29.84141,-29.84146 29.841427,29.841426 0 0 0 -13.1439,3.07159 A 323.99263,323.99263 0 0 1 96.932344,661.7307 29.841427,29.841426 0 0 0 116.72058,633.66482 29.841427,29.841426 0 0 0 97.362054,605.76313 323.99263,323.99263 0 0 1 171.56315,425.83636 a 29.841427,29.841429 0 0 0 13.36643,3.20154 29.841427,29.841429 0 0 0 29.84141,-29.8414 29.841427,29.841429 0 0 0 -3.07706,-13.15582 323.99263,323.99263 0 0 1 179.63516,-74.85297 z m 28.06882,62.4283 A 29.841427,29.841426 0 0 0 390.24288,397.1715 238.7314,238.73137 0 0 0 180.66649,633.66482 238.7314,238.73137 0 0 0 390.28634,870.25831 29.841427,29.841426 0 0 0 419.39791,893.71368 29.841427,29.841426 0 0 0 448.55387,870.16024 238.7314,238.73137 0 0 0 658.12933,633.66482 238.7314,238.73137 0 0 0 448.51037,397.07139 29.841427,29.841426 0 0 0 419.39791,373.61601 Z m -234.46833,8.52823 a 17.052243,17.052243 0 0 1 17.05223,17.05226 17.052243,17.052243 0 0 1 -17.05223,17.05222 17.052243,17.052243 0 0 1 -17.05227,-17.05222 17.052243,17.052243 0 0 1 17.05227,-17.05226 z m 468.9367,0 a 17.052243,17.052243 0 0 1 17.05223,17.05226 17.052243,17.052243 0 0 1 -17.05223,17.05222 17.052243,17.052243 0 0 1 -17.05228,-17.05222 17.052243,17.052243 0 0 1 17.05228,-17.05226 z m -234.46837,4.26308 a 17.052243,17.052243 0 0 1 17.05227,17.05009 17.052243,17.052243 0 0 1 -17.05227,17.05654 17.052243,17.052243 0 0 1 -17.05222,-17.05654 17.052243,17.052243 0 0 1 17.05222,-17.05009 z m -27.87445,27.67791 a 29.841427,29.841426 0 0 0 27.87445,19.21359 29.841427,29.841426 0 0 0 27.82844,-19.1582 A 221.67916,221.67916 0 0 1 641.0771,633.66482 221.67916,221.67916 0 0 1 447.27321,853.24445 29.841427,29.841426 0 0 0 419.39791,834.0308 29.841427,29.841426 0 0 0 391.57039,853.189 221.67916,221.67916 0 0 1 197.71876,633.66482 221.67916,221.67916 0 0 1 391.52346,414.08523 Z m 27.87445,134.3184 a 85.261214,85.261214 0 0 0 -85.26118,85.26119 85.261214,85.261214 0 0 0 85.26118,85.26123 85.261214,85.261214 0 0 0 85.26122,-85.26123 85.261214,85.261214 0 0 0 -85.26122,-85.26119 z M 86.879197,616.61472 a 17.052243,17.052243 0 0 1 17.052203,17.0501 17.052243,17.052243 0 0 1 -17.052203,17.0501 17.052243,17.052243 0 0 1 -17.052228,-17.0501 17.052243,17.052243 0 0 1 17.052228,-17.0501 z m 665.037443,0 a 17.052243,17.052243 0 0 1 17.05226,17.0501 17.052243,17.052243 0 0 1 -17.05226,17.0501 17.052243,17.052243 0 0 1 -17.05223,-17.0501 17.052243,17.052243 0 0 1 17.05223,-17.0501 z M 419.39791,846.81574 a 17.052243,17.052243 0 0 1 17.05227,17.05652 17.052243,17.052243 0 0 1 -17.05227,17.0501 17.052243,17.052243 0 0 1 -17.05222,-17.0501 17.052243,17.052243 0 0 1 17.05222,-17.05652 z m -234.46833,4.26517 a 17.052243,17.052243 0 0 1 17.05223,17.05227 17.052243,17.052243 0 0 1 -17.05223,17.05223 17.052243,17.052243 0 0 1 -17.05227,-17.05223 17.052243,17.052243 0 0 1 17.05227,-17.05227 z m 468.9367,0 a 17.052243,17.052243 0 0 1 17.05223,17.05227 17.052243,17.052243 0 0 1 -17.05223,17.05223 17.052243,17.052243 0 0 1 -17.05228,-17.05223 17.052243,17.052243 0 0 1 17.05228,-17.05227 z m -234.46837,98.05041 a 17.052243,17.052243 0 0 1 17.05227,17.0522 17.052243,17.052243 0 0 1 -17.05227,17.0502 17.052243,17.052243 0 0 1 -17.05222,-17.0502 17.052243,17.052243 0 0 1 17.05222,-17.0522 z" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#fcfcfc;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:63.94591141;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0.89999998;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />