2023-07-17 19:34:58 +03:00
|
|
|
[manager]
|
2023-08-20 05:39:05 +03:00
|
|
|
layout = [ 1, 4, 3 ]
|
2023-08-12 18:08:39 +03:00
|
|
|
sort_by = "modified"
|
2023-10-02 08:13:04 +03:00
|
|
|
sort_sensitive = true
|
2023-08-12 18:08:39 +03:00
|
|
|
sort_reverse = true
|
|
|
|
sort_dir_first = true
|
|
|
|
show_hidden = false
|
2023-08-17 09:58:46 +03:00
|
|
|
show_symlink = true
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
[preview]
|
|
|
|
tab_size = 2
|
|
|
|
max_width = 600
|
|
|
|
max_height = 900
|
2023-08-31 13:21:06 +03:00
|
|
|
cache_dir = ""
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
[opener]
|
2023-10-19 05:48:05 +03:00
|
|
|
edit = [
|
|
|
|
{ exec = '$EDITOR "$@"', block = true, for = "unix" },
|
|
|
|
{ exec = 'code "%*"', for = "windows" },
|
2023-07-27 03:08:09 +03:00
|
|
|
]
|
2023-10-19 05:48:05 +03:00
|
|
|
open = [
|
|
|
|
{ exec = 'xdg-open "$@"', desc = "Open", for = "linux" },
|
|
|
|
{ exec = 'open "$@"', desc = "Open", for = "macos" },
|
|
|
|
{ exec = '%1', desc = "Open", for = "windows" }
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
2023-10-19 05:48:05 +03:00
|
|
|
reveal = [
|
|
|
|
{ exec = 'open -R "$@"', desc = "Reveal", for = "macos" },
|
|
|
|
{ exec = 'explorer "%*"', desc = "Reveal", for = "windows" },
|
|
|
|
{ exec = '''exiftool "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show EXIF", for = "unix" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
2023-10-19 05:48:05 +03:00
|
|
|
extract = [
|
|
|
|
{ exec = 'unar "$1"', desc = "Extract here", for = "unix" },
|
|
|
|
{ exec = 'unar "%1"', desc = "Extract here", for = "windows" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
2023-10-19 05:48:05 +03:00
|
|
|
play = [
|
|
|
|
{ exec = 'mpv "$@"', orphan = true, for = "unix" },
|
|
|
|
{ exec = 'mpv "%1"', for = "windows" },
|
|
|
|
{ exec = '''mediainfo "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show media info", for = "unix" },
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[open]
|
|
|
|
rules = [
|
2023-10-19 05:48:05 +03:00
|
|
|
{ name = "*/", use = [ "edit", "open", "reveal" ] },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-19 05:48:05 +03:00
|
|
|
{ mime = "text/*", use = [ "edit", "reveal" ] },
|
|
|
|
{ mime = "image/*", use = [ "open", "reveal" ] },
|
|
|
|
{ mime = "video/*", use = [ "play", "reveal" ] },
|
|
|
|
{ mime = "audio/*", use = [ "play", "reveal" ] },
|
|
|
|
{ mime = "inode/x-empty", use = [ "edit", "reveal" ] },
|
2023-09-05 15:28:24 +03:00
|
|
|
|
2023-10-19 05:48:05 +03:00
|
|
|
{ mime = "application/json", use = [ "edit", "reveal" ] },
|
|
|
|
{ mime = "*/javascript", use = [ "edit", "reveal" ] },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-19 05:48:05 +03:00
|
|
|
{ mime = "application/zip", use = [ "extract", "reveal" ] },
|
|
|
|
{ mime = "application/gzip", use = [ "extract", "reveal" ] },
|
|
|
|
{ mime = "application/x-tar", use = [ "extract", "reveal" ] },
|
|
|
|
{ mime = "application/x-bzip", use = [ "extract", "reveal" ] },
|
|
|
|
{ mime = "application/x-bzip2", use = [ "extract", "reveal" ] },
|
|
|
|
{ mime = "application/x-7z-compressed", use = [ "extract", "reveal" ] },
|
|
|
|
{ mime = "application/x-rar", use = [ "extract", "reveal" ] },
|
2023-08-13 14:01:48 +03:00
|
|
|
|
2023-10-19 05:48:05 +03:00
|
|
|
{ mime = "*", use = [ "open", "reveal" ] },
|
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-10-11 19:09:10 +03:00
|
|
|
[plugins]
|
|
|
|
preload = []
|
|
|
|
|
2023-08-02 05:29:49 +03:00
|
|
|
[log]
|
|
|
|
enabled = false
|