Gerg-L / spicetify-nix

A nix flake for configuring spicetify. Includes packaging for many popular themes and extensions.
GNU General Public License v3.0
95 stars 12 forks source link

Feature request: set up snippets #218

Open adriabrucortes opened 1 month ago

adriabrucortes commented 1 month ago

Hi! It would be nice to be able to set up snippets for spicetify (like "Hide lyrics button", "Hide download", etc)

gigamonster256 commented 1 month ago

These? https://github.com/Gerg-L/spicetify-nix/issues/209#issuecomment-2211837593

Gerg-L commented 1 month ago

Yeah i just need to add documentation

42Willow commented 1 month ago

EDIT: snippets use camelCase now


If anyone is wondering... it uses the last bit of the preview string in snippets.json https://github.com/Gerg-L/spicetify-nix/blob/master/pkgs/snippets.json e.g. image

programs.spicetify = {
    enable = true;
    enabledExtensions = with spicePkgs.extensions; [
      adblock
      hidePodcasts
      shuffle
    ];
    enabledCustomApps = with spicePkgs.apps; [
      lyricsPlus
      newReleases
    ];
    enabledSnippets = with spicePkgs.snippets; [
      pointer
      smooth-progress-bar
      remove-popular
      hide-download-button
    ];
    theme = spicePkgs.themes.catppuccin;
    colorScheme = "macchiato";
  };