aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--dot_config/yazi/yazi.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/dot_config/yazi/yazi.toml b/dot_config/yazi/yazi.toml
index 793ca59..0ef2780 100644
--- a/dot_config/yazi/yazi.toml
+++ b/dot_config/yazi/yazi.toml
@@ -3,3 +3,10 @@ show_hidden = true
scrolloff = 10
linemode = "mtime"
title_format = "Yazi: {cwd}"
+
+# Override the default `open` opener so xdg-open is detached from yazi
+# (otherwise yazi treats the viewer as an unfinished task and prompts on quit).
+[opener]
+open = [
+ { run = 'xdg-open "$@"', desc = "Open", orphan = true },
+]