Each set of channels are written to $XDG_CONFIG_HOME/television/NAME-channels.toml
See https://github.com/alexpasmantier/television/blob/main/docs/channels.md for options.
Declarations
Type
attribute set of (TOML value)
Default
{ }
Example
{
my-custom = {
cable_channel = [
{
name = "git-log";
source_command = "git log --oneline --date=short --pretty=\"format:%h %s %an %cd\" \"$@\"";
preview_command = "git show -p --stat --pretty=fuller --color=always {0}";
}
{
name = "git-log";
source_command = "git log --oneline --date=short --pretty=\"format:%h %s %an %cd\" \"$@\"";
preview_command = "git show -p --stat --pretty=fuller --color=always {0}";
}
];
};
}