emacs: add mpv to play list

This commit is contained in:
Ingolf Wagner 2020-03-25 08:09:30 +08:00
parent ac90db9744
commit 8a43860333
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -185,6 +185,12 @@ in {
rule = suffix: ''("${pkgs.sxiv}/bin/sxiv" "\\.${suffix}$")''; rule = suffix: ''("${pkgs.sxiv}/bin/sxiv" "\\.${suffix}$")'';
in lib.concatStringsSep "\n " (builtins.map rule suffixes) in lib.concatStringsSep "\n " (builtins.map rule suffixes)
} }
${
let
suffixes = [ "mp4" "mkv" "avi" ];
rule = suffix: ''("${pkgs.mpv}/bin/mpv" "\\.${suffix}$")'';
in lib.concatStringsSep "\n " (builtins.map rule suffixes)
}
) )
) )
''; '';