wip
This commit is contained in:
19
.config/television/cable/dotfiles.toml
Normal file
19
.config/television/cable/dotfiles.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user