Replies: 3 comments 4 replies
-
would love to have this for spotify song names that dont fit |
Beta Was this translation helpful? Give feedback.
-
This probably won't fit every use case but, should it help anyone, I solved scrolling text in Waybar for my music player using a couple of scripts, custom modules and zscroll. zScroll itself hasnt been updated in a while (couple of years) but appears to remain functional. Hopefully useful example: In my use case, I have 2 scripts - one that contains commands to output the information I want to scroll on the bar, e.g:
So this basically just outputs Then I pass this script into a second script for zscroll:
This will cause text to scroll when the combined artist/title name exceed the defined length value (e.g. 40 chars), and itll only scroll if the output of
Along with some CSS that styles it :) |
Beta Was this translation helpful? Give feedback.
-
I know this is a dead topic, but may I suggest this repo? https://github.com/sicista33/waybar-scrolling-mpris |
Beta Was this translation helpful? Give feedback.
-
Is possible to use css animation for scrolling txt in custom module?
For example for a rss feeds reader.
tnks.
Beta Was this translation helpful? Give feedback.
All reactions