🚀 perf(yazi): make orphans the image, audio, video and fallback openers

This commit is contained in:
Sergio Laín 2024-08-01 14:38:54 +02:00
parent bffb5d6198
commit 25c16033d7
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -26,10 +26,18 @@ document = [
{ run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" },
]
image = [{ run = 'xdg-open "$@"', desc = "xdg-open", for = "linux" }]
video = [{ run = 'xdg-open "$@"', desc = "xdg-open", for = "linux" }]
audio = [{ run = 'xdg-open "$@"', desc = "xdg-open", for = "linux" }]
fallback = [{ run = 'xdg-open "$@"', desc = "xdg-open", for = "linux" }]
image = [
{ run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" },
]
video = [
{ run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" },
]
audio = [
{ run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" },
]
fallback = [
{ run = 'xdg-open "$@"', orphan = true, desc = "xdg-open", for = "linux" },
]
[open]
rules = [