Yazi: Add audio shuffle.

This commit is contained in:
Dmitry Voronin 2024-11-12 13:18:42 +03:00
parent 15efd83a30
commit b13c8885d9
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -44,6 +44,11 @@
orphan = true;
run = openWith "mpv --no-video";
}];
audioShuffle = [{
desc = "Audio Shuffle";
orphan = true;
run = "mpv --no-video --shuffle \"$@\"/**";
}];
browser = [{
desc = "Browser";
orphan = true;
@ -132,6 +137,7 @@
(mkMime "video/*" [ "video" ])
(mkMime "text/html" [ "browser" ])
(mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ])
(mkMime "inode/directory" [ "audioShuffle" ])
(mkMime "*" [ ])
];
};