1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 14:05:38 -05:00

ipc wallpaper handler, fix high CPU usage

This commit is contained in:
bbedward
2025-07-14 14:36:08 -04:00
parent 58d711b3e9
commit 31f1360d1b
17 changed files with 186 additions and 90 deletions

View File

@@ -1,4 +1,5 @@
import QtQuick
import Quickshell
import "../../Common"
Rectangle {
@@ -51,13 +52,14 @@ Rectangle {
}
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: {
root.currentDate = new Date()
}
SystemClock {
id: systemClock
precision: SystemClock.Seconds
onDateChanged: root.currentDate = systemClock.date
}
Component.onCompleted: {
root.currentDate = systemClock.date
}
MouseArea {

View File

@@ -121,7 +121,7 @@ PanelWindow {
radius: parent.radius
SequentialAnimation on opacity {
running: true
running: false
loops: Animation.Infinite
NumberAnimation {
to: 0.08