mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
20 lines
374 B
TOML
20 lines
374 B
TOML
[metadata]
|
|
name = "dotfiles"
|
|
description = "A channel to select from your user's dotfiles"
|
|
requirements = ["fd", "bat"]
|
|
|
|
[source]
|
|
command = "fd -t f . $HOME/.config"
|
|
|
|
[preview]
|
|
command = "bat -n --color=always '{}'"
|
|
|
|
[keybindings]
|
|
enter = "actions:edit"
|
|
|
|
[actions.edit]
|
|
description = "Edit the selected dotfile"
|
|
command = "${EDITOR:-vim} {}"
|
|
shell = "bash"
|
|
mode = "execute"
|