From dbf5251a2d0b24e5dd899c25fff842346fbb0457 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 3 May 2023 01:15:20 +0200 Subject: [PATCH] packages/ungoogled-chromium: add MPRIS2 support --- packages/nixpak/ungoogled-chromium/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/nixpak/ungoogled-chromium/default.nix b/packages/nixpak/ungoogled-chromium/default.nix index 1e646fa..8988b0a 100644 --- a/packages/nixpak/ungoogled-chromium/default.nix +++ b/packages/nixpak/ungoogled-chromium/default.nix @@ -10,7 +10,12 @@ mkNixPak { imports = [ ../modules/gui-base.nix ../modules/network.nix + ../modules/mpris2-player.nix ]; + # chromium doesn't use the expected MPRIS2 name format + dbus.policies = { + "org.mpris.MediaPlayer2.chromium.*" = "own"; + }; bubblewrap = { bind.rw = [ [