Skip to content

Conversation

Affanmm
Copy link
Contributor

@Affanmm Affanmm commented Sep 10, 2025

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

  • Improved
  • Bug Fixes
  • Feature
  • Documentation
  • Other

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?

  • Tested on Arch Linux/Based Distro.
  • Tested on Fedora Linux/Based Distro.
  • Tested on openSuse.

I have tested this with Light, Dark and Colored themes. It works flawlessly.

Checklist

Please ensure your pull request meets the following requirements:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes do not introduce new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes.

Screenshots

Paused:

screenshot_10092025_125004 screenshot_10092025_130709

Playing:

screenshot_10092025_124953 screenshot_10092025_130648

Related Issues

None.

Additional Notes

I think the module looks good on the left side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant