Add mpris script to mpv

This commit is contained in:
2025-04-12 15:43:10 +02:00
parent 536ed15f48
commit 615ec9d1d5
3 changed files with 5 additions and 3 deletions
-2
View File
@@ -14,8 +14,6 @@
# Making legacy nix commands consistent as well, awesome!
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
channel.enable = false;
optimise.automatic = true;
settings = {
warn-dirty = false;
+1 -1
View File
@@ -127,7 +127,7 @@ return {
event = "DeferredUIEnter",
after = function()
require("areyoulockedin").setup({
session_key = "076af1c5-767f-4d5b-8a33-ea559d513f0e",
session_key = "3689e546-b1a4-4cc3-8209-f612e7428528",
})
end,
}
+4
View File
@@ -41,6 +41,10 @@ in {
src = tmux;
};
mpv = super.mpv.override {
scripts = [super.mpvScripts.mpris];
};
# Gnome-control-center can only be launched if XDG_CURRENT_DESKTOP is GNOME.
gnome-control-center = wrapProgram super.gnome-control-center ["gnome-control-center"] "--set XDG_CURRENT_DESKTOP GNOME";