disable modules, README, warning fixes

This commit is contained in:
Damocles 2026-04-12 12:19:30 +02:00
parent ed68b9fd93
commit 5ad933c03b
9 changed files with 215 additions and 24 deletions

View file

@ -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;