update waybar scripts

This commit is contained in:
2025-03-18 20:07:55 -07:00
parent b931f47e07
commit 8e19d89ba2
5 changed files with 38 additions and 7 deletions

View File

@@ -127,7 +127,10 @@ class PlayerManager:
player_name = player.props.player_name
artist = player.get_artist()
title = player.get_title()
title = title.replace("&", "&")
if title is not None:
title = title.replace("&", "&")
else:
title = "No title"
track_info = ""
if (