20 lines
384 B
TOML
20 lines
384 B
TOML
[metadata]
|
|
name = "dotfiles"
|
|
description = "A channel to select from your user's dotfiles"
|
|
requirements = ["fdfind", "bat"]
|
|
|
|
[source]
|
|
command = "fdfind -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"
|