disable modules, README, warning fixes
This commit is contained in:
parent
ed68b9fd93
commit
5ad933c03b
9 changed files with 215 additions and 24 deletions
|
|
@ -5,7 +5,7 @@ import "." as M
|
|||
M.BarSection {
|
||||
id: root
|
||||
spacing: M.Theme.moduleSpacing
|
||||
visible: player !== null
|
||||
visible: M.Modules.mpris && player !== null
|
||||
tooltip: {
|
||||
const p = root.player;
|
||||
if (!p)
|
||||
|
|
@ -14,7 +14,7 @@ M.BarSection {
|
|||
if (p.trackTitle)
|
||||
parts.push(p.trackTitle);
|
||||
if (p.trackArtists?.length)
|
||||
parts.push(p.trackArtists.join(", "));
|
||||
parts.push(Array.isArray(p.trackArtists) ? p.trackArtists.join(", ") : p.trackArtists);
|
||||
if (p.trackAlbum)
|
||||
parts.push(p.trackAlbum);
|
||||
return parts.join("\n") || p.identity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue