Yazi: Add audio shuffle.
This commit is contained in:
parent
15efd83a30
commit
b13c8885d9
|
@ -44,6 +44,11 @@
|
||||||
orphan = true;
|
orphan = true;
|
||||||
run = openWith "mpv --no-video";
|
run = openWith "mpv --no-video";
|
||||||
}];
|
}];
|
||||||
|
audioShuffle = [{
|
||||||
|
desc = "Audio Shuffle";
|
||||||
|
orphan = true;
|
||||||
|
run = "mpv --no-video --shuffle \"$@\"/**";
|
||||||
|
}];
|
||||||
browser = [{
|
browser = [{
|
||||||
desc = "Browser";
|
desc = "Browser";
|
||||||
orphan = true;
|
orphan = true;
|
||||||
|
@ -132,6 +137,7 @@
|
||||||
(mkMime "video/*" [ "video" ])
|
(mkMime "video/*" [ "video" ])
|
||||||
(mkMime "text/html" [ "browser" ])
|
(mkMime "text/html" [ "browser" ])
|
||||||
(mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ])
|
(mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ])
|
||||||
|
(mkMime "inode/directory" [ "audioShuffle" ])
|
||||||
(mkMime "*" [ ])
|
(mkMime "*" [ ])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue