mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,21 @@
|
||||
[metadata]
|
||||
name = "images"
|
||||
description = "Browse image files with preview"
|
||||
requirements = ["fd", "chafa"]
|
||||
|
||||
[source]
|
||||
command = [
|
||||
{ name = "Default", run = "fd -t f -e png -e jpg -e jpeg -e gif -e webp -e bmp -e svg ." },
|
||||
{ name = "Hidden", run = "fd -t f -e png -e jpg -e jpeg -e gif -e webp -e bmp -e svg -H ." },
|
||||
]
|
||||
|
||||
[preview]
|
||||
command = "chafa -s 80x40 '{}' 2>/dev/null || file '{}'"
|
||||
|
||||
[keybindings]
|
||||
enter = "actions:open"
|
||||
|
||||
[actions.open]
|
||||
description = "Open the selected image with default viewer"
|
||||
command = "xdg-open {} 2>/dev/null || open {}"
|
||||
mode = "fork"
|
||||
Reference in new issue
Block a user