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 + * + * 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 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + 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 + * + * 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 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + 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" +}