perhaps ??

This commit is contained in:
Frede Hundewadt 2024-08-23 16:56:52 +02:00
parent ec883601e8
commit d72d9f6015
6 changed files with 44 additions and 78 deletions

View file

@ -24,4 +24,4 @@ library=org.kde.kwin.aurorae
theme=__aurorae__svg__psion theme=__aurorae__svg__psion
[plasmarc][Theme] [plasmarc][Theme]
name=Psion name=psion

View file

@ -5,9 +5,7 @@ panel.location = "bottom";
panel.height = 36 panel.height = 36
panel.alignment = "center"; panel.alignment = "center";
geo = screenGeometry(panelScreen); geo = screenGeometry(panelScreen);
panel.minimumLength = geo.width panel.lengthMode = "fillavailable"
panel.maximumLength = geo.width
panel.lengthMode = "custom"
panel.floating = true panel.floating = true
var kickoff = panel.addWidget("org.kde.plasma.kickoff") var kickoff = panel.addWidget("org.kde.plasma.kickoff")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -1,78 +1,45 @@
/* import QtQuick
* 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.5
import Qt5Compat.GraphicalEffects
Rectangle { Rectangle {
id: root id: background
color: "#282828" anchors.centerIn: parent
color: "#303030"
Rectangle {
anchors.fill: parent anchors.fill: parent
property int stage color: "#44000000"
}
property variant images : [ Rectangle {
"images/spinner1.png", id: groove
"images/spinner2.png", width: 360
"images/spinner3.png", height: 12
"images/spinner4.png", anchors.centerIn: parent
"images/spinner5.png", color: "#171717"
"images/spinner6.png",
"images/spinner7.png",
"images/spinner8.png",
];
property int currentImage : 0;
Repeater { Rectangle {
id: repeaterImg; id: block
model: images; height: 8
delegate: Image { width: 48
id: spinner
source: modelData;
asynchronous: true;
height: 60;
width: 60;
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
visible: (model.index === currentImage); color: "#847865"
OpacityAnimator { SequentialAnimation on x {
target: spinner; id: anim
from: 0; loops: Animation.Infinite
to: 1;
duration: 100;
running: true
}
}
}
Timer { NumberAnimation {
id: timerAnimImg; from: 0
interval: 125; // here is the delay between 2 images in msecs to: groove.width - block.width
running: true; // stopped by default, use start() or running=true to launch duration: 1100
repeat: true; easing.type: Easing.OutQuad
onTriggered: { }
if (currentImage < images.length -1) { NumberAnimation {
currentImage++; // show next image from: groove.width - block.width
to: 0
duration: 1100
easing.type: Easing.OutQuad
} }
else {
currentImage = 0; // go back to the first image at the end
} }
} }
} }

View file

@ -7,7 +7,7 @@ X-KDE-PluginInfo-Email=phobian@tutanota.com
X-KDE-PluginInfo-EnabledByDefault=true X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-PluginInfo-License=GPL 2+ X-KDE-PluginInfo-License=GPL 2+
X-KDE-PluginInfo-Name=Psion X-KDE-PluginInfo-Name=Psion
X-KDE-PluginInfo-Version=6.7 X-KDE-PluginInfo-Version=7.0
X-KDE-PluginInfo-Website=https://www.pling.com/u/phob1an X-KDE-PluginInfo-Website=https://www.pling.com/u/phob1an
X-KDE-ServiceTypes=Plasma/LookAndFeel X-KDE-ServiceTypes=Plasma/LookAndFeel
X-KPackage-Dependencies=kns://aurorae.knsrc/api.kde-look.org/2137702,kns://colorschemes.knsrc/api.kde-look.org/1235544,kns://plasma-themes.knsrc/api.kde-look.org/1235513,kns://icons.knsrc/api.kde-look.org/1305826,kns://wallpaper.knsrc/api.kde-look.org/2137692 X-KPackage-Dependencies=kns://aurorae.knsrc/api.kde-look.org/2137702,kns://colorschemes.knsrc/api.kde-look.org/1235544,kns://plasma-themes.knsrc/api.kde-look.org/1235513,kns://icons.knsrc/api.kde-look.org/1305826,kns://wallpaper.knsrc/api.kde-look.org/2137692,kns://sddmtheme.knsrc/api.kde-look.org/1688188

View file

@ -16,7 +16,7 @@
"ServiceTypes": [ "ServiceTypes": [
"Plasma/LookAndFeel" "Plasma/LookAndFeel"
], ],
"Version": "6.7", "Version": "7.0",
"Website": "https://www.pling.com/u/phob1an/" "Website": "https://www.pling.com/u/phob1an/"
}, },
"X-KPackage-Dependencies": [ "X-KPackage-Dependencies": [
@ -24,6 +24,7 @@
"kns://colorschemes.knsrc/api.kde-look.org/1235544", "kns://colorschemes.knsrc/api.kde-look.org/1235544",
"kns://plasma-themes.knsrc/api.kde-look.org/1235513", "kns://plasma-themes.knsrc/api.kde-look.org/1235513",
"kns://icons.knsrc/api.kde-look.org/1305826", "kns://icons.knsrc/api.kde-look.org/1305826",
"kns://wallpaper.knsrc/api.kde-look.org/2137692" "kns://wallpaper.knsrc/api.kde-look.org/2137692",
"kns://sddmtheme.knsrc/api.kde-look.org/1688188"
] ]
} }