mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 06:32:03 +00:00
Update: 2024-10-17
This commit is contained in:
@@ -42,7 +42,10 @@ reveal = [
|
||||
{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 = 'unar "$1"', desc = "Extract here", for = "unix"}, {run = 'unar "%1"', desc = "Extract here", for = "windows"} ]
|
||||
extract = [
|
||||
{run = 'ouch d -y "%*"', desc = "Extract here with ouch", for = "windows"},
|
||||
{run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix"},
|
||||
]
|
||||
play = [
|
||||
{run = 'mpv "$@"', orphan = true, for = "unix"},
|
||||
{run = 'mpv "%1"', orphan = true, for = "windows"},
|
||||
@@ -87,7 +90,7 @@ previewers = [
|
||||
{mime = "text/*", run = "code"},
|
||||
{mime = "*/{xml,javascript,x-wine-extension-ini}", run = "code"},
|
||||
# JSON
|
||||
{mime = "application/json", run = "json"},
|
||||
{mime = "application/json", run = "code"},
|
||||
# Image
|
||||
{mime = "image/vnd.djvu", run = "noop"},
|
||||
{mime = "image/*", run = "image"},
|
||||
@@ -95,20 +98,27 @@ previewers = [
|
||||
{mime = "video/*", run = "video"},
|
||||
# PDF
|
||||
{mime = "application/pdf", run = "pdf"},
|
||||
# Archive
|
||||
{mime = "application/*zip", run = "archive"},
|
||||
{mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", run = "archive"},
|
||||
# Fallback
|
||||
{name = "*", run = "file"},
|
||||
]
|
||||
prepend_previewers = [
|
||||
prepend_previewers = [ ]
|
||||
|
||||
append_previewers = [
|
||||
{name = "*.ipynb", run = "nbpreview"},
|
||||
{mime = "application/x-bittorrent", run = "torrent-preview"},
|
||||
{mime = "audio/*", run = "exifaudio"},
|
||||
{mime = "text/csv", run = "miller"},
|
||||
{name = "*.{md,mdx,markdown}", run = "glow"},
|
||||
# Archive previewer
|
||||
{mime = "application/*zip", run = "ouch"},
|
||||
{mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", run = "ouch"},
|
||||
{name = "*", run = "hexyl"},
|
||||
]
|
||||
|
||||
prepend_fetchers = [
|
||||
{id = "git", name = "*", run = "git"},
|
||||
{id = "git", name = "*/", run = "git"},
|
||||
]
|
||||
append_previewers = [ {name = "*", run = "hexyl"} ]
|
||||
|
||||
[input]
|
||||
# cd
|
||||
|
||||
Reference in New Issue
Block a user