diff --git a/home/config/yazi/module/Yazi.nix b/home/config/yazi/module/Yazi.nix index 0189f825..d966a941 100644 --- a/home/config/yazi/module/Yazi.nix +++ b/home/config/yazi/module/Yazi.nix @@ -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 "*" [ ]) ]; };