44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[mgr]
|
|
ratio = [3, 3, 7]
|
|
|
|
[preview]
|
|
ueberzug_offset = [22, 5, 0, 0]
|
|
|
|
[plugin]
|
|
|
|
prepend_preloaders = [
|
|
# Office Documents
|
|
{ mime = "application/vnd.openxmlformats-officedocument.*", run = "office" },
|
|
{ mime = "application/vnd.oasis.opendocument.*", run = "office" },
|
|
{ mime = "application/vnd.ms-*", run = "office" },
|
|
{ mime = "application/msword", run = "office" },
|
|
{ name = "*.docx", run = "office" },
|
|
{ name = "*.odt", run = "office" },
|
|
{ name = "*.ods", run = "office" },
|
|
]
|
|
|
|
prepend_previewers = [
|
|
# Office Documents
|
|
{ mime = "application/vnd.openxmlformats-officedocument.*", run = "office" },
|
|
{ mime = "application/vnd.oasis.opendocument.*", run = "office" },
|
|
{ mime = "application/vnd.ms-*", run = "office" },
|
|
{ mime = "application/msword", run = "office" },
|
|
{ name = "*.docx", run = "office" },
|
|
{ name = "*.odt", run = "office" },
|
|
{ name = "*.ods", run = "office" },
|
|
|
|
{ name = "*.md", run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"' },
|
|
|
|
{ name = "*/", run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"' },
|
|
{ name = "*.tar*", run = 'piper --format=url -- tar tf "$1"' },
|
|
|
|
]
|
|
|
|
[[opener.noop]]
|
|
run = 'true'
|
|
desc = "No-op"
|
|
|
|
[[open.prepend_rules]]
|
|
mime = "inode/directory"
|
|
use = "noop"
|