2023-07-17 19:34:58 +03:00
|
|
|
[manager]
|
2023-08-12 18:08:39 +03:00
|
|
|
sort_by = "modified"
|
|
|
|
sort_reverse = true
|
|
|
|
sort_dir_first = true
|
|
|
|
show_hidden = false
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
[preview]
|
|
|
|
tab_size = 2
|
|
|
|
max_width = 600
|
|
|
|
max_height = 900
|
|
|
|
|
|
|
|
[opener]
|
2023-07-27 03:08:09 +03:00
|
|
|
folder = [
|
2023-08-12 14:57:48 +03:00
|
|
|
{ exec = 'open -R "$@"', display_name = "Reveal in Finder" },
|
|
|
|
{ exec = 'vim "$@"' },
|
2023-07-27 03:08:09 +03:00
|
|
|
]
|
2023-07-17 19:34:58 +03:00
|
|
|
archive = [
|
2023-08-12 14:57:48 +03:00
|
|
|
{ exec = 'unar "$1"', display_name = "Extract here" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
text = [
|
2023-08-12 14:57:48 +03:00
|
|
|
{ exec = 'vim "$@"', block = true },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
image = [
|
2023-08-12 14:57:48 +03:00
|
|
|
{ exec = 'open "$@"', display_name = "Open" },
|
|
|
|
{ exec = '''exiftool "$1"; echo "Press enter to exit"; read''', block = true, display_name = "Show EXIF" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
video = [
|
2023-08-12 14:57:48 +03:00
|
|
|
{ exec = 'mpv "$@"' },
|
|
|
|
{ exec = '''mediainfo "$1"; echo "Press enter to exit"; read''', block = true, display_name = "Show media info" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
audio = [
|
2023-08-12 14:57:48 +03:00
|
|
|
{ exec = 'mpv "$@"' },
|
|
|
|
{ exec = '''mediainfo "$1"; echo "Press enter to exit"; read''', block = true, display_name = "Show media info" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
fallback = [
|
2023-08-12 14:57:48 +03:00
|
|
|
{ exec = 'open "$@"', display_name = "Open" },
|
|
|
|
{ exec = 'open -R "$@"', display_name = "Reveal in Finder" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[open]
|
|
|
|
rules = [
|
2023-07-27 03:08:09 +03:00
|
|
|
{ name = "*/", use = "folder" },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
{ mime = "text/*", use = "text" },
|
|
|
|
{ mime = "image/*", use = "image" },
|
|
|
|
{ mime = "video/*", use = "video" },
|
|
|
|
{ mime = "audio/*", use = "audio" },
|
2023-08-12 14:57:48 +03:00
|
|
|
{ mime = "inode/x-empty", use = "text" },
|
|
|
|
{ mime = "application/json", use = "text" },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
{ mime = "application/x-bzip", use = "archive" },
|
|
|
|
{ mime = "application/x-bzip2", use = "archive" },
|
|
|
|
{ mime = "application/gzip", use = "archive" },
|
|
|
|
{ mime = "application/vnd.rar", use = "archive" },
|
|
|
|
{ mime = "application/x-tar", use = "archive" },
|
|
|
|
{ mime = "application/zip", use = "archive" },
|
|
|
|
{ mime = "application/x-7z-compressed", use = "archive" },
|
2023-08-13 14:01:48 +03:00
|
|
|
|
|
|
|
{ mime = "*", use = "fallback" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
2023-08-02 05:29:49 +03:00
|
|
|
|
2023-08-14 02:44:01 +03:00
|
|
|
[tasks]
|
|
|
|
micro_workers = 5
|
|
|
|
macro_workers = 10
|
|
|
|
bizarre_retry = 5
|
|
|
|
|
2023-08-02 05:29:49 +03:00
|
|
|
[log]
|
|
|
|
enabled = false
|