From 297fffea5a030668b0f2a6bf9acd50f55513be4f Mon Sep 17 00:00:00 2001 From: ocfox Date: Thu, 5 Sep 2024 01:24:42 +0800 Subject: [PATCH] xdg add custom protocol mpv mpv://play//?= --- hosts/whitefox/default.nix | 1 + hosts/whitefox/environment/systemPackages.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/hosts/whitefox/default.nix b/hosts/whitefox/default.nix index 69407b1..e1ea0fa 100755 --- a/hosts/whitefox/default.nix +++ b/hosts/whitefox/default.nix @@ -16,6 +16,7 @@ { "application/x-xdg-protocol-tg" = [ "org.telegram.desktop.desktop" ]; "x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ]; + "x-scheme-handler/mpv" = [ "mpv-handler.desktop" ]; "application/pdf" = [ "sioyek.desktop" ]; } // lib.genAttrs [ diff --git a/hosts/whitefox/environment/systemPackages.nix b/hosts/whitefox/environment/systemPackages.nix index 59a8e7d..0a6668a 100644 --- a/hosts/whitefox/environment/systemPackages.nix +++ b/hosts/whitefox/environment/systemPackages.nix @@ -25,6 +25,7 @@ with pkgs; xwinwrap polkit_gnome thunderbird + mpv-handler rpiplay tree-sitter yarn