feat(taffybar): split now-playing label and bump submodule

This commit is contained in:
2026-02-16 16:35:03 -08:00
committed by Kat Huang
parent 26d2b967fc
commit 4b2cb3a078
2 changed files with 6 additions and 3 deletions

View File

@@ -312,7 +312,10 @@ mprisWidget =
updatePlayerWidget =
simplePlayerWidget
defaultPlayerConfig
{ setNowPlayingLabel = playingText 20 20
{ setNowPlayingLabel =
-- Upstream `playingText` uses "artist - title"; replace the
-- separator with a newline for a more compact widget.
\np -> T.replace " - " "\n" <$> playingText 20 20 np
}
}
@@ -395,7 +398,7 @@ endWidgetsForHost hostName backend =
mkSimpleTaffyConfig :: String -> Backend -> [FilePath] -> SimpleTaffyConfig
mkSimpleTaffyConfig hostName backend cssFiles =
defaultSimpleTaffyConfig
defaultSimpleTaffyConfig
{ startWidgets = startWidgetsForBackend backend,
endWidgets = endWidgetsForHost hostName backend,
barPosition = Top,