minor updatre

This commit is contained in:
Alexander Navarro 2025-10-09 18:03:52 -03:00
parent 3129cc7bee
commit 7c1b64881b
9 changed files with 15 additions and 7 deletions

View file

@ -44,6 +44,7 @@ prepend_keymap = [
{ on = ["<C-x>", "k"], run = "shell 'ya pub-to 0 TransferUpload --list \"$@\"'", desc = "Upload with transfer.nvim" },
{ on = ["<C-x>", "d"], run = ["shell 'ya pub-to 0 DiffRemote --orphan --list \"$@\"'", "quit"], desc = "Diff with transfer.nvim" },
{ on = ["<C-x>", "<S-D>"], run = ["shell 'ya pub-to 0 TransferDirDiff --list \"$@\"'"], desc = "Diff directory with transfer.nvim" },
]
[input]

View file

@ -4,7 +4,7 @@
[mgr]
ratio = [1, 3, 4]
sort_by = "alphabetical"
sort_by = "natural"
sort_sensitive = false
sort_reverse = false
sort_dir_first = true
@ -32,6 +32,7 @@ open = [{ run = 'xdg-open "$@"', desc = "Open", for = "linux" }, { run = 'open "
reveal = [{ run = 'open -R "$1"', desc = "Reveal", for = "macos" }, { run = 'explorer /select, "%1"', orphan = true, desc = "Reveal", for = "windows" }, { run = '''exiftool "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show EXIF", for = "unix" }]
extract = [{ run = 'ya pub extract --list "$@"', desc = "Extract here", for = "unix" }, { run = 'ya pub extract --list %*', desc = "Extract here", for = "windows" }]
play = [{ run = 'mpv "$@"', orphan = true, for = "unix" }, { run = 'mpv "%1"', orphan = true, for = "windows" }, { run = '''mediainfo "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show media info", for = "unix" }]
upload_img = [{ run = 'immich upload --recursive "$@" || read -n 1 -p "press anything to exit"', desc = "Upload image to Immich server", for = "linux", block = true }]
[open]
rules = [
@ -46,7 +47,7 @@ rules = [
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = ["extract", "reveal"] },
# Image
{ mime = "image/*", use = ["open", "reveal"] },
{ mime = "image/*", use = ["open", "upload_img"] },
# Media
{ mime = "{audio,video}/*", use = ["play", "open", "reveal"] },