diff --git a/config/yazi/yazi.toml b/config/yazi/yazi.toml index 9a66e06..df98d8b 100644 --- a/config/yazi/yazi.toml +++ b/config/yazi/yazi.toml @@ -19,6 +19,9 @@ image = [ { run = 'xdg-open "$@"', desc = "Open" }, { run = 'set-theme "$@"', desc = "Set desktop theme from this image" }, ] +xdg = [ + { run = 'xdg-open "$@"', desc = "Open in default application" } +] [open] rules = [ @@ -26,4 +29,5 @@ rules = [ { mime = "image/png", use = "image" }, { mime = "image/jpg", use = "image" }, { mime = "image/jpeg", use = "image" }, + { mime = "*", use = "xdg" } ]