This commit is contained in:
2025-10-19 16:04:18 +02:00
parent 534f4ba863
commit 606d911930
2 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,9 @@ show_hidden = false
mouse_events = []
[opener]
image = [
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
]
play = [
{ run = 'mpv "$@"', orphan = true, for = "unix" },
]
@@ -24,10 +27,10 @@ prepend_rules = [
{ name = "*.html", use = [ "open" ] },
]
rules = [
{ mime = "image/*", use = "open" },
{ mime = "image/*", use = "image" },
{ mime = "text/*", use = "edit" },
{ mime = "video/*", use = "play" },
]
append_rules = [
{ name = "*", use = ["edit", "open", "play"]}
{ name = "*", use = ["edit", "open", "image", "play"]}
]