Skip to content

mpris: add hide-on-paused option - #5309

Open
sndsh404 wants to merge 1 commit into
Alexays:masterfrom
sndsh404:mpris-hide-on-paused
Open

sndsh404 wants to merge 1 commit into
Alexays:masterfrom
sndsh404:mpris-hide-on-paused

Conversation

@sndsh404

@sndsh404 sndsh404 commented Sep 8, 2026

Copy link
Copy Markdown

What does this PR do?

Adds a hide-on-paused boolean to the mpris module. When true, the module hides entirely while the player is paused instead of rendering format-paused.

Browsers keep a paused MPRIS session alive after the tab is closed, so the bar shows a stale track until the browser itself exits. This gives a way to suppress that without ignoring the player entirely.

Defaults to false, so existing configs are unaffected.

Related issues

Closes #3113

Checklist

  • Code is formatted with clang-format
  • Builds locally (ninja -C build)
  • Man page updated for any new/changed user-facing option (man/)
  • Tested against the affected module(s)

Adds a boolean option to hide the module entirely while the player is
paused, rather than rendering format-paused. Useful for browsers, which
keep a paused MPRIS session alive after the tab is closed.

Closes Alexays#3113
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.

MPRIS: Ability to hide module when paused

1 participant