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

@@ -18,6 +18,10 @@ ShellRoot {
id: stats
}
NowPlayingService {
id: nowPlayingService
}
Variants {
model: Quickshell.screens
@@ -49,6 +53,9 @@ ShellRoot {
cpuUsage: stats.cpuUsage
memUsage: stats.memUsage
gpuUsage: stats.gpuUsage
nowPlayingArtist: nowPlayingService.artist
nowPlayingTitle: nowPlayingService.title
nowPlayingArtUrl: nowPlayingService.artUrl
}
}
}