MyNixOS website logo
option

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.

Declarations
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";
  }
]