1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 08:31:03 +01:00
This commit is contained in:
khaneliman 2025-08-02 22:47:10 +00:00
parent 20f80d9e94
commit dc5f94e1d7

View file

@ -67200,7 +67200,7 @@ null or package</p>
</dt> </dt>
<dd> <dd>
<p>Each set of channels are written to <p>Each set of channels are written to
<code class="filename">$XDG_CONFIG_HOME/television/NAME-channels.toml</code></p><p>See <a class="link" href="https://github.com/alexpasmantier/television/blob/main/docs/channels.md" target="_top">https://github.com/alexpasmantier/television/blob/main/docs/channels.md</a> <code class="filename">$XDG_CONFIG_HOME/television/cable/NAME.toml</code></p><p>See <a class="link" href="https://alexpasmantier.github.io/television/docs/Users/channels" target="_top">https://alexpasmantier.github.io/television/docs/Users/channels</a>
for options</p> for options</p>
<p><span class="emphasis"><em>Type:</em></span> <p><span class="emphasis"><em>Type:</em></span>
@ -67210,22 +67210,38 @@ attribute set of (TOML value)</p>
<code class="literal">{ }</code></p> <code class="literal">{ }</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{ <p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
my-custom = { git-diff = {
cable_channel = [ metadata = {
{ description = &quot;A channel to select files from git diff commands&quot;;
name = &quot;git-log&quot;; name = &quot;git-diff&quot;;
source_command = &quot;git log --oneline --date=short --pretty=\&quot;format:%h %s %an %cd\&quot; \&quot;$@\&quot;&quot;; requirements = [
preview_command = &quot;git show -p --stat --pretty=fuller --color=always {0}&quot;; &quot;git&quot;
} ];
{ };
name = &quot;git-log&quot;; preview = {
source_command = &quot;git log --oneline --date=short --pretty=\&quot;format:%h %s %an %cd\&quot; \&quot;$@\&quot;&quot;; command = &quot;git diff HEAD --color=always -- &#x27;{}&#x27;&quot;;
preview_command = &quot;git show -p --stat --pretty=fuller --color=always {0}&quot;; };
} source = {
]; command = &quot;git diff --name-only HEAD&quot;;
};
};
git-log = {
metadata = {
description = &quot;A channel to select from git log entries&quot;;
name = &quot;git-log&quot;;
requirements = [
&quot;git&quot;
];
};
preview = {
command = &quot;git show -p --stat --pretty=fuller --color=always &#x27;{0}&#x27;&quot;;
};
source = {
command = &quot;git log --oneline --date=short --pretty=\&quot;format:%h %s %an %cd\&quot; \&quot;$@\&quot;&quot;;
output = &quot;{split: :0}&quot;;
};
}; };
} }
</code></pre> </code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p> <p><span class="emphasis"><em>Declared by:</em></span></p>