mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
feat(cable): add extensive television cable channel configurations and related files
This commit is contained in:
1 parent
7c786f9349
commit
e9a7fd1fde
72 files changed
+2101
No files matched your search
@@ -0,0 +1,24 @@
|
||||
[metadata]
|
||||
name = "pdf-files"
|
||||
description = "Browse PDF files"
|
||||
requirements = ["fd", "pdftotext"]
|
||||
|
||||
[source]
|
||||
command = [
|
||||
{ name = "Default", run = "fd -t f -e pdf ." },
|
||||
{ name = "Hidden", run = "fd -t f -e pdf -H ." },
|
||||
]
|
||||
|
||||
[preview]
|
||||
command = "pdftotext -l 2 -layout '{}' - 2>/dev/null | head -100 || file '{}'"
|
||||
|
||||
[ui]
|
||||
layout = "portrait"
|
||||
|
||||
[keybindings]
|
||||
enter = "actions:open"
|
||||
|
||||
[actions.open]
|
||||
description = "Open the selected PDF with default viewer"
|
||||
command = "xdg-open {} 2>/dev/null || open {}"
|
||||
mode = "fork"
|
||||
Reference in new issue
Block a user