diff --git a/options.xhtml b/options.xhtml index c8ac853ae..c2d8837d3 100644 --- a/options.xhtml +++ b/options.xhtml @@ -42472,6 +42472,217 @@ null or (attribute set of (string or signed integer or boolean or list of string +
+ + programs.spotify-player.enable + + +
+
+

Whether to enable spotify-player.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/spotify-player.nix> + +
+
+
+ + programs.spotify-player.package + + +
+
+

The spotify-player package to use.

+ +

Type: +package

+ +

Default: +pkgs.spotify-player

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/spotify-player.nix> + +
+
+
+ + 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:

+ + +
+ +<home-manager/modules/programs/spotify-player.nix> + +
+
+
+ + 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:

{
+  theme = "default";
+  playback_window_position = "Top";
+  copy_command = {
+    command = "wl-copy";
+    args = [];
+  };
+  device = {
+    audio_cache = false;
+    normalization = false;
+  };
+}
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/spotify-player.nix> + +
+
+
+ + 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:

[
+  {
+    name = "default2";
+    palette = {
+      black = "black";
+      red = "red";
+      green = "green";
+      yellow = "yellow";
+      blue = "blue";
+      magenta = "magenta";
+      cyan = "cyan";
+      white = "white";
+      bright_black = "bright_black";
+      bright_red = "bright_red";
+      bright_green = "bright_green";
+      bright_yellow = "bright_yellow";
+      bright_blue = "bright_blue";
+      bright_magenta = "bright_magenta";
+      bright_cyan = "bright_cyan";
+      bright_white = "bright_white";
+    };
+    component_style = {
+      block_title = { fg = "Magenta"; };
+      border = {};
+      playback_track = { fg = "Cyan"; modifiers = ["Bold"]; };
+      playback_artists = { fg = "Cyan"; modifiers = ["Bold"]; };
+      playback_album = { fg = "Yellow"; };
+      playback_metadata = { fg = "BrightBlack"; };
+      playback_progress_bar = { bg = "BrightBlack"; fg = "Green"; };
+      current_playing = { fg = "Green"; modifiers = ["Bold"]; };
+      page_desc = { fg = "Cyan"; modifiers = ["Bold"]; };
+      table_header = { fg = "Blue"; };
+      selection = { modifiers = ["Bold" "Reversed"]; };
+    };
+  }
+]
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/spotify-player.nix> + +
+
programs.sqls.enable