diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/defaults b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/defaults new file mode 100644 index 0000000..bd53680 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/defaults @@ -0,0 +1,32 @@ +[kdeglobals][KDE] +widgetStyle=kvantum-dark + +[kdeglobals][General] +ColorScheme=MelawyGray + +[kdeglobals][Icons] +Theme=Win11 + +[plasmarc][Theme] +name=Win11OS-dark + +[Wallpaper] +Image=Win11OS + +[kcminputrc][Mouse] +cursorTheme=Melawy-red-light-default-cursors + +[kwinrc][WindowSwitcher] +LayoutName=coverswitch + +[kwinrc][DesktopSwitcher] +LayoutName=org.kde.breeze.desktop + +[kwinrc][org.kde.kdecoration2] +library=org.kde.kwin.aurorae +ButtonsOnLeft= +ButtonsOnRight=IAX +theme=__aurorae__svg__Win11OS-dark + +[KSplash] +Theme=com.github.yeyushengfan258.Win11OS-dark diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/layouts/org.kde.plasma.desktop-layout.js b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/layouts/org.kde.plasma.desktop-layout.js new file mode 100644 index 0000000..4bfcd82 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/layouts/org.kde.plasma.desktop-layout.js @@ -0,0 +1,6 @@ +loadTemplate("org.github.Melawy.desktop.MelawyPanel") + +var desktopsArray = desktopsForActivity(currentActivity()); +for( var j = 0; j < desktopsArray.length; j++) { + desktopsArray[j].wallpaperPlugin = 'org.kde.image'; +} diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js new file mode 100644 index 0000000..84ab448 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js @@ -0,0 +1,35 @@ +let FullApps = [ +"melawy-welcome.desktop", +"systemsettings.desktop", +"org.manjaro.pamac.manager.desktop", +"org.kde.dolphin.desktop", +"org.kde.konsole.desktop", +"org.kde.kcalc.desktop", +"org.kde.kate.desktop", +"code.desktop", +"org.telegram.desktop.desktop", +"discord.desktop", +"Zoom.desktop", +"firefoxdeveloperedition.desktop", +"firefox.desktop", +"brave-browser.desktop", +"google-chrome.desktop" +]; + +let applications = ''; +FullApps.forEach((i) => { + if (applicationExists(i)) { + applications += 'applications:' + i + ','; + } +}); + +applications = applications.substring(0, applications.length - 1).split(','); + + /*dock*/ +applet.currentConfigGroup = []; +applet.writeConfig("launchers", "") +applet.currentConfigGroup = ["General"]; +applet.writeConfig("indicateAudioStreams", "true") +applet.writeConfig("iconSpacing", "0") +applet.writeConfig("launchers", `${applications}`) +applet.writeConfig("maxStripes", "1") diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/fullscreenpreview.jpg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/fullscreenpreview.jpg new file mode 100644 index 0000000..de5b4e4 Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/fullscreenpreview.jpg differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/preview.png b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/preview.png new file mode 100644 index 0000000..dbc475a Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/preview.png differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/splash.png b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/splash.png new file mode 100644 index 0000000..d16fd80 Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/previews/splash.png differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/Splash.qml new file mode 100644 index 0000000..9b9e885 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/Splash.qml @@ -0,0 +1,96 @@ +/* + * Copyright 2014 Marco Martin <mart@kde.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2, + * or (at your option) any later version, as published by the Free + * Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import QtQuick 2.1 + + +Image { + id: root + source: "images/background.jpg" + + property int stage + + onStageChanged: { + if (stage == 1) { + introAnimation.running = true + } + } + Image { + id: topRect + anchors.horizontalCenter: parent.horizontalCenter + y: root.height + source: "images/rectangle.svg" + Image { + source: "images/kde.svg" + anchors.centerIn: parent + } + Rectangle { + radius: 3 + color: "#505050" + anchors { + bottom: parent.bottom + bottomMargin: 50 + horizontalCenter: parent.horizontalCenter + } + height: 6 + width: height*36 + Rectangle { + radius: 3 + anchors { + left: parent.left + top: parent.top + bottom: parent.bottom + } + width: (parent.width / 6) * (stage - 1) + color: "#ffffff" + Behavior on width { + PropertyAnimation { + duration: 250 + easing.type: Easing.InOutQuad + } + } + } + } + } + + SequentialAnimation { + id: introAnimation + running: false + + ParallelAnimation { + PropertyAnimation { + property: "y" + target: topRect + to: root.height / 3 + duration: 1000 + easing.type: Easing.InOutBack + easing.overshoot: 1.0 + } + + PropertyAnimation { + property: "y" + target: bottomRect + to: 2 * (root.height / 3) - bottomRect.height + duration: 1000 + easing.type: Easing.InOutBack + easing.overshoot: 1.0 + } + } + } +} diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/background.jpg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/background.jpg new file mode 100644 index 0000000..e7d139f Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/background.jpg differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/kde.svg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/kde.svg new file mode 100644 index 0000000..d46f02d --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/kde.svg @@ -0,0 +1,159 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + id="svg4379" + width="200" + height="200" + inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)" + sodipodi:docname="kde.svg" + version="1.1" + viewBox="0 0 200 200" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + <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" /> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs8"> + <style + id="current-color-scheme" + type="text/css"> + .ColorScheme-Text { + color:#31363b; + } + </style> + <style + type="text/css" + id="style832" /> + <linearGradient + id="linearGradient8660" + x1="-7.6728001" + x2="-5.027" + y1="-29.104" + y2="-27.252001" + gradientTransform="matrix(19.102507,0,0,19.102507,-8.3673106,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#00bffb" + offset="0" + id="stop17" /> + <stop + stop-color="#01a0f3" + offset="1" + id="stop19" /> + </linearGradient> + <linearGradient + id="linearGradient8668" + x1="-4.7624002" + x2="-1.852" + y1="-27.252001" + y2="-30.122999" + gradientTransform="matrix(20.03297,0,0,19.102507,-3.9472134,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#11c2f4" + offset="0" + id="stop12" /> + <stop + stop-color="#2dc5f4" + offset="1" + id="stop14" /> + </linearGradient> + <linearGradient + id="linearGradient8676" + x1="-7.6728001" + x2="-5.027" + y1="-26.722" + y2="-24.493" + gradientTransform="matrix(19.102507,0,0,19.102507,-8.3673106,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#0954a8" + offset="0" + id="stop7" /> + <stop + stop-color="#0954a8" + offset="1" + id="stop9" /> + </linearGradient> + <linearGradient + id="linearGradient8684" + x1="-4.4977999" + x2="-1.852" + y1="-26.722" + y2="-24.111" + gradientTransform="matrix(20.03297,0,0,19.102507,-3.9472134,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#339ed9" + offset="0" + id="stop2" /> + <stop + stop-color="#2386c9" + offset="1" + id="stop4" /> + </linearGradient> + </defs> + <sodipodi:namedview + id="namedview39" + bordercolor="#666666" + borderopacity="1" + gridtolerance="10" + guidetolerance="10" + inkscape:current-layer="svg4379" + inkscape:cx="108.49974" + inkscape:cy="121.06659" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-height="997" + inkscape:window-maximized="1" + inkscape:window-width="1920" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:zoom="2.8248916" + objecttolerance="10" + pagecolor="#dfe2e4" + showgrid="true" + inkscape:snap-bbox="true" + inkscape:bbox-nodes="true" + inkscape:snap-bbox-edge-midpoints="true" + inkscape:document-rotation="0" + inkscape:pagecheckerboard="0"> + <inkscape:grid + id="grid839" + type="xygrid" /> + </sodipodi:namedview> + <g + id="g1873" + transform="matrix(12.598517,0,0,12.598517,-51.666657,-76.624994)" + style="fill:#ffffff;fill-opacity:1"> + <path + id="path1865" + style="fill:#ffffff;fill-opacity:1;stroke-width:0.286629;stroke-linejoin:round" + d="m 12.170744,6.4789367 v 0.5291628 2.3812326 0.5291628 h 0.529163 2.381232 0.529163 V 9.3893321 7.0080995 c 0,-0.2931562 -0.236007,-0.5291628 -0.529163,-0.5291628 h -2.381232 z" /> + <path + id="path1867" + style="fill:#ffffff;fill-opacity:1;stroke-width:0.286629;stroke-linejoin:round" + d="m 8.9957671,6.4789367 c -0.2931562,0 -0.5291628,0.2360066 -0.5291628,0.5291628 v 2.3801991 0.00103 0.5281293 h 0.5074589 c 0.00725,2.921e-4 0.014375,0.00103 0.021704,0.00103 H 11.377 11.906163 V 9.3893321 7.0080995 6.4789367 H 11.377 Z" /> + <path + id="path1869" + style="fill:#ffffff;fill-opacity:1;stroke-width:0.286629;stroke-linejoin:round" + d="m 12.170744,10.183076 v 0.529163 2.381233 0.529163 h 0.529163 2.381232 c 0.293156,0 0.529163,-0.236007 0.529163,-0.529163 v -2.381233 -0.529163 h -0.529163 -2.381232 z" /> + <path + id="path1871" + style="fill:#ffffff;fill-opacity:1;stroke-width:0.286629;stroke-linejoin:round" + d="m 8.4666043,10.183076 v 0.529163 2.381233 c 0,0.293156 0.2360066,0.529163 0.5291628,0.529163 H 11.377 11.906163 V 13.093472 10.712239 10.183076 H 11.377 8.9957671 Z" /> + </g> +</svg> diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/rectangle.svg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/rectangle.svg new file mode 100644 index 0000000..ac3e795 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/contents/splash/images/rectangle.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" id="svg2" width="460" height="290" version="1.1" viewBox="0 0 460 290"/> diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/metadata.json b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/metadata.json new file mode 100644 index 0000000..0a55da5 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win11OS-gray.desktop/metadata.json @@ -0,0 +1,31 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "yeyushengfan258@outlook.com", + "Name": "yeyushengfan258", + "Name[ru]": "yeyushengfan258", + "Name[x-test]": "xxyeyushengfan258xx" + } + ], + "Category": "", + "Description": "Win11OS-gray theme for kde plasma", + "Description[ru]": "Оформление рабочей среды Win11OS-gray", + "Description[x-test]": "xxWin11OS-gray theme for kde plasmaxx", + "Id": "com.github.yeyushengfan258.Win11OS-gray.desktop", + "License": "GPLv3", + "Name": "Win11OS-gray", + "Name[ru]": "Win11OS-gray", + "Name[x-test]": "xxWin11OS-grayxx", + "ServiceTypes": [ + "Plasma/LookAndFeel" + ], + "Version": "2.0", + "Website": "https://github.com/yeyushengfan258/Win11OS-kde" + }, + "Keywords": "Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;", + "Keywords[ru]": "Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;рабочий стол;рабочая среда;внешний вид;визуальное представление;выход;завершение сеанса;блокировка;приостановка работы;завершение работы;выключение;спящий режим;ждущий режим;", + "Keywords[x-test]": "xxDesktopxx;xxWorkspacexx;xxAppearancexx;xxLook and Feelxx;xxLogoutxx;xxLockxx;xxSuspendxx;xxShutdownxx;xxHibernatexx;", + "X-Plasma-APIVersion": "2", + "X-Plasma-MainScript": "defaults" +} diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/defaults b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/defaults new file mode 100644 index 0000000..2fd59f3 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/defaults @@ -0,0 +1,32 @@ +[kdeglobals][KDE] +widgetStyle=kvantum-dark + +[kdeglobals][General] +ColorScheme=MelawyGray + +[kdeglobals][Icons] +Theme=Win11 + +[plasmarc][Theme] +name=Win12OS-dark + +[Wallpaper] +Image=Win12OS-dark + +[kcminputrc][Mouse] +cursorTheme=Melawy-red-light-default-cursors + +[kwinrc][WindowSwitcher] +LayoutName=coverswitch + +[kwinrc][DesktopSwitcher] +LayoutName=org.kde.breeze.desktop + +[kwinrc][org.kde.kdecoration2] +library=org.kde.kwin.aurorae +ButtonsOnLeft= +ButtonsOnRight=IAX +theme=__aurorae__svg__Win12OS-dark + +[KSplash] +Theme=com.github.yeyushengfan258.Win12OS-dark diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/layouts/org.kde.plasma.desktop-layout.js b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/layouts/org.kde.plasma.desktop-layout.js new file mode 100644 index 0000000..4bfcd82 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/layouts/org.kde.plasma.desktop-layout.js @@ -0,0 +1,6 @@ +loadTemplate("org.github.Melawy.desktop.MelawyPanel") + +var desktopsArray = desktopsForActivity(currentActivity()); +for( var j = 0; j < desktopsArray.length; j++) { + desktopsArray[j].wallpaperPlugin = 'org.kde.image'; +} diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js new file mode 100644 index 0000000..84ab448 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/plasmoidsetupscripts/org.kde.plasma.icontasks.js @@ -0,0 +1,35 @@ +let FullApps = [ +"melawy-welcome.desktop", +"systemsettings.desktop", +"org.manjaro.pamac.manager.desktop", +"org.kde.dolphin.desktop", +"org.kde.konsole.desktop", +"org.kde.kcalc.desktop", +"org.kde.kate.desktop", +"code.desktop", +"org.telegram.desktop.desktop", +"discord.desktop", +"Zoom.desktop", +"firefoxdeveloperedition.desktop", +"firefox.desktop", +"brave-browser.desktop", +"google-chrome.desktop" +]; + +let applications = ''; +FullApps.forEach((i) => { + if (applicationExists(i)) { + applications += 'applications:' + i + ','; + } +}); + +applications = applications.substring(0, applications.length - 1).split(','); + + /*dock*/ +applet.currentConfigGroup = []; +applet.writeConfig("launchers", "") +applet.currentConfigGroup = ["General"]; +applet.writeConfig("indicateAudioStreams", "true") +applet.writeConfig("iconSpacing", "0") +applet.writeConfig("launchers", `${applications}`) +applet.writeConfig("maxStripes", "1") diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/fullscreenpreview.jpg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/fullscreenpreview.jpg new file mode 100644 index 0000000..61c0738 Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/fullscreenpreview.jpg differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/preview.png b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/preview.png new file mode 100644 index 0000000..cf17146 Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/preview.png differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/splash.png b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/splash.png new file mode 100644 index 0000000..96fee22 Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/previews/splash.png differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/Splash.qml b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/Splash.qml new file mode 100644 index 0000000..ce383d6 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/Splash.qml @@ -0,0 +1,96 @@ +/* + * Copyright 2014 Marco Martin <mart@kde.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2, + * or (at your option) any later version, as published by the Free + * Software Foundation + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import QtQuick 2.1 + + +Image { + id: root + source: "images/background.jpg" + + property int stage + + onStageChanged: { + if (stage == 1) { + introAnimation.running = true + } + } + Image { + id: topRect + anchors.horizontalCenter: parent.horizontalCenter + y: root.height + source: "images/rectangle.svg" + Image { + source: "images/kde.svg" + anchors.centerIn: parent + } + Rectangle { + radius: 3 + color: "#100040" + anchors { + bottom: parent.bottom + bottomMargin: 50 + horizontalCenter: parent.horizontalCenter + } + height: 6 + width: height*36 + Rectangle { + radius: 3 + anchors { + left: parent.left + top: parent.top + bottom: parent.bottom + } + width: (parent.width / 6) * (stage - 1) + color: "#2da0ff" + Behavior on width { + PropertyAnimation { + duration: 250 + easing.type: Easing.InOutQuad + } + } + } + } + } + + SequentialAnimation { + id: introAnimation + running: false + + ParallelAnimation { + PropertyAnimation { + property: "y" + target: topRect + to: root.height / 3 + duration: 1000 + easing.type: Easing.InOutBack + easing.overshoot: 1.0 + } + + PropertyAnimation { + property: "y" + target: bottomRect + to: 2 * (root.height / 3) - bottomRect.height + duration: 1000 + easing.type: Easing.InOutBack + easing.overshoot: 1.0 + } + } + } +} diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/background.jpg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/background.jpg new file mode 100644 index 0000000..771f6a8 Binary files /dev/null and b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/background.jpg differ diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/kde.svg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/kde.svg new file mode 100644 index 0000000..270694e --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/kde.svg @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + id="svg4379" + width="200" + height="200" + inkscape:version="1.2.2 (b0a8486541, 2022-12-01)" + sodipodi:docname="kde.svg" + version="1.1" + viewBox="0 0 200 200" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + <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" /> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs8"> + <style + id="current-color-scheme" + type="text/css"> + .ColorScheme-Text { + color:#31363b; + } + </style> + <style + type="text/css" + id="style832" /> + <linearGradient + id="linearGradient8660" + x1="-7.6728001" + x2="-5.027" + y1="-29.104" + y2="-27.252001" + gradientTransform="matrix(19.102507,0,0,19.102507,-8.3673106,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#00bffb" + offset="0" + id="stop17" /> + <stop + stop-color="#01a0f3" + offset="1" + id="stop19" /> + </linearGradient> + <linearGradient + id="linearGradient8668" + x1="-4.7624002" + x2="-1.852" + y1="-27.252001" + y2="-30.122999" + gradientTransform="matrix(20.03297,0,0,19.102507,-3.9472134,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#11c2f4" + offset="0" + id="stop12" /> + <stop + stop-color="#2dc5f4" + offset="1" + id="stop14" /> + </linearGradient> + <linearGradient + id="linearGradient8676" + x1="-7.6728001" + x2="-5.027" + y1="-26.722" + y2="-24.493" + gradientTransform="matrix(19.102507,0,0,19.102507,-8.3673106,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#0954a8" + offset="0" + id="stop7" /> + <stop + stop-color="#0954a8" + offset="1" + id="stop9" /> + </linearGradient> + <linearGradient + id="linearGradient8684" + x1="-4.4977999" + x2="-1.852" + y1="-26.722" + y2="-24.111" + gradientTransform="matrix(20.03297,0,0,19.102507,-3.9472134,603.14466)" + gradientUnits="userSpaceOnUse"> + <stop + stop-color="#339ed9" + offset="0" + id="stop2" /> + <stop + stop-color="#2386c9" + offset="1" + id="stop4" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient1095" + id="linearGradient1097" + x1="18.626598" + y1="6.817297" + x2="26.881439" + y2="15.072137" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(10.902693,0,0,10.902693,-148.08009,-69.326899)" /> + <linearGradient + inkscape:collect="always" + id="linearGradient1095"> + <stop + style="stop-color:#276de4;stop-opacity:1" + offset="0" + id="stop1091" /> + <stop + style="stop-color:#ca006d;stop-opacity:1" + offset="1" + id="stop1093" /> + </linearGradient> + </defs> + <sodipodi:namedview + id="namedview39" + bordercolor="#666666" + borderopacity="1" + gridtolerance="10" + guidetolerance="10" + inkscape:current-layer="svg4379" + inkscape:cx="84.605016" + inkscape:cy="16.637807" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-height="1986" + inkscape:window-maximized="1" + inkscape:window-width="3840" + inkscape:window-x="1920" + inkscape:window-y="0" + inkscape:zoom="2.8248916" + objecttolerance="10" + pagecolor="#dfe2e4" + showgrid="true" + inkscape:snap-bbox="true" + inkscape:bbox-nodes="true" + inkscape:snap-bbox-edge-midpoints="true" + inkscape:document-rotation="0" + inkscape:pagecheckerboard="0" + inkscape:showpageshadow="0" + inkscape:deskcolor="#dfe2e4"> + <inkscape:grid + id="grid839" + type="xygrid" /> + </sodipodi:namedview> + <path + id="path15024" + style="fill:url(#linearGradient1097);fill-opacity:1;stroke-width:3.6111;stroke-linejoin:round" + d="m 61.666508,5.000033 c -3.693334,0 -6.666506,2.973406 -6.666506,6.66673 v 29.986888 0.01248 6.653774 h 6.39311 c 0.09158,0.0031 0.181014,0.01248 0.273414,0.01248 h 30.000065 6.666738 V 41.666571 11.666728 5 h -6.666738 z m 40.000172,0 v 6.66673 29.999835 6.666736 h 6.66651 30.00008 H 145 V 41.666598 11.666763 c 0,-3.693324 -2.97341,-6.66673 -6.66673,-6.66673 H 108.33319 Z M 55.000011,51.666699 v 6.666721 29.999845 c 0,3.69331 2.973171,6.66673 6.666506,6.66673 h 30.000074 6.666721 V 88.333265 58.33342 51.666699 H 91.666591 61.666517 Z m 46.666679,0 v 6.666721 29.999845 6.66673 h 6.66651 30.00008 c 3.69332,0 6.66672,-2.97342 6.66672,-6.66673 V 58.33342 51.666699 h -6.66672 -30.00008 z" /> +</svg> diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/rectangle.svg b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/rectangle.svg new file mode 100644 index 0000000..ac3e795 --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/contents/splash/images/rectangle.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" id="svg2" width="460" height="290" version="1.1" viewBox="0 0 460 290"/> diff --git a/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/metadata.json b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/metadata.json new file mode 100644 index 0000000..731c86d --- /dev/null +++ b/usr/share/plasma/look-and-feel/com.github.yeyushengfan258.Win12OS-gray.desktop/metadata.json @@ -0,0 +1,31 @@ +{ + "KPlugin": { + "Authors": [ + { + "Email": "yeyushengfan258@outlook.com", + "Name": "yeyushengfan258", + "Name[ru]": "yeyushengfan258", + "Name[x-test]": "xxyeyushengfan258xx" + } + ], + "Category": "", + "Description": "Win12OS-gray theme for kde plasma", + "Description[ru]": "Оформление рабочей среды Win12OS-gray", + "Description[x-test]": "xxWin12OS-gray theme for kde plasmaxx", + "Id": "com.github.yeyushengfan258.Win12OS-gray.desktop", + "License": "GPLv3", + "Name": "Win12OS-gray", + "Name[ru]": "Win12OS-gray", + "Name[x-test]": "xxWin12OS-grayxx", + "ServiceTypes": [ + "Plasma/LookAndFeel" + ], + "Version": "2.0", + "Website": "https://github.com/yeyushengfan258/Win12OS-kde" + }, + "Keywords": "Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;", + "Keywords[ru]": "Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate;рабочий стол;рабочая среда;внешний вид;визуальное представление;выход;завершение сеанса;блокировка;приостановка работы;завершение работы;выключение;спящий режим;ждущий режим;", + "Keywords[x-test]": "xxDesktopxx;xxWorkspacexx;xxAppearancexx;xxLook and Feelxx;xxLogoutxx;xxLockxx;xxSuspendxx;xxShutdownxx;xxHibernatexx;", + "X-Plasma-APIVersion": "2", + "X-Plasma-MainScript": "defaults" +}