Skip to content

refactor(mpris): remove user toggle, always enable on Linux#24

Merged
flexiondotorg merged 1 commit intomainfrom
mpris-refactor
Mar 23, 2026
Merged

refactor(mpris): remove user toggle, always enable on Linux#24
flexiondotorg merged 1 commit intomainfrom
mpris-refactor

Conversation

@flexiondotorg
Copy link
Copy Markdown
Member

MPRIS is a fundamental platform requirement on Linux and should not be user-configurable. Always initialise the MPRIS D-Bus service on Linux without toggle or config option.

  • Remove getMprisEnabled() and setMprisEnabled() from config
  • Remove MPRIS checkbox from tray menu
  • Remove MPRIS_TEXT translation record
  • Remove app.on('mpris-toggle') event listener
  • Unexport enable() and disable() (now module-private)
  • Call mpris.enable() unconditionally in init()

Checklist

  • I have performed a self-review of my code
  • I have tested my changes and confirmed there are no regressions

MPRIS is a fundamental platform requirement on Linux and should not be
user-configurable. Always initialise the MPRIS D-Bus service on Linux
without toggle or config option.

- Remove `getMprisEnabled()` and `setMprisEnabled()` from config
- Remove MPRIS checkbox from tray menu
- Remove `MPRIS_TEXT` translation record
- Remove `app.on('mpris-toggle')` event listener
- Unexport `enable()` and `disable()` (now module-private)
- Call `mpris.enable()` unconditionally in `init()`

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files

@flexiondotorg flexiondotorg merged commit 173788b into main Mar 23, 2026
10 checks passed
@flexiondotorg flexiondotorg deleted the mpris-refactor branch March 23, 2026 03:24
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