mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
25 lines
604 B
TOML
25 lines
604 B
TOML
[metadata]
|
|||
|
|
name = "man-pages"
|
||
|
|
description = "Browse and preview system manual pages"
|
||
|
|
requirements = ["apropos", "man"]
|
||
|
|
|
||
|
|
[source]
|
||
|
|
# List all man pages using apropos
|
||
|
|
command = "apropos ."
|
||
|
|
|
||
|
|
[preview]
|
||
|
|
# Show the man page for the selected entry
|
||
|
|
command = "man '{0}'"
|
||
|
|
env = { "MANWIDTH" = "80" }
|
||
|
|
|
||
|
|
[keybindings]
|
||
|
|
enter = "actions:open"
|
||
|
|
|
||
|
|
[actions.open]
|
||
|
|
description = "Open the selected man page in the system pager"
|
||
|
|
command = "man '{0}'"
|
||
|
|
mode = "execute"
|
||
|
|
|
||
|
|
[ui]
|
||
|
|
layout = "portrait"
|
||
|
|
preview_panel = { header = "{0}", border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } }
|