feat(waybar): add window title back to window module, fix others

This commit is contained in:
João Dias
2024-09-23 13:21:24 -03:00
parent 355026fa2a
commit 7407920ec2
3 changed files with 57 additions and 49 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ class PlayerManager:
track_info = "Advertisement"
elif artist != None and title != None:
track_info = f"{artist} - {title}"
if(artist == "" or artist is " "):
if(artist == "" or artist == " "):
track_info = f"{title}"
else:
track_info = title