add now playing info
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user