commit 802bf546c93c8cf8eb6f2bcd6e8ab9b2bbcf22b7
parent 0598e9c3611aed87b120993f0316f779231553ad
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 8 Jul 2021 19:01:21 +0200
users/vincent: add support for mpris in mpv…
This allows playerctl to control mpv, meaning I can pause bongo
playing from anywhere 😛
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/users/vincent/desktop/mpv.nix b/users/vincent/desktop/mpv.nix
@@ -1,8 +1,11 @@
+{ pkgs, ... }:
+
{
programs.mpv = {
enable = true;
config = {
hwdec = "auto";
};
+ scripts = [ pkgs.mpvScripts.mpris ];
};
}