programs.spotify-player.enable
Whether to enable spotify-player.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.spotify-player.package
The spotify-player package to use.
Type: null or package
Default:
pkgs.spotify-player
Declared by:
programs.spotify-player.actions
Configuration written to the actions field of
$XDG_CONFIG_HOME/spotify-player/keymap.toml.
See https://github.com/aome510/spotify-player/blob/master/docs/config.md#actions for the full list of options.
Type: list of (TOML value)
Default:
[ ]
Example:
[
{
action = "GoToArtist";
key_sequence = "g A";
}
{
action = "GoToAlbum";
key_sequence = "g B";
target = "PlayingTrack";
}
{
action = "ToggleLiked";
key_sequence = "C-l";
}
]
Declared by:
programs.spotify-player.keymaps
Configuration written to the keymaps field of
$XDG_CONFIG_HOME/spotify-player/keymap.toml.
See https://github.com/aome510/spotify-player/blob/master/docs/config.md#keymaps for the full list of options.
Type: list of (TOML value)
Default:
[ ]
Example:
[
{
command = "NextTrack";
key_sequence = "g n";
}
{
command = "PreviousTrack";
key_sequence = "g p";
}
{
command = "Search";
key_sequence = "C-c C-x /";
}
{
command = "ResumePause";
key_sequence = "M-enter";
}
{
command = "None";
key_sequence = "q";
}
]
Declared by:
programs.spotify-player.settings
Configuration written to
$XDG_CONFIG_HOME/spotify-player/app.toml.
See https://github.com/aome510/spotify-player/blob/master/docs/config.md#general for the full list of options.
Type: TOML value
Default:
{ }
Example:
{
copy_command = {
args = [ ];
command = "wl-copy";
};
device = {
audio_cache = false;
normalization = false;
};
playback_window_position = "Top";
theme = "default";
}
Declared by:
programs.spotify-player.themes
Configuration written to the themes field of
$XDG_CONFIG_HOME/spotify-player/theme.toml.
See https://github.com/aome510/spotify-player/blob/master/docs/config.md#themes for the full list of options.
Type: list of (TOML value)
Default:
[ ]
Example:
[
{
component_style = {
block_title = {
fg = "Magenta";
};
border = { };
current_playing = {
fg = "Green";
modifiers = [
"Bold"
];
};
page_desc = {
fg = "Cyan";
modifiers = [
"Bold"
];
};
playback_album = {
fg = "Yellow";
};
playback_artists = {
fg = "Cyan";
modifiers = [
"Bold"
];
};
playback_metadata = {
fg = "BrightBlack";
};
playback_progress_bar = {
bg = "BrightBlack";
fg = "Green";
};
playback_track = {
fg = "Cyan";
modifiers = [
"Bold"
];
};
selection = {
modifiers = [
"Bold"
"Reversed"
];
};
table_header = {
fg = "Blue";
};
};
name = "default2";
palette = {
black = "black";
blue = "blue";
bright_black = "bright_black";
bright_blue = "bright_blue";
bright_cyan = "bright_cyan";
bright_green = "bright_green";
bright_magenta = "bright_magenta";
bright_red = "bright_red";
bright_white = "bright_white";
bright_yellow = "bright_yellow";
cyan = "cyan";
green = "green";
magenta = "magenta";
red = "red";
white = "white";
yellow = "yellow";
};
}
]
Declared by: