mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
20 lines
435 B
TOML
20 lines
435 B
TOML
[metadata]
|
|
name = "channels"
|
|
description = "Select a television channel"
|
|
requirements = ["tv", "bat"]
|
|
|
|
[source]
|
|
command = ["tv list-channels"]
|
|
|
|
[preview]
|
|
command = "bat -pn --color always ${TELEVISION_CONFIG:-${XDG_CONFIG_HOME:-$HOME/.config}/television}/cable/{}.toml"
|
|
shell = "bash"
|
|
|
|
[keybindings]
|
|
enter = "actions:channel-enter"
|
|
|
|
[actions.channel-enter]
|
|
description = "Enter a television channel"
|
|
command = "tv {}"
|
|
mode = "execute"
|