1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 00:39:45 +01:00
This commit is contained in:
rycee 2024-10-25 08:06:59 +00:00
parent 9dc3b99f34
commit 78c443c31a

View file

@ -45394,6 +45394,51 @@ package</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">pkgs.spotify-player</code></p>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/spotify-player.nix" target="_top">
&lt;home-manager/modules/programs/spotify-player.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.spotify-player.actions"></a><a class="term" href="options.xhtml#opt-programs.spotify-player.actions"><code class="option">programs.spotify-player.actions</code>
</a>
</span>
</dt>
<dd>
<p>Configuration written to the <code class="literal">actions</code> field of
<code class="filename">$XDG_CONFIG_HOME/spotify-player/keymap.toml</code>.</p><p>See
<a class="link" href="https://github.com/aome510/spotify-player/blob/master/docs/config.md#actions" target="_top">https://github.com/aome510/spotify-player/blob/master/docs/config.md#actions</a>
for the full list of options.</p>
<p><span class="emphasis"><em>Type:</em></span>
list of (TOML value)</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">[ ]</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">[
{
action = &quot;GoToArtist&quot;;
key_sequence = &quot;g A&quot;;
}
{
action = &quot;GoToAlbum&quot;;
key_sequence = &quot;g B&quot;;
target = &quot;PlayingTrack&quot;;
}
{
action = &quot;ToggleLiked&quot;;
key_sequence = &quot;C-l&quot;;
}
]
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>