add now playing info

This commit is contained in:
Sem
2026-04-07 23:48:02 +02:00
parent 225538148d
commit 9d04b30629
4 changed files with 97 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ Item {
property int cpuUsage: 0
property int memUsage: 0
property int gpuUsage: 0
property string nowPlayingArtist: ""
property string nowPlayingTitle: ""
property string nowPlayingArtUrl: ""
RowLayout {
anchors.fill: parent
@@ -32,12 +35,22 @@ Item {
id: workspacesList
}
// small spacer
Item {
anchors.leftMargin: 10
}
NowPlaying {
artist: root.nowPlayingArtist
title: root.nowPlayingTitle
artUrl: root.nowPlayingArtUrl
}
// Spacer
Item {
Layout.fillWidth: true
}
// =====================
// RIGHT: System info
// =====================