Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
A new Now-Playing module has been added to the waybar that dynamically displays the current playing media. It utilizes the playerctl package to get the metadata of the media and displays it in a modern and sleek way.
The module has a variable length depending on the length of the media title. It also dynamically adjusts to all the wayar themes and changes the background based on the playing status of the media.
It utilizes scrolling text to enhance readability, even in shorter lengths.
The script is lightweight and efficient in its task, and also provides various media playback functions instantly.
Changes
Context
Currently, there is no way to control the media playing in the foreground or background. This Now-Playing module not only does that job but also provides various playback functions at quick disposal.
How Has This Been Tested?
I have tested this with Light, Dark and Colored themes. It works flawlessly.
Checklist
Please ensure your pull request meets the following requirements:
Screenshots
Paused:
Playing:
Related Issues
None.
Additional Notes
I think the module looks good on the left side.