32 lines
680 B
TOML
32 lines
680 B
TOML
|
[manager]
|
||
|
ratio = [1, 4, 3]
|
||
|
#show_hidden = true
|
||
|
show_symlink = true
|
||
|
|
||
|
[opener]
|
||
|
play = [
|
||
|
{ run = 'mpv "$@"', orphan = true, for = "unix" },
|
||
|
#{ run = '"C:\Program Files\mpv.exe" %*', orphan = true, for = "windows" }
|
||
|
]
|
||
|
edit = [
|
||
|
{ run = '$EDITOR "$@"', block = true, for = "unix" },
|
||
|
#{ run = "%EDITOR% %*", block = true, for = "windows" },
|
||
|
]
|
||
|
open = [
|
||
|
{ run = 'xdg-open "$@"', desc = "Open" },
|
||
|
]
|
||
|
sioyek = [
|
||
|
{ run = 'sioyek "$@"', orphan = true, for = "unix" },
|
||
|
]
|
||
|
|
||
|
[open]
|
||
|
prepend_rules = [
|
||
|
{ name = "*.pdf", use = "sioyek" },
|
||
|
|
||
|
# Multiple openers for a single rule
|
||
|
#{ name = "*.html", use = [ "open", "edit" ] },
|
||
|
]
|
||
|
#append_rules = [
|
||
|
# { name = "*", use = "my-fallback" },
|
||
|
#]
|