├── .envrc ├── pkgs ├── fetcher │ ├── .envrc │ ├── .gitignore │ ├── default.nix │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── version.patch ├── apps.nix ├── default.nix ├── npins │ ├── sources.nix │ └── sources.json ├── spicetifyBuilder.nix ├── themes.nix ├── extensions.nix └── generated.json ├── .gitignore ├── .github ├── README.md ├── renovate.json └── workflows │ ├── docs.yml │ └── update_deps.yaml ├── modules ├── homeManager.nix ├── darwin.nix ├── nixos.nix ├── default.nix ├── common.nix ├── linuxOpts.nix └── options.nix ├── TODO.md ├── docs ├── options.md ├── package.json ├── spicetify.data.js ├── .vitepress │ └── config.mts ├── index.md ├── snippets.md ├── package.nix ├── custom-apps.md ├── usage.md ├── themes.md └── extensions.md ├── default.nix ├── lib └── default.nix ├── flake.lock ├── flake.nix ├── checks ├── flake.nix └── flake.lock └── LICENSE /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /pkgs/fetcher/.envrc: -------------------------------------------------------------------------------- 1 | use flake ../../#fetcher 2 | -------------------------------------------------------------------------------- /pkgs/fetcher/.gitignore: -------------------------------------------------------------------------------- 1 | debug/ 2 | target/ 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *result 2 | *.direnv 3 | node_modules 4 | cache 5 | dist 6 | -------------------------------------------------------------------------------- /.github/README.md: -------------------------------------------------------------------------------- 1 | # Spicetify-Nix 2 | 3 | See the generated docs: 4 | -------------------------------------------------------------------------------- /modules/homeManager.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | config, 4 | ... 5 | }: 6 | { 7 | home.packages = lib.mkIf config.programs.spicetify.enable config.programs.spicetify.createdPackages; 8 | } 9 | -------------------------------------------------------------------------------- /modules/darwin.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | config, 4 | ... 5 | }: 6 | { 7 | environment.systemPackages = lib.mkIf config.programs.spicetify.enable config.programs.spicetify.createdPackages; 8 | } 9 | -------------------------------------------------------------------------------- /modules/nixos.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | config, 4 | ... 5 | }: 6 | { 7 | environment.systemPackages = lib.mkIf config.programs.spicetify.enable config.programs.spicetify.createdPackages; 8 | } 9 | -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- 1 | Auto generate extensions/themes without breaking everything (just most things) - customApps are not possible to auto generate 2 | 3 | Auto generate extension, theme, customApps, and snippet rendered docs 4 | 5 | Pin specific spotify version from snapcraft.io if need be 6 | -------------------------------------------------------------------------------- /docs/options.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Options 3 | --- 4 | 5 | # {{ $frontmatter.title }} 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- 1 | { 2 | pkgs ? import { }, 3 | }: 4 | pkgs.lib.fix ( 5 | self: 6 | { 7 | packages = import ./pkgs { inherit pkgs self; }; 8 | lib = import ./lib { 9 | inherit self; 10 | inherit (pkgs) lib; 11 | }; 12 | } 13 | // import ./modules self 14 | ) 15 | -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "docs", 3 | "type": "module", 4 | "scripts": { 5 | "dev": "vitepress dev", 6 | "build": "vitepress build --base=/spicetify-nix/", 7 | "preview": "vitepress preview" 8 | }, 9 | "devDependencies": { 10 | "easy-nix-documentation": "^1.3.0", 11 | "vitepress": "^1.6.3" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "config:recommended" 5 | ], 6 | "packageRules": [ 7 | { 8 | "groupName": "all non-major dependencies", 9 | "groupSlug": "all-minor-patch", 10 | "matchPackageNames": [ 11 | "*" 12 | ], 13 | "matchUpdateTypes": [ 14 | "minor", 15 | "patch" 16 | ] 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /pkgs/fetcher/default.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | rustPlatform, 4 | }: 5 | let 6 | toml = (lib.importTOML (./Cargo.toml)).package; 7 | in 8 | rustPlatform.buildRustPackage { 9 | pname = toml.name; 10 | inherit (toml) version; 11 | src = lib.fileset.toSource { 12 | root = ./.; 13 | fileset = lib.fileset.unions [ 14 | ./src 15 | ./Cargo.toml 16 | ./Cargo.lock 17 | ]; 18 | }; 19 | cargoLock.lockFile = ./Cargo.lock; 20 | 21 | meta.mainProgram = "fetcher"; 22 | } 23 | -------------------------------------------------------------------------------- /modules/default.nix: -------------------------------------------------------------------------------- 1 | self: 2 | builtins.listToAttrs ( 3 | map 4 | (x: { 5 | name = "${x}Modules"; 6 | value = 7 | let 8 | imports = [ 9 | (import ./common.nix self) 10 | ./${x}.nix 11 | ]; 12 | in 13 | { 14 | default = { inherit imports; }; 15 | spicetify = { inherit imports; }; 16 | }; 17 | }) 18 | [ 19 | "nixos" 20 | "homeManager" 21 | "darwin" 22 | ] 23 | ) 24 | -------------------------------------------------------------------------------- /pkgs/version.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/preprocess/preprocess.go b/src/preprocess/preprocess.go 2 | index ac0f084..f38ece2 100644 3 | --- a/src/preprocess/preprocess.go 4 | +++ b/src/preprocess/preprocess.go 5 | @@ -66,7 +66,7 @@ func Start(version string, extractedAppsPath string, flags Flag) { 6 | var cssTranslationMap = make(map[string]string) 7 | // readSourceMapAndGenerateCSSMap(appPath) 8 | 9 | - if version != "Dev" { 10 | + if version != "@version@" { 11 | tag, err := FetchLatestTagMatchingOrMain(version) 12 | if err != nil { 13 | utils.PrintWarning("Cannot fetch version tag for CSS mappings") 14 | 15 | -------------------------------------------------------------------------------- /docs/spicetify.data.js: -------------------------------------------------------------------------------- 1 | import { loadOptions, stripNixStore } from "easy-nix-documentation/loader" 2 | export default { 3 | async load() { 4 | const optionsJSON = process.env.SPICETIFY_OPTIONS_JSON 5 | if (optionsJSON === undefined) { 6 | console.log("SPICETIFY_OPTIONS_JSON is undefined"); 7 | exit(1) 8 | } 9 | return await loadOptions(optionsJSON, { 10 | include: [/^(?!.*_module)/], 11 | mapDeclarations: declaration => { 12 | const relDecl = stripNixStore(declaration); 13 | return `<spicetify/${relDecl}>` 14 | }, 15 | }) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/common.nix: -------------------------------------------------------------------------------- 1 | self: 2 | { 3 | lib, 4 | pkgs, 5 | config, 6 | ... 7 | }: 8 | { 9 | options.programs.spicetify = lib.mkOption { 10 | type = lib.types.submoduleWith { 11 | specialArgs = { inherit pkgs; }; 12 | modules = [ 13 | (import ./options.nix self) 14 | ] ++ lib.optional pkgs.stdenv.isLinux ./linuxOpts.nix; 15 | }; 16 | default = { }; 17 | }; 18 | 19 | config = { 20 | warnings = map (warning: "programs.spicetify: ${warning}") config.programs.spicetify.warnings; 21 | assertions = map (assertion: { 22 | inherit (assertion) assertion; 23 | message = "programs.spicetify: ${assertion.message}"; 24 | }) config.programs.spicetify.assertions; 25 | }; 26 | _file = ./common.nix; 27 | } 28 | -------------------------------------------------------------------------------- /lib/default.nix: -------------------------------------------------------------------------------- 1 | { self, lib }: 2 | { 3 | mkSpicetify = 4 | pkgs: module: 5 | let 6 | evaled = lib.evalModules { 7 | specialArgs = { 8 | inherit pkgs; 9 | }; 10 | modules = [ 11 | (import ../modules/options.nix self) 12 | module 13 | ] ++ lib.optional pkgs.stdenv.isLinux ../modules/linuxOpts.nix; 14 | }; 15 | failedAssertions = map (x: x.message) (builtins.filter (x: !x.assertion) evaled.config.assertions); 16 | baseSystemAssertWarn = 17 | if failedAssertions != [ ] then 18 | throw "\nFailed assertions:\n${lib.concatMapStrings (x: "- ${x}") failedAssertions}" 19 | else 20 | lib.showWarnings evaled.config.warnings; 21 | in 22 | baseSystemAssertWarn evaled.config.spicedSpotify; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /docs/.vitepress/config.mts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vitepress' 2 | export default defineConfig({ 3 | title: "Spicetify-nix", 4 | description: "", 5 | themeConfig: { 6 | search: { 7 | provider: 'local', 8 | }, 9 | nav: [ 10 | { text: 'Home', link: '/index' }, 11 | { text: 'Options', link: '/options' }, 12 | { text: 'Usage', link: '/usage' }, 13 | { text: 'Themes', link: '/themes' }, 14 | { text: 'Extensions', link: '/extensions' }, 15 | { text: 'Custom Apps', link: '/custom-apps' }, 16 | { text: 'Snippets', link: '/snippets' }, 17 | 18 | ], 19 | 20 | socialLinks: [ 21 | { icon: 'github', link: 'https://github.com/Gerg-L/spicetify-nix' }, 22 | ], 23 | 24 | outline: { 25 | level: "deep", 26 | }, 27 | }, 28 | vite: { 29 | ssr: { 30 | noExternal: 'easy-nix-documentation', 31 | }, 32 | }, 33 | }) 34 | -------------------------------------------------------------------------------- /pkgs/fetcher/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "fetcher" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [dependencies] 7 | convert_case = "0.10.0" 8 | octocrab = "0.48.1" 9 | serde = "1.0.228" 10 | serde_json = "1.0.145" 11 | serde_with = "3.16.1" 12 | tokio = {version = "1.48.0", features = ["macros", "rt-multi-thread"]} 13 | 14 | [lints.clippy] 15 | pedantic = { level = "warn", priority = -1 } 16 | nursery = { level = "warn", priority = -1 } 17 | 18 | arbitrary_source_item_ordering = "allow" 19 | expect_used = "allow" 20 | implicit_return = "allow" 21 | missing_docs_in_private_items = "allow" 22 | missing_trait_methods = "allow" 23 | panic = "allow" 24 | panic_in_result_fn = "allow" 25 | question_mark_used = "allow" 26 | ref_patterns = "allow" 27 | unwrap_in_result = "allow" 28 | unwrap_used = "allow" 29 | wildcard_enum_match_arm = "allow" 30 | -------------------------------------------------------------------------------- /pkgs/apps.nix: -------------------------------------------------------------------------------- 1 | { sources }: 2 | { 3 | ncsVisualizer = { 4 | name = "ncs-visualizer"; 5 | src = sources.ncsVisualizerSrc; 6 | }; 7 | 8 | localFiles = { 9 | name = "localFiles"; 10 | src = sources.localFilesSrc; 11 | }; 12 | marketplace = { 13 | name = "marketplace"; 14 | src = sources.marketplaceSrc; 15 | }; 16 | nameThatTune = { 17 | name = "nameThatTune"; 18 | src = sources.nameThatTuneSrc; 19 | }; 20 | 21 | newReleases = { 22 | src = "${sources.officialSrc}/CustomApps/new-releases"; 23 | name = "new-releases"; 24 | }; 25 | reddit = { 26 | src = "${sources.officialSrc}/CustomApps/reddit"; 27 | name = "reddit"; 28 | }; 29 | lyricsPlus = { 30 | src = "${sources.officialSrc}/CustomApps/lyrics-plus"; 31 | name = "lyrics-plus"; 32 | }; 33 | historyInSidebar = { 34 | src = sources.historySidebarSrc; 35 | name = "History"; 36 | }; 37 | betterLibrary = { 38 | src = "${sources.betterLibrarySrc}/CustomApps/betterLibrary"; 39 | name = "betterLibrary"; 40 | }; 41 | } 42 | -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: home 3 | 4 | hero: 5 | name: "Spicetify-nix" 6 | actions: 7 | - theme: brand 8 | text: Options 9 | link: /options 10 | - theme: brand 11 | text: Usage 12 | link: /usage 13 | - theme: brand 14 | text: Themes 15 | link: /themes 16 | - theme: brand 17 | text: Extensions 18 | link: /extensions 19 | - theme: brand 20 | text: Custom Apps 21 | link: /custom-apps 22 | - theme: brand 23 | text: Snippets 24 | link: /snippets 25 | - theme: alt 26 | text: GitHub 27 | link: https://github.com/Gerg-L/spicetify-nix 28 | --- 29 | 30 | ## About 31 | Originally forked from [the-argus](https://github.com/the-argus/spicetify-nix) 32 | which forked from 33 | [pietdevries94](https://github.com/pietdevries94/spicetify-nix) deleted and 34 | re-made repo for discoverability as github does not like to show forks in the 35 | search 36 | 37 | Modifies Spotify using [spicetify-cli](https://github.com/spicetify/cli). 38 | 39 | ### Try it out 40 | 41 | `nix run github:Gerg-L/spicetify-nix#test` 42 | -------------------------------------------------------------------------------- /modules/linuxOpts.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | pkgs, 4 | config, 5 | ... 6 | }: 7 | { 8 | options = { 9 | windowManagerPatch = lib.mkEnableOption '' 10 | preloading the spotifywm patch. 11 | 12 | Note: this is only available on linux 13 | ''; 14 | spotifywmPackage = lib.mkPackageOption pkgs "spotifywm" { 15 | extraDescription = '' 16 | Note: this is only available on linux 17 | ''; 18 | }; 19 | wayland = lib.mkOption { 20 | type = lib.types.nullOr lib.types.bool; 21 | default = null; 22 | example = true; 23 | description = '' 24 | `true` sets chrome flags to use wayland native. 25 | 26 | `false` sets chrome flags to use Xwayland. 27 | 28 | `null` relies on the `$NIXOS_OZONE_WL` environmental variable 29 | 30 | Note: this is only available on linux 31 | ''; 32 | }; 33 | }; 34 | config.assertions = [ 35 | { 36 | assertion = config.spotifyPackage.pname != "spotifywm"; 37 | message = '' 38 | Do not set spotifyPackage to pkgs.spotifywm 39 | instead enable windowManagerPatch and set spotifywmPackage 40 | ''; 41 | } 42 | ]; 43 | } 44 | -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- 1 | { 2 | "nodes": { 3 | "nixpkgs": { 4 | "locked": { 5 | "lastModified": 1766070988, 6 | "narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=", 7 | "owner": "NixOS", 8 | "repo": "nixpkgs", 9 | "rev": "c6245e83d836d0433170a16eb185cefe0572f8b8", 10 | "type": "github" 11 | }, 12 | "original": { 13 | "owner": "NixOS", 14 | "ref": "nixos-unstable", 15 | "repo": "nixpkgs", 16 | "type": "github" 17 | } 18 | }, 19 | "root": { 20 | "inputs": { 21 | "nixpkgs": "nixpkgs", 22 | "systems": "systems" 23 | } 24 | }, 25 | "systems": { 26 | "locked": { 27 | "lastModified": 1681028828, 28 | "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 29 | "owner": "nix-systems", 30 | "repo": "default", 31 | "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 32 | "type": "github" 33 | }, 34 | "original": { 35 | "owner": "nix-systems", 36 | "repo": "default", 37 | "type": "github" 38 | } 39 | } 40 | }, 41 | "root": "root", 42 | "version": 7 43 | } 44 | -------------------------------------------------------------------------------- /docs/snippets.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Snippets 3 | --- 4 | # {{ $frontmatter.title }} 5 | 6 | Snippets are just strings, so you can put whatever css you want into `enabledSnippets`. 7 | 8 | ```nix 9 | enabledSnippets = [ 10 | '' 11 | Some long css string 12 | '' 13 | ]; 14 | ``` 15 | 16 | Or use any of the generated ones: 17 | 18 | Currently the creation of snippets is done using the spicetify marketplace snippets.json file at 19 | 20 | The name of the snippets are the file name of the `previews` field in `camelCase`. 21 | 22 | For example: 23 | 24 | ```json 25 | { 26 | "title": "Remove Playlist Album Cover", 27 | "description": "Remove the album cover from the playlist banner", 28 | "code": ".main-entityHeader-imageContainer.main-entityHeader-imageContainerNew { display: none; }", 29 | "preview": "resources/assets/snippets/Remove-Playlist-Cover.png" 30 | } 31 | ``` 32 | 33 | is named `removePlaylistCover` 34 | 35 | You can view all available snippets using: 36 | 37 | ```bash 38 | nix eval --impure --json --expr 'builtins.attrNames ((builtins.getFlake "github:Gerg-L/spicetify-nix").legacyPackages.x86_64-linux.snippets)' 39 | ``` 40 | -------------------------------------------------------------------------------- /docs/package.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | buildNpmPackage, 4 | importNpmLock, 5 | nixosOptionsDoc, 6 | pkgs, 7 | 8 | self, 9 | }: 10 | let 11 | optionsDoc = nixosOptionsDoc { 12 | inherit 13 | ( 14 | (lib.evalModules { 15 | specialArgs = { inherit pkgs; }; 16 | modules = [ 17 | (import ../modules/options.nix self) 18 | ../modules/linuxOpts.nix 19 | ]; 20 | }) 21 | ) 22 | options 23 | ; 24 | }; 25 | in 26 | buildNpmPackage { 27 | name = "spicetify-docs"; 28 | src = ./.; 29 | 30 | npmDeps = importNpmLock { 31 | npmRoot = ./.; 32 | }; 33 | 34 | inherit (importNpmLock) npmConfigHook; 35 | env.SPICETIFY_OPTIONS_JSON = optionsDoc.optionsJSON; 36 | 37 | # VitePress hangs if you don't pipe the output into a file 38 | buildPhase = '' 39 | runHook preBuild 40 | 41 | local exit_status=0 42 | npm run build > build.log 2>&1 || { 43 | exit_status=$? 44 | : 45 | } 46 | cat build.log 47 | return $exit_status 48 | 49 | runHook postBuild 50 | ''; 51 | 52 | installPhase = '' 53 | runHook preInstall 54 | 55 | mv .vitepress/dist $out 56 | 57 | runHook postInstall 58 | ''; 59 | passthru = optionsDoc; 60 | } 61 | -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- 1 | name: "deploy-docs" 2 | 3 | # Run daily 4 | on: 5 | workflow_dispatch: 6 | schedule: 7 | - cron: '0 6 * * *' 8 | 9 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 10 | permissions: 11 | contents: write 12 | pages: write 13 | id-token: write 14 | 15 | # Allow one concurrent deployment 16 | concurrency: 17 | group: "pages" 18 | cancel-in-progress: true 19 | 20 | jobs: 21 | check_date: 22 | runs-on: ubuntu-latest 23 | name: Check latest commit 24 | outputs: 25 | should_run: ${{ steps.should_run.outputs.should_run }} 26 | steps: 27 | - uses: actions/checkout@v6.0.1 28 | - name: print latest_commit 29 | run: echo ${{ github.sha }} 30 | 31 | - id: should_run 32 | continue-on-error: true 33 | name: check latest commit is less than a day 34 | if: ${{ github.event_name == 'schedule' }} 35 | run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false" 36 | 37 | publish: 38 | needs: check_date 39 | if: ${{ needs.check_date.outputs.should_run != 'false' }} 40 | runs-on: ubuntu-latest 41 | steps: 42 | - uses: actions/checkout@v6.0.1 43 | - uses: cachix/install-nix-action@v31 44 | - run: | 45 | nix build .#docs 46 | cp -r result public 47 | - uses: peaceiris/actions-gh-pages@v4 48 | with: 49 | github_token: ${{ secrets.GITHUB_TOKEN }} 50 | publish_dir: ./public 51 | -------------------------------------------------------------------------------- /pkgs/default.nix: -------------------------------------------------------------------------------- 1 | { 2 | pkgs ? import { }, 3 | unfreePkgs ? pkgs, 4 | ... 5 | }@attrs: 6 | let 7 | inherit (pkgs) lib; 8 | json = lib.importJSON ./generated.json; 9 | in 10 | lib.fix ( 11 | self: 12 | let 13 | callPackage = lib.callPackageWith (pkgs // self); 14 | callPackages = lib.callPackagesWith (pkgs // self); 15 | in 16 | { 17 | docs = callPackage ../docs/package.nix { inherit (attrs) self; }; 18 | inherit (json) snippets; 19 | 20 | fetcher = callPackage ./fetcher { }; 21 | sources = callPackages ./npins/sources.nix { }; 22 | spicetifyBuilder = callPackage ./spicetifyBuilder.nix { }; 23 | 24 | /* 25 | Don't want to callPackage these because 26 | override and overrideDerivation cause issues with the module options 27 | plus why would you want to override the pre-existing packages 28 | when they're so simple to make 29 | */ 30 | extensions = callPackages ./extensions.nix { }; 31 | 32 | themes = callPackages ./themes.nix { }; 33 | 34 | apps = callPackages ./apps.nix { }; 35 | 36 | test = 37 | let 38 | spiceLib = import ../lib { 39 | inherit lib; 40 | inherit (attrs) self; 41 | }; 42 | in 43 | spiceLib.mkSpicetify unfreePkgs { 44 | enabledExtensions = builtins.attrValues { 45 | inherit (self.extensions) 46 | adblockify 47 | hidePodcasts 48 | shuffle 49 | ; 50 | }; 51 | theme = self.themes.catppuccin; 52 | colorScheme = "mocha"; 53 | }; 54 | } 55 | ) 56 | -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | inputs = { 3 | nixpkgs = { 4 | type = "github"; 5 | owner = "NixOS"; 6 | repo = "nixpkgs"; 7 | ref = "nixos-unstable"; 8 | }; 9 | systems = { 10 | type = "github"; 11 | owner = "nix-systems"; 12 | repo = "default"; 13 | }; 14 | }; 15 | 16 | outputs = 17 | { 18 | self, 19 | nixpkgs, 20 | systems, 21 | ... 22 | }: 23 | let 24 | inherit (nixpkgs) lib; 25 | eachSystem = f: lib.genAttrs (import systems) (s: f nixpkgs.legacyPackages.${s}); 26 | in 27 | { 28 | lib = import ./lib { inherit lib self; }; 29 | 30 | legacyPackages = eachSystem ( 31 | pkgs: 32 | import ./pkgs { 33 | inherit pkgs self; 34 | unfreePkgs = import nixpkgs { 35 | inherit (pkgs.stdenv) system; 36 | config.allowUnfreePredicate = pkg: (lib.getName pkg == "spotify"); 37 | }; 38 | } 39 | ); 40 | 41 | formatter = eachSystem (pkgs: pkgs.nixfmt-rfc-style); 42 | 43 | devShells = eachSystem (pkgs: { 44 | default = pkgs.mkShellNoCC { packages = [ pkgs.npins ]; }; 45 | fetcher = pkgs.mkShell { 46 | packages = builtins.attrValues { inherit (pkgs) rust-analyzer clippy rustfmt; }; 47 | inputsFrom = [ self.legacyPackages.${pkgs.stdenv.system}.fetcher ]; 48 | }; 49 | docs = pkgs.mkShellNoCC { 50 | # use npm run dev 51 | packages = [ 52 | pkgs.nodejs 53 | ]; 54 | env.SPICETIFY_OPTIONS_JSON = self.legacyPackages.${pkgs.stdenv.system}.docs.optionsJSON; 55 | }; 56 | }); 57 | } 58 | // import ./modules self; 59 | } 60 | -------------------------------------------------------------------------------- /docs/custom-apps.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Custom Apps 3 | --- 4 | 5 | # {{ $frontmatter.title }} 6 | 7 | ## Using unpackaged customApps 8 | 9 | ```nix 10 | programs.spicetify.enabledCustomApps= [ 11 | ({ 12 | # The source of the customApp 13 | # make sure you're using the correct branch 14 | # It could also be a sub-directory of the repo 15 | src = pkgs.fetchFromGitHub { 16 | owner = ""; 17 | repo = ""; 18 | rev = ""; 19 | hash = ""; 20 | }; 21 | # The actual file name of the customApp usually ends with .js 22 | name = ""; 23 | }) 24 | ]; 25 | ``` 26 | 27 | Almost all customApp PR's will be merged quickly view the git history of 28 | /pkgs/apps.nix for PR examples 29 | 30 | ## Official Apps 31 | 32 | ### newReleases 33 | 34 | Add a page showing new releases from artists you follow. 35 | 36 | ### reddit 37 | 38 | Add a page showing popular music on certain music subreddits. 39 | 40 | ### lyricsPlus 41 | 42 | Add a page with pretty scrolling lyrics. 43 | 44 | ### marketplace 45 | 46 | Add a page where you can browse extensions, themes, apps, and snippets. Using 47 | the marketplace does not work with this flake, however it is still here in order 48 | to allow for browsing. 49 | 50 | ## Community Apps 51 | 52 | ### localFiles 53 | 54 | Add a shortcut to see just your local files. 55 | 56 | ### nameThatTune 57 | 58 | Heardle.app for spicetify. 59 | [Source](https://github.com/theRealPadster/name-that-tune) 60 | 61 | ### ncsVisualizer 62 | 63 | NCS-style visualizer for Spicetify 64 | [Source](https://github.com/Konsl/spicetify-ncs-visualizer) 65 | 66 | ### historyInSidebar 67 | 68 | Adds a shortcut for the "Recently Played" screen to the sidebar. 69 | [Source](https://github.com/Bergbok/Spicetify-Creations) 70 | 71 | ### betterLibrary 72 | 73 | Bring back the centered library. 74 | [Source](https://github.com/Sowgro/betterLibrary) 75 | -------------------------------------------------------------------------------- /docs/usage.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Usage 3 | --- 4 | # {{ $frontmatter.title }} 5 | 6 | 7 | Add this flake as an input 8 | 9 | ```nix 10 | spicetify-nix.url = "github:Gerg-L/spicetify-nix"; 11 | ``` 12 | 13 | > [!IMPORTANT] 14 | > For 24.11 use "github:Gerg-L/spicetify-nix/24.11" instead! 15 | 16 | or `import` the base of this repo with a `fetchTarball` passing `pkgs` 17 | 18 | like `import (builtins.fetchTarball { ... } ) {inherit pkgs;}` 19 | 20 | Then use one of the modules or `spicetify-nix.lib.mkSpicetify` 21 | 22 | ### Wrapper function 23 | 24 | The wrapper takes two arguments `pkgs` and then an attribute set of config 25 | options 26 | 27 | ```nix 28 | let 29 | spicetify = spicetify-nix.lib.mkSpicetify pkgs { 30 | #config options 31 | }; 32 | in { 33 | ... 34 | ``` 35 | 36 | then add it to `environment.systemPackages` or `users.users..packages` or 37 | anywhere you can add a package 38 | 39 | ### Modules 40 | 41 | Import `spicetify-nix..spicetify` into your config 42 | 43 | Where `` is: 44 | 45 | `nixosModules` for NixOS, 46 | 47 | `darwinModules` for nix-darwin 48 | 49 | `homeManagerModules`for home-manager 50 | 51 | ```nix 52 | imports = [ 53 | # Example for NixOS 54 | spicetify-nix.nixosModules.spicetify 55 | ]; 56 | ``` 57 | 58 | and use the `programs.spicetify` options 59 | 60 | ```nix 61 | programs.spicetify = { 62 | enable = true; 63 | #config options 64 | ``` 65 | 66 | and it'll install the wrapped spotify to `environment.systemPackages` or 67 | `home.packages` 68 | 69 | Alternatively set `programs.spicetify.enable = false;` and add 70 | `config.programs.spicetify.spicedSpotify` where you want manually 71 | 72 | > [!IMPORTANT] 73 | > Don't install `pkgs.spotify` anywhere The module installs spotify for you! 74 | 75 | ### Example Configuration 76 | 77 | ```nix 78 | let 79 | # For Flakeless: 80 | # spicePkgs = spicetify-nix.packages; 81 | 82 | # With flakes: 83 | spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system}; 84 | in 85 | programs.spicetify = { 86 | enable = true; 87 | enabledExtensions = with spicePkgs.extensions; [ 88 | adblockify 89 | hidePodcasts 90 | shuffle # shuffle+ (special characters are sanitized out of extension names) 91 | ]; 92 | theme = spicePkgs.themes.catppuccin; 93 | colorScheme = "mocha"; 94 | } 95 | ``` 96 | -------------------------------------------------------------------------------- /.github/workflows/update_deps.yaml: -------------------------------------------------------------------------------- 1 | name: update_deps 2 | 3 | on: 4 | workflow_dispatch: #allow manual triggering 5 | schedule: 6 | - cron: "0 4 * * 0" 7 | jobs: 8 | update_deps: 9 | runs-on: ubuntu-latest 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | steps: 13 | - name: checkout 14 | uses: actions/checkout@v6.0.1 15 | - uses: cachix/install-nix-action@v31 16 | - name: setup git 17 | run: | 18 | git config --local user.email "github-actions[bot]@users.noreply.github.com" 19 | git config --local user.name "github-actions[bot]" 20 | - uses: cachix/cachix-action@v16 21 | with: 22 | name: spicetify-nix 23 | authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' 24 | 25 | - id: flake 26 | name: flake 27 | run: | 28 | MESSAGE=" 29 | flake input updates: 30 | $(nix flake update --no-warn-dirty 2>&1 | { grep -v 'unpacking.*' || true; } | sed '1d')" 31 | 32 | if [ -n "$(git diff-files 2>&1)" ]; then 33 | git add -A 34 | { 35 | echo "message<> "$GITHUB_OUTPUT" 39 | fi 40 | 41 | - id: npins 42 | name: npins 43 | run: | 44 | MESSAGE=" 45 | npins updates: 46 | $(nix run nixpkgs#npins -- -d ./pkgs/npins update -f 2>&1 | { grep '.*Changes:$\|.*url:.*' || true; })" 47 | 48 | if [ -n "$(git diff-files 2>&1)" ]; then 49 | git add -A 50 | { 51 | echo "message<> "$GITHUB_OUTPUT" 55 | fi 56 | - name: fetcher 57 | run: | 58 | pushd pkgs 59 | nix run .#fetcher 60 | popd 61 | - name: Commit and push 62 | run: | 63 | MESSAGE=" 64 | ${{ steps.flake.outputs.message }} 65 | ${{ steps.npins.outputs.message }} 66 | " 67 | if [[ "$MESSAGE" =~ ^[[:space:]]*$ ]]; then 68 | exit 0 69 | fi 70 | 71 | # Check if a small config builds 72 | nix build .#test 73 | 74 | git commit -m "CI update $(date -I)" -m "$MESSAGE" 75 | git push origin 'HEAD:${{ github.ref_name }}' 76 | -------------------------------------------------------------------------------- /checks/flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | inputs = { 3 | nixpkgs = { 4 | type = "github"; 5 | owner = "NixOS"; 6 | repo = "nixpkgs"; 7 | ref = "nixos-unstable"; 8 | }; 9 | nix-darwin = { 10 | type = "github"; 11 | owner = "nix-darwin"; 12 | repo = "nix-darwin"; 13 | }; 14 | home-manager = { 15 | type = "github"; 16 | owner = "nix-community"; 17 | repo = "home-manager"; 18 | }; 19 | spicetify-nix.url = "../."; 20 | }; 21 | 22 | outputs = 23 | { 24 | self, 25 | nix-darwin, 26 | nixpkgs, 27 | spicetify-nix, 28 | home-manager, 29 | ... 30 | }: 31 | # use nix flake check --no-build 32 | { 33 | checks.x86_64-linux = 34 | let 35 | spicePkgs = spicetify-nix.legacyPackages.x86_64-linux; 36 | opts = { 37 | enabledExtensions = builtins.attrValues { 38 | inherit (spicePkgs.extensions) 39 | adblockify 40 | hidePodcasts 41 | shuffle 42 | ; 43 | }; 44 | theme = spicePkgs.themes.catppuccin; 45 | colorScheme = "mocha"; 46 | }; 47 | module = { 48 | programs.spicetify = opts; 49 | }; 50 | pkgs = import nixpkgs { 51 | system = "x86_64-linux"; 52 | config.allowUnfree = true; 53 | }; 54 | 55 | in 56 | { 57 | standalone = spicetify-nix.lib.mkSpicetify pkgs opts; 58 | 59 | home-manager = 60 | (home-manager.lib.homeManagerConfiguration { 61 | inherit pkgs; 62 | modules = [ 63 | spicetify-nix.homeManagerModules.default 64 | { 65 | home = { 66 | username = "x"; 67 | homeDirectory = "/home/x"; 68 | stateVersion = "24.11"; 69 | }; 70 | } 71 | module 72 | ]; 73 | }).activationPackage; 74 | darwin = 75 | (nix-darwin.lib.darwinSystem { 76 | modules = [ 77 | spicetify-nix.darwinModules.default 78 | { 79 | nixpkgs = { 80 | inherit pkgs; 81 | }; 82 | 83 | system = { 84 | configurationRevision = self.rev or self.dirtyRev or null; 85 | stateVersion = 6; 86 | }; 87 | # This might cause weird errors 88 | nixpkgs.hostPlatform = "x86_64-linux"; 89 | } 90 | # also this 91 | module 92 | ]; 93 | }).config.system.build.toplevel; 94 | 95 | nixos = 96 | (nixpkgs.lib.nixosSystem { 97 | modules = [ 98 | spicetify-nix.nixosModules.default 99 | { 100 | nixpkgs = { 101 | inherit pkgs; 102 | }; 103 | 104 | nixpkgs.hostPlatform = "x86_64-linux"; 105 | boot.loader.grub.enable = false; 106 | fileSystems."/".device = "nodev"; 107 | system.stateVersion = nixpkgs.lib.trivial.release; 108 | } 109 | module 110 | ]; 111 | }).config.system.build.toplevel; 112 | 113 | }; 114 | }; 115 | } 116 | -------------------------------------------------------------------------------- /pkgs/npins/sources.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | fetchurl, 4 | fetchgit, 5 | fetchzip, 6 | }: 7 | builtins.mapAttrs 8 | ( 9 | name: 10 | let 11 | getUrl = 12 | { 13 | url, 14 | hash, 15 | ... 16 | }: 17 | fetchurl { 18 | inherit url; 19 | sha256 = hash; 20 | }; 21 | getZip = 22 | { 23 | url, 24 | hash, 25 | ... 26 | }: 27 | fetchzip { 28 | inherit url; 29 | sha256 = hash; 30 | extension = "tar"; 31 | }; 32 | mkGitSource = 33 | { 34 | repository, 35 | revision, 36 | url ? null, 37 | submodules, 38 | hash, 39 | ... 40 | }@attrs: 41 | assert repository ? type; 42 | if url != null && !submodules then 43 | getZip attrs 44 | else 45 | assert repository.type == "Git"; 46 | let 47 | url' = 48 | if repository.type == "Git" then 49 | repository.url 50 | else if repository.type == "GitHub" then 51 | "https://github.com/${repository.owner}/${repository.repo}.git" 52 | else if repository.type == "GitLab" then 53 | "${repository.server}/${repository.repo_path}.git" 54 | else 55 | throw "Unrecognized repository type ${repository.type}"; 56 | 57 | name = 58 | let 59 | matched = builtins.match "^.*/([^/]*)(\\.git)?$" url'; 60 | short = builtins.substring 0 7 revision; 61 | appendShort = if (builtins.match "[a-f0-9]*" revision) != null then "-${short}" else ""; 62 | in 63 | "${if matched == null then "source" else builtins.head matched}${appendShort}"; 64 | in 65 | fetchgit { 66 | inherit name; 67 | url = url'; 68 | rev = revision; 69 | sha256 = hash; 70 | fetchSubmodules = submodules; 71 | }; 72 | in 73 | spec: 74 | assert spec ? type; 75 | let 76 | mayOverride = 77 | path: 78 | let 79 | envVarName = "NPINS_OVERRIDE_${saneName}"; 80 | saneName = lib.stringAsChars (c: if (builtins.match "[a-zA-Z0-9]" c) == null then "_" else c) name; 81 | ersatz = builtins.getEnv envVarName; 82 | in 83 | if ersatz == "" then 84 | path 85 | else 86 | # this turns the string into an actual Nix path (for both absolute and 87 | # relative paths) 88 | builtins.trace "Overriding path of \"${name}\" with \"${ersatz}\" due to set \"${envVarName}\"" ( 89 | if builtins.substring 0 1 ersatz == "/" then 90 | /. + ersatz 91 | else 92 | /. + builtins.getEnv "PWD" + "/${ersatz}" 93 | ); 94 | func = 95 | { 96 | Git = mkGitSource; 97 | GitRelease = mkGitSource; 98 | PyPi = getUrl; 99 | Channel = getZip; 100 | Tarball = getUrl; 101 | } 102 | .${spec.type} or (builtins.throw "Unknown source type ${spec.type}"); 103 | in 104 | spec // { outPath = mayOverride (func spec); } 105 | ) 106 | ( 107 | let 108 | json = lib.importJSON ./sources.json; 109 | in 110 | assert lib.assertMsg (json.version == 5) "Npins version mismatch!"; 111 | json.pins 112 | ) 113 | -------------------------------------------------------------------------------- /pkgs/spicetifyBuilder.nix: -------------------------------------------------------------------------------- 1 | { 2 | lib, 3 | stdenv, 4 | writeText, 5 | crudini, 6 | zenity, 7 | }: 8 | lib.makeOverridable ( 9 | { 10 | spotify, 11 | spicetify-cli, 12 | theme, 13 | config-xpui, 14 | customColorScheme, 15 | extensions, 16 | apps, 17 | extraCommands, 18 | wayland, 19 | colorScheme, 20 | }: 21 | 22 | spotify.overrideAttrs ( 23 | old: 24 | ( 25 | { 26 | name = "spicetify-${theme.name}"; 27 | nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ crudini ]; 28 | 29 | postInstall = 30 | old.postInstall or "" 31 | + '' 32 | export SPICETIFY_CONFIG="$PWD" 33 | export SPICETIFY_STATE="$PWD/state" 34 | mkdir -p "SPICETIFY_STATE" 35 | 36 | mkdir -p {Themes,Extensions,CustomApps} 37 | 38 | cp -r '${theme.src}' 'Themes/${theme.name}' 39 | chmod -R a+wr 'Themes' 40 | 41 | ${lib.optionalString ((theme ? additionalCss) && theme.additionalCss != "") '' 42 | cat '${ 43 | writeText "spicetify-additional-CSS" ("\n" + theme.additionalCss) 44 | }' >> 'Themes/${theme.name}/user.css' 45 | ''} 46 | 47 | # extra commands that this theme might need 48 | ${theme.extraCommands or ""} 49 | 50 | # copy extensions into Extensions folder 51 | ${lib.concatMapStringsSep "\n" (item: "cp -ru '${item.src}/${item.name}' 'Extensions'") extensions} 52 | 53 | # copy custom apps into CustomApps folder 54 | ${lib.concatMapStringsSep "\n" (item: "cp -ru '${item.src}' 'CustomApps/${item.name}'") apps} 55 | 56 | touch 'Themes/${theme.name}/color.ini' 57 | # add a custom color scheme if necessary 58 | ${lib.optionalString (customColorScheme != { }) '' 59 | crudini --merge 'Themes/${theme.name}/color.ini' < '${ 60 | writeText "spicetify-colors.ini" (lib.generators.toINI { } { custom = customColorScheme; }) 61 | }' 62 | ''} 63 | ${lib.optionalString (colorScheme != "") '' 64 | # verify that the color_scheme exists 65 | if ! crudini --get 'Themes/${theme.name}/color.ini' '${config-xpui.Setting.color_scheme}' &>/dev/null; then 66 | echo "colorScheme set to non-existent value: '${config-xpui.Setting.color_scheme}'" 67 | echo "Valid values:" 68 | crudini --get 'Themes/${theme.name}/color.ini' 69 | exit 1 70 | fi 71 | ''} 72 | 73 | touch 'prefs' 74 | 75 | # replace the spotify path with the current derivation's path 76 | sed "s|__SPOTIFY__|${ 77 | if stdenv.isLinux then 78 | "$out/share/spotify" 79 | else if stdenv.isDarwin then 80 | "$out/Applications/Spotify.app/Contents/Resources" 81 | else 82 | throw "" 83 | }|g; s|__PREFS__|$SPICETIFY_CONFIG/prefs|g" '${ 84 | writeText "spicetify-confi-xpui" (lib.generators.toINI { } config-xpui) 85 | }' > 'config-xpui.ini' 86 | 87 | ${extraCommands} 88 | 89 | ${lib.getExe spicetify-cli} --no-restart backup apply 90 | ''; 91 | } 92 | // lib.optionalAttrs (stdenv.isLinux && wayland != null) { 93 | 94 | fixupPhase = '' 95 | runHook preFixup 96 | 97 | wrapProgramShell $out/share/spotify/spotify \ 98 | ''${gappsWrapperArgs[@]} \ 99 | --prefix LD_LIBRARY_PATH : "$librarypath" \ 100 | --prefix PATH : "${lib.getBin zenity}/bin" \ 101 | ${ 102 | if wayland then 103 | ''--add-flags '--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime=true' '' 104 | else 105 | ''--add-flags '--disable-features=UseOzonePlatform --ozone-platform=x11 --enable-wayland-ime=false' '' 106 | } 107 | 108 | runHook postFixup 109 | ''; 110 | } 111 | ) 112 | ) 113 | ) 114 | -------------------------------------------------------------------------------- /checks/flake.lock: -------------------------------------------------------------------------------- 1 | { 2 | "nodes": { 3 | "home-manager": { 4 | "inputs": { 5 | "nixpkgs": "nixpkgs" 6 | }, 7 | "locked": { 8 | "lastModified": 1745071558, 9 | "narHash": "sha256-bvcatss0xodcdxXm0LUSLPd2jjrhqO3yFSu3stOfQXg=", 10 | "owner": "nix-community", 11 | "repo": "home-manager", 12 | "rev": "9676e8a52a177d80c8a42f66566362a6d74ecf78", 13 | "type": "github" 14 | }, 15 | "original": { 16 | "owner": "nix-community", 17 | "repo": "home-manager", 18 | "type": "github" 19 | } 20 | }, 21 | "nix-darwin": { 22 | "inputs": { 23 | "nixpkgs": "nixpkgs_2" 24 | }, 25 | "locked": { 26 | "lastModified": 1744478979, 27 | "narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=", 28 | "owner": "nix-darwin", 29 | "repo": "nix-darwin", 30 | "rev": "43975d782b418ebf4969e9ccba82466728c2851b", 31 | "type": "github" 32 | }, 33 | "original": { 34 | "owner": "nix-darwin", 35 | "repo": "nix-darwin", 36 | "type": "github" 37 | } 38 | }, 39 | "nixpkgs": { 40 | "locked": { 41 | "lastModified": 1744463964, 42 | "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", 43 | "owner": "NixOS", 44 | "repo": "nixpkgs", 45 | "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", 46 | "type": "github" 47 | }, 48 | "original": { 49 | "owner": "NixOS", 50 | "ref": "nixos-unstable", 51 | "repo": "nixpkgs", 52 | "type": "github" 53 | } 54 | }, 55 | "nixpkgs_2": { 56 | "locked": { 57 | "lastModified": 1736241350, 58 | "narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=", 59 | "owner": "NixOS", 60 | "repo": "nixpkgs", 61 | "rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f", 62 | "type": "github" 63 | }, 64 | "original": { 65 | "owner": "NixOS", 66 | "ref": "nixpkgs-unstable", 67 | "repo": "nixpkgs", 68 | "type": "github" 69 | } 70 | }, 71 | "nixpkgs_3": { 72 | "locked": { 73 | "lastModified": 1744932701, 74 | "narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=", 75 | "owner": "NixOS", 76 | "repo": "nixpkgs", 77 | "rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef", 78 | "type": "github" 79 | }, 80 | "original": { 81 | "owner": "NixOS", 82 | "ref": "nixos-unstable", 83 | "repo": "nixpkgs", 84 | "type": "github" 85 | } 86 | }, 87 | "nixpkgs_4": { 88 | "locked": { 89 | "lastModified": 1744463964, 90 | "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", 91 | "owner": "NixOS", 92 | "repo": "nixpkgs", 93 | "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", 94 | "type": "github" 95 | }, 96 | "original": { 97 | "owner": "NixOS", 98 | "ref": "nixos-unstable", 99 | "repo": "nixpkgs", 100 | "type": "github" 101 | } 102 | }, 103 | "root": { 104 | "inputs": { 105 | "home-manager": "home-manager", 106 | "nix-darwin": "nix-darwin", 107 | "nixpkgs": "nixpkgs_3", 108 | "spicetify-nix": "spicetify-nix" 109 | } 110 | }, 111 | "spicetify-nix": { 112 | "inputs": { 113 | "nixpkgs": "nixpkgs_4", 114 | "systems": "systems" 115 | }, 116 | "locked": { 117 | "path": "../.", 118 | "type": "path" 119 | }, 120 | "original": { 121 | "path": "../.", 122 | "type": "path" 123 | }, 124 | "parent": [] 125 | }, 126 | "systems": { 127 | "locked": { 128 | "lastModified": 1681028828, 129 | "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 130 | "owner": "nix-systems", 131 | "repo": "default", 132 | "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 133 | "type": "github" 134 | }, 135 | "original": { 136 | "owner": "nix-systems", 137 | "repo": "default", 138 | "type": "github" 139 | } 140 | } 141 | }, 142 | "root": "root", 143 | "version": 7 144 | } 145 | -------------------------------------------------------------------------------- /pkgs/themes.nix: -------------------------------------------------------------------------------- 1 | { 2 | sources, 3 | pkgs, 4 | lib, 5 | }: 6 | (lib.genAttrs 7 | [ 8 | "blossom" 9 | "flow" 10 | "matte" 11 | "nightlight" 12 | "onepunch" 13 | "sharkBlue" 14 | "sleek" 15 | "starryNight" 16 | "ziro" 17 | ] 18 | ( 19 | x: 20 | let 21 | 22 | name = lib.toUpper (builtins.substring 0 1 x) + (builtins.substring 1 (builtins.stringLength x) x); 23 | in 24 | { 25 | inherit name; 26 | src = "${sources.officialThemes}/${name}"; 27 | 28 | } 29 | ) 30 | ) 31 | // 32 | 33 | { 34 | spotifyNoPremium = throw "spotifyNoPremium is no longer being maintained as of 11/2024"; # added 04/2025 35 | 36 | default = { 37 | name = "Default"; 38 | src = pkgs.writeTextDir "color.ini" '' 39 | [Base] 40 | 41 | [Ocean] 42 | text = FFFFFF 43 | subtext = F1F1F1 44 | main = 0F111A 45 | sidebar = 0F111A 46 | player = 0F111A 47 | card = 00010A 48 | shadow = 0F111A 49 | selected-row = F1F1F1 50 | button = FF4151 51 | button-active = F1F1F1 52 | button-disabled = 434C5E 53 | tab-active = FF4151 54 | notification = 00010A 55 | notification-error = FF4151 56 | misc = 00010A 57 | ''; 58 | }; 59 | 60 | burntSienna = { 61 | name = "BurntSienna"; 62 | src = "${sources.officialThemes}/BurntSienna"; 63 | extraPkgs = [ pkgs.montserrat ]; 64 | 65 | }; 66 | 67 | catppuccin = { 68 | name = "catppuccin"; 69 | src = "${sources.catppuccinSrc}/catppuccin"; 70 | 71 | overwriteAssets = true; 72 | 73 | }; 74 | dribbblish = { 75 | name = "Dribbblish"; 76 | src = "${sources.officialThemes}/Dribbblish"; 77 | requiredExtensions = [ 78 | { 79 | src = "${sources.officialThemes}/Dribbblish"; 80 | name = "theme.js"; 81 | } 82 | ]; 83 | patches = { 84 | "xpui.js_find_8008" = ",(\\w+=)32"; 85 | "xpui.js_repl_8008" = ",\${1}56"; 86 | }; 87 | 88 | overwriteAssets = true; 89 | 90 | additionalCss = '' 91 | .Root { 92 | padding-top: 0px; 93 | } 94 | ''; 95 | }; 96 | 97 | dribbblishDynamic = { 98 | name = "DribbblishDynamic"; 99 | src = sources.dribbblishDynamicSrc; 100 | 101 | requiredExtensions = [ 102 | { 103 | src = sources.dribbblishDynamicSrc; 104 | name = "dribbblish-dynamic.js"; 105 | } 106 | { 107 | src = sources.dribbblishDynamicSrc; 108 | name = "Vibrant.min.js"; 109 | } 110 | ]; 111 | patches = { 112 | "xpui.js_find_8008" = ",(\\w+=)32,"; 113 | "xpui.js_repl_8008" = ",\${1}28,"; 114 | }; 115 | }; 116 | 117 | text = { 118 | name = "text"; 119 | src = "${sources.officialThemes}/text"; 120 | patches = { 121 | "xpui.js_find_8008" = ",(\\w+=)56"; 122 | "xpui.js_repl_8008" = ",\${1}32"; 123 | }; 124 | 125 | }; 126 | 127 | dreary = { 128 | name = "Dreary"; 129 | src = "${sources.officialThemes}/Dreary"; 130 | }; 131 | turntable = { 132 | name = "Turntable"; 133 | src = sources.officialThemes; 134 | requiredExtensions = [ 135 | #"fullAppDisplay.js" 136 | { 137 | name = "theme.js"; 138 | src = "${sources.officialThemes}/Turntable"; 139 | } 140 | ]; 141 | }; 142 | 143 | fluent = { 144 | name = "Fluent"; 145 | src = sources.fluentSrc; 146 | 147 | overwriteAssets = true; 148 | 149 | patches = { 150 | "xpui.js_find_8008" = ",(\\w+=)32"; 151 | "xpui.js_repl_8008" = ",\${1}56"; 152 | }; 153 | requiredExtensions = [ 154 | { 155 | src = sources.fluentSrc; 156 | name = "fluent.js"; 157 | } 158 | ]; 159 | }; 160 | 161 | defaultDynamic = { 162 | name = "DefaultDynamic"; 163 | src = sources.defaultDynamicSrc; 164 | 165 | requiredExtensions = [ 166 | { 167 | src = sources.defaultDynamicSrc; 168 | name = "default-dynamic.js"; 169 | } 170 | { 171 | src = sources.defaultDynamicSrc; 172 | name = "Vibrant.min.js"; 173 | } 174 | ]; 175 | patches = { 176 | "xpui.js_find_8008" = ",(\\w+=)32,"; 177 | "xpui.js_repl_8008" = ",\${1}28,"; 178 | }; 179 | }; 180 | 181 | retroBlur = { 182 | name = "RetroBlur"; 183 | src = sources.retroBlurSrc; 184 | 185 | }; 186 | 187 | # BROKEN. no clue why 188 | omni = { 189 | name = "Omni"; 190 | src = sources.omniSrc; 191 | 192 | overwriteAssets = true; 193 | 194 | requiredExtensions = [ 195 | { 196 | src = sources.omniSrc; 197 | name = "omni.js"; 198 | } 199 | ]; 200 | }; 201 | 202 | bloom = { 203 | name = "Bloom"; 204 | src = "${sources.bloomSrc}/src"; 205 | overwriteAssets = true; 206 | 207 | }; 208 | # originally based on bloom 209 | lucid = { 210 | name = "Lucid"; 211 | src = "${sources.lucidSrc}/src"; 212 | overwriteAssets = true; 213 | requiredExtensions = [ 214 | { 215 | src = "${sources.lucidSrc}/src"; 216 | name = "theme.js"; 217 | } 218 | ]; 219 | }; 220 | 221 | orchis = { 222 | name = "DarkGreen"; 223 | src = "${sources.orchisSrc}/DarkGreen"; 224 | extraPkgs = [ pkgs.fira ]; 225 | 226 | }; 227 | 228 | dracula = { 229 | name = "Dracula"; 230 | src = "${sources.draculaSrc}/Dracula"; 231 | 232 | injectCss = false; 233 | 234 | }; 235 | 236 | nord = { 237 | name = "Nord"; 238 | src = "${sources.nordSrc}/Nord"; 239 | 240 | }; 241 | 242 | comfy = { 243 | name = "Comfy"; 244 | src = "${sources.comfySrc}/Comfy"; 245 | 246 | overwriteAssets = true; 247 | 248 | requiredExtensions = [ 249 | { 250 | src = "${sources.comfySrc}/Comfy"; 251 | name = "theme.js"; 252 | } 253 | ]; 254 | extraCommands = '' 255 | # remove the auto-update functionality 256 | echo "\n" >> ./Extensions/theme.js 257 | cat ./Themes/Comfy/theme.script.js >> ./Extensions/theme.js 258 | ''; 259 | }; 260 | 261 | hazy = { 262 | name = "Hazy"; 263 | src = sources.hazySrc; 264 | requiredExtensions = [ 265 | { 266 | name = "hazy.js"; 267 | src = "${sources.hazySrc}"; 268 | } 269 | ]; 270 | }; 271 | } 272 | -------------------------------------------------------------------------------- /docs/themes.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Themes 3 | --- 4 | # {{ $frontmatter.title }} 5 | 6 | ## Using unpackaged themes 7 | 8 | ```nix 9 | programs.spicetify.theme = { 10 | # Name of the theme (duh) 11 | name = ""; 12 | # The source of the theme 13 | # make sure you're using the correct branch 14 | # It could also be a sub-directory of the repo 15 | src = pkgs.fetchFromGitHub { 16 | owner = ""; 17 | repo = ""; 18 | rev = ""; 19 | hash = ""; 20 | }; 21 | 22 | # Additional theme options all set to defaults 23 | # the docs of the theme should say which of these 24 | # if any you have to change 25 | injectCss = true; 26 | injectThemeJs = true; 27 | replaceColors = true; 28 | homeConfig = true; 29 | overwriteAssets = false; 30 | additonalCss = ""; 31 | } 32 | ``` 33 | 34 | Almost all theme PR's will be merged quickly view the git history of 35 | /pkgs/themes.nix for PR examples 36 | 37 | ## Official Themes 38 | 39 | All of these themes can be found 40 | [here.](https://github.com/spicetify/spicetify-themes) 41 | 42 | ### default 43 | 44 | Identical to the default look of spotify, but with other colorschemes available. 45 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Default/ocean.png?raw=true) 46 | 47 | ### blossom 48 | 49 | A little theme for your Spotify client 50 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Blossom/images/home.png?raw=true) 51 | 52 | ### burntSienna 53 | 54 | Grey and orange theme using the montserrat typeface. 55 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/BurntSienna/screenshot.png?raw=true) 56 | 57 | ### dreary 58 | 59 | Flat design, with lots of thick line borders. 60 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Dreary/bib.png?raw=true) 61 | 62 | ### dribbblish 63 | 64 | Modern, rounded, and minimal design, with fading effects and gradients. 65 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Dribbblish/base.png?raw=true) 66 | 67 | ### flow 68 | 69 | Monochromatic colorschemes with subtle differences between colors, and soft 70 | vertical gradients. 71 | ![preview](https://raw.githubusercontent.com/spicetify/spicetify-themes/master/Flow/screenshots/ocean.png?raw=true) 72 | 73 | ### matte 74 | 75 | A distinct top bar, quick-to-edit CSS variables, and color schemes from Windows 76 | visual styles by KDr3w 77 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Matte/screenshots/ylx-matte.png?raw=true) 78 | 79 | ### nightlight 80 | 81 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Nightlight/screenshots/nightlight.png?raw=true) 82 | 83 | ### onepunch 84 | 85 | Gruvbox. 86 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Onepunch/screenshots/dark_home.png?raw=true) 87 | 88 | ### sleek 89 | 90 | Flat design, with dark blues for the background and single highlight colors in 91 | each scheme. 92 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Sleek/bladerunner.png?raw=true) 93 | 94 | ### starryNight 95 | 96 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/StarryNight/images/base.png?raw=true) 97 | Simple theme with a pure CSS Shooting Star Animation Effect 98 | 99 | ### turntable 100 | 101 | Default spotify, but provides a spinning image of a record when used with 102 | fullAppDisplay.js 103 | ![preview](https://github.com/spicetify/spicetify-themes/blob/master/Turntable/screenshots/fad.png?raw=true) 104 | 105 | ### ziro 106 | 107 | Inspired by the Zorin GTK theme. 108 | ![preview](https://raw.githubusercontent.com/schnensch0/ziro/main/preview/album-blue-dark.png?raw=true) 109 | 110 | ### text 111 | 112 | A TUI-like theme. 113 | ![preview](https://raw.githubusercontent.com/spicetify/spicetify-themes/master/text/screenshots/Spotify.png?raw=true) 114 | 115 | ## Community Themes 116 | 117 | ### catppuccin 118 | 119 | A soothing pastel theme for spotify. Comes in four color schemes: mocha, frappe, 120 | latte, and macchiato. [Source](https://github.com/catppuccin/spicetify) 121 | ![preview](https://github.com/catppuccin/spicetify/blob/main/assets/preview.webp?raw=true) 122 | 123 | ### comfy 124 | 125 | Stay comfy while listening to music. Rounded corners and dark blues. Comes in 126 | many variations. [Source](https://github.com/Comfy-Themes/Spicetify) 127 | ![preview](https://github.com/Comfy-Themes/Spicetify/blob/main/images/color-schemes/comfy.png?raw=true) 128 | 129 | ### dracula 130 | 131 | Default spotify with the colors of the popular scheme. 132 | [Source](https://github.com/Darkempire78/Dracula-Spicetify) 133 | ![preview](https://github.com/Darkempire78/Dracula-Spicetify/blob/master/screenshot.png?raw=true) 134 | 135 | ### nord 136 | 137 | Default spotify with the colors of the popular scheme. 138 | [Source](https://github.com/Tetrax-10/Nord-Spotify) 139 | ![preview](https://raw.githubusercontent.com/Tetrax-10/Nord-Spotify/master/assets/nord/libx/libx-home-page.png?raw=true) 140 | 141 | ### fluent 142 | 143 | Inspired by the design of Windows 11. 144 | [Source](https://github.com/williamckha/spicetify-fluent) 145 | ![preview](https://github.com/williamckha/spicetify-fluent/blob/master/screenshots/dark-1.png?raw=true) 146 | 147 | ### defaultDynamic 148 | 149 | Same as default spotify, but colors change dynamically with album art. 150 | [Source](https://github.com/JulienMaille/spicetify-dynamic-theme) 151 | ![preview](https://github.com/JulienMaille/spicetify-dynamic-theme/blob/main/preview.gif?raw=true) 152 | 153 | ### dribbblishDynamic 154 | 155 | Modern, rounded, and minimal design, with fading effects and gradients, and dynamic. [Source](https://github.com/JulienMaille/dribbblish-dynamic-theme) 156 | ![preview](https://github.com/JulienMaille/dribbblish-dynamic-theme/blob/main/preview.png?raw=true) 157 | 158 | ### retroBlur 159 | 160 | Synthwave theme with a lot of blur and effects. 161 | [Source](https://github.com/Motschen/Retroblur) 162 | ![preview](https://github.com/Motschen/Retroblur/blob/main/preview/playlist.png?raw=true) 163 | 164 | ### omni 165 | 166 | Dark theme created by Rocketseat. [Source](https://github.com/getomni/spicetify) 167 | ![preview](https://github.com/getomni/spicetify/blob/main/screenshot.png?raw=true) 168 | 169 | ### bloom 170 | 171 | Another Spicetify theme inspired by Microsoft's Fluent Design System. 172 | [Source](https://github.com/nimsandu/spicetify-bloom) 173 | ![preview](https://github.com/nimsandu/spicetify-bloom/blob/main/images/dark.png?raw=true) 174 | 175 | ### lucid 176 | 177 | A minimal and dynamic Bloom-inspired theme for Spicetify. 178 | [Source](https://github.com/sanoojes/Spicetify-Lucid) 179 | ![preview](https://github.com/sanoojes/Spicetify-Lucid/blob/main/assets/images/base.png?raw=true) 180 | 181 | ### orchis 182 | 183 | Simple dark green/grey theme. 184 | [Source](https://github.com/canbeardig/Spicetify-Orchis-Colours-v2) 185 | ![preview](https://github.com/canbeardig/Spicetify-Orchis-Colours-v2/blob/main/screenshot.png?raw=true) 186 | 187 | ### hazy 188 | 189 | A translucent spicetify theme. [Source](https://github.com/Astromations/Hazy) 190 | ![preview](https://github.com/Astromations/Hazy/blob/main/hazy_home.png?raw=true) 191 | -------------------------------------------------------------------------------- /docs/extensions.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Extensions 3 | --- 4 | # {{ $frontmatter.title }} 5 | 6 | ## Using unpackaged extensions 7 | 8 | ```nix 9 | programs.spicetify.enabledExtensions = [ 10 | ({ 11 | # The source of the extension 12 | # make sure you're using the correct branch 13 | # It could also be a sub-directory of the repo 14 | src = pkgs.fetchFromGitHub { 15 | owner = ""; 16 | repo = ""; 17 | rev = ""; 18 | hash = ""; 19 | }; 20 | # The actual file name of the extension usually ends with .js 21 | name = ""; 22 | }) 23 | ]; 24 | ``` 25 | 26 | Almost all extension PR's will be merged quickly view the git history of 27 | /pkgs/extensions.nix for PR examples 28 | 29 | ## Official Extensions 30 | 31 | ### autoSkipExplicit 32 | 33 | Christian spotify! 34 | 35 | ### autoSkipVideo 36 | 37 | Video playback (ads and stuff) causes problems in some regions where the videos 38 | can't be played. Just skip them with this extension. 39 | 40 | ### bookmark 41 | 42 | Store and browse pages for looking at later. 43 | 44 | ### fullAppDisplay 45 | 46 | Shows the song cover, title, and artist in fullscreen. 47 | 48 | ### keyboardShortcut 49 | 50 | Vimium-like navigation of spotify. See keyboard shortcuts 51 | [here.](https://spicetify.app/docs/advanced-usage/extensions#keyboard-shortcut) 52 | 53 | ### loopyLoop 54 | 55 | Specify a portion of track to loop over. 56 | 57 | ### popupLyrics 58 | 59 | Open a popup window with the current song's lyrics scrolling across it. 60 | 61 | ### shuffle 62 | 63 | Shuffle properly, using Fisher-Yates with zero bias. 64 | 65 | ### trashbin 66 | 67 | Throw artists or songs in the trash, and permanently skip them. 68 | 69 | ### webnowplaying 70 | 71 | Only useful to windows/rainmeter users, I think. 72 | [Reference](https://spicetify.app/docs/advanced-usage/extensions#web-now-playing) 73 | 74 | ## Community Extensions 75 | 76 | ### groupSession 77 | 78 | Allows you to create a link to share with your friends to listen along with you. 79 | 80 | ### powerBar 81 | 82 | Spotlight-like search bar for spotify. 83 | 84 | ### seekSong 85 | 86 | Allows for youtube-like seeking with keyboard shortcuts. 87 | 88 | ### skipOrPlayLikedSongs 89 | 90 | Set spotify to automatically skip liked songs, or to only play liked songs. 91 | 92 | ### playlistIcons 93 | 94 | Give your playlists icons in the left sidebar. 95 | 96 | ### fullAlbumDate 97 | 98 | Display the day and month of an album's release, as well as the year. 99 | 100 | ### fullAppDisplayMod 101 | 102 | Same as fullAppDisplay, but with slight offset, and scrolling lyrics if using 103 | the lyrics-plus customapp. 104 | 105 | ### goToSong 106 | 107 | Adds an option to the profile menu to go to the currently playing song or 108 | playlist. 109 | 110 | ### listPlaylistsWithSong 111 | 112 | Adds an option to the context menu for songs to show all of your account's 113 | playlists which contain that song. 114 | 115 | ### playlistIntersection 116 | 117 | Compare two playlists, and create a new playlist containing their common songs, 118 | or only the songs unique to one playlist. 119 | 120 | ### skipStats 121 | 122 | Track your skips. 123 | 124 | ### phraseToPlaylist 125 | 126 | Given a phrase, this extension will make a playlist containing a series of songs 127 | which make up that phrase. 128 | 129 | ### wikify 130 | 131 | Show an artist's wikipedia entry. 132 | 133 | ### writeify 134 | 135 | Take notes on songs. 136 | 137 | ### formatColors 138 | 139 | Convert colors defined in root to color.ini format. 140 | 141 | ### featureShuffle 142 | 143 | Create a playlist based off another playlist's audio features. 144 | 145 | ### oldSidebar 146 | 147 | Go back to the old sidebar. 148 | 149 | ### songStats 150 | 151 | Show a song's stats, like dancability, tempo, and key. 152 | 153 | ### autoVolume 154 | 155 | Automatically adjust volume over long periods of time, to reduce ear strain. 156 | 157 | ### showQueueDuration 158 | 159 | Show the total length of all songs currently queued. 160 | 161 | ### copyToClipboard 162 | 163 | Adds an option in the context menu to copy a song's name to your clipboard. 164 | 165 | ### volumeProfiles 166 | 167 | Edit and save settings related to volume to different "profiles." 168 | 169 | ### history 170 | 171 | Adds a page that shows your listening history. 172 | 173 | ### betterGenres 174 | 175 | See what genres the current song is. 176 | 177 | ### lastfm 178 | 179 | Integration with last.fm. Login to show your listening stats for a song, and get 180 | its last.fm link. 181 | 182 | ### hidePodcasts 183 | 184 | Remove everything from the spotify UI relating to podcasts. 185 | 186 | ### adblock 187 | 188 | Remove ads. 189 | 190 | ### savePlaylists 191 | 192 | More than just just following a playlist, this extension allows you to also 193 | create a duplicate of the playlist in your own library. 194 | 195 | ### autoSkip 196 | 197 | Automatically skip certain songs by category, such as remixes, or christmas 198 | songs. 199 | 200 | ### fullScreen 201 | 202 | Similar to fullAppDisplay. 203 | 204 | ### playNext 205 | 206 | Add track to the _top_ of the queue. 207 | 208 | ### volumePercentage 209 | 210 | Adds a percentage number next to the volume adjustment slider, and allows for 211 | more fine control of volume. 212 | 213 | ### copyLyrics 214 | 215 | Copy the lyrics of your song directly from the "Show Lyrics" view. Click and 216 | drag your mouse accross the lyrics, then release to copy them into your 217 | clipboard. 218 | 219 | ### playingSource 220 | 221 | See the context of where you're playing from, and jump to it. 222 | 223 | ### randomBadToTheBoneRiff 224 | 225 | Hell yeah brother... Randomly plays the Bad to the Bone riff 💀 226 | 227 | ### sectionMarker 228 | 229 | See a song's highlighted sections straight from your playbar. 230 | 231 | ### skipAfterTimestamp 232 | 233 | Automatically skip tracks after they reach a timestamp. 234 | 235 | ### beautifulLyrics 236 | 237 | Beautiful Lyrics provides Lyrics to EVERYONE for FREE. Beautiful Lyrics supports 238 | Karaoke, Line, and Statically synced lyrics with additional features like 239 | Background Vocals and Side Vocals. 240 | 241 | ### addToQueueTop 242 | 243 | Adds the ability to add a track | playlist to the top of your Queue, instantly 244 | playing it after the currently playing track ends. 245 | 246 | ### oneko 247 | 248 | cat follow mouse (real). A fork of oneko.js modified for Spicetify. 249 | 250 | ### starRatings 251 | 252 | Rate your music out of 5 stars 253 | 254 | ### queueTime 255 | 256 | Simply displays the time remaining in the current queue. 257 | 258 | ### coverAmbience 259 | 260 | Produces a lovely aesthetic glow from the currently playing album cover. 261 | 262 | ### sleepTimer 263 | 264 | Ported from mobile, automatically pause music after a certain number of minutes or songs. 265 | 266 | ### simpleBeautifulLyrics 267 | 268 | Enhance your full-screen song lyrics experience with this simple theme for 269 | Spotify lyrics page. 270 | 271 | ### allOfArtist 272 | 273 | Create a playlist with all songs of an artist 274 | 275 | ### oldLikeButton 276 | 277 | Add the Old Like Button in tracklists 278 | 279 | ### oldCoverClick 280 | 281 | Restore the old behaviour of clicking on the album cover in the playback bar 282 | 283 | ### bestMoment 284 | 285 | Let you select and listen to a specific segment of the track 286 | 287 | ### catJamSynced 288 | 289 | Lets a cat jam in sync with the beat of your music 290 | -------------------------------------------------------------------------------- /pkgs/extensions.nix: -------------------------------------------------------------------------------- 1 | { sources, lib }: 2 | let 3 | savePlaylists = { 4 | src = "${sources.dakshExtensions}/Extensions"; 5 | name = "savePlaylists.js"; 6 | }; 7 | fullScreen = { 8 | src = "${sources.dakshExtensions}/Extensions/full-screen/dist"; 9 | name = "fullScreen.js"; 10 | }; 11 | autoSkip = { 12 | src = "${sources.dakshExtensions}/Extensions/auto-skip/dist"; 13 | name = "autoSkip.js"; 14 | }; 15 | playNext = { 16 | src = "${sources.dakshExtensions}/Extensions"; 17 | name = "playNext.js"; 18 | }; 19 | volumePercentage = { 20 | src = "${sources.dakshExtensions}/Extensions"; 21 | name = "volumePercentage.js"; 22 | }; 23 | 24 | hidePodcasts = { 25 | src = sources.hidePodcastsSrc; 26 | name = "hidePodcasts.js"; 27 | }; 28 | history = { 29 | src = sources.historySrc; 30 | name = "historyShortcut.js"; 31 | }; 32 | betterGenres = { 33 | src = sources.betterGenresSrc; 34 | name = "spotifyGenres.js"; 35 | }; 36 | lastfm = { 37 | src = "${sources.lastfmSrc}/src"; 38 | name = "lastfm.js"; 39 | }; 40 | 41 | autoVolume = { 42 | src = sources.autoVolumeSrc; 43 | name = "autoVolume.js"; 44 | }; 45 | 46 | copyToClipboard = { 47 | src = "${sources.copyToClipboardSrc}/dist"; 48 | name = "copytoclipboard.js"; 49 | }; 50 | showQueueDuration = { 51 | src = "${sources.customAppsExtensionsSrc}/v2/show-queue-duration"; 52 | name = "showQueueDuration.js"; 53 | }; 54 | volumeProfiles = { 55 | src = "${sources.customAppsExtensionsSrc}/v2/volume-profiles/dist"; 56 | name = "volume-profiles.js"; 57 | }; 58 | 59 | songStats = { 60 | src = "${sources.rxriSrc}/songstats"; 61 | name = "songstats.js"; 62 | }; 63 | featureShuffle = { 64 | src = "${sources.rxriSrc}/featureshuffle"; 65 | name = "featureshuffle.js"; 66 | }; 67 | oldSidebar = { 68 | src = "${sources.rxriSrc}/old-sidebar"; 69 | name = "oldSidebar.js"; 70 | }; 71 | wikify = { 72 | src = "${sources.rxriSrc}/wikify"; 73 | name = "wikify.js"; 74 | }; 75 | writeify = { 76 | src = "${sources.rxriSrc}/writeify"; 77 | name = "writeify.js"; 78 | }; 79 | formatColors = { 80 | src = "${sources.rxriSrc}/formatColors"; 81 | name = "formatColors.js"; 82 | }; 83 | phraseToPlaylist = { 84 | src = "${sources.rxriSrc}/phraseToPlaylist"; 85 | name = "phraseToPlaylist.js"; 86 | }; 87 | 88 | fullAlbumDate = { 89 | src = "${sources.huhExtensionsSrc}/fullAlbumDate"; 90 | name = "fullAlbumDate.js"; 91 | }; 92 | fullAppDisplayMod = { 93 | src = "${sources.huhExtensionsSrc}/fullAppDisplayModified"; 94 | name = "fullAppDisplayMod.js"; 95 | }; 96 | goToSong = { 97 | src = "${sources.huhExtensionsSrc}/goToSong"; 98 | name = "goToSong.js"; 99 | }; 100 | listPlaylistsWithSong = { 101 | src = "${sources.huhExtensionsSrc}/listPlaylistsWithSong"; 102 | name = "listPlaylistsWithSong.js"; 103 | }; 104 | playlistIntersection = { 105 | src = "${sources.huhExtensionsSrc}/playlistIntersection"; 106 | name = "playlistIntersection.js"; 107 | }; 108 | skipStats = { 109 | src = "${sources.huhExtensionsSrc}/skipStats"; 110 | name = "skipStats.js"; 111 | }; 112 | playlistIcons = { 113 | src = sources.playlistIconsSrc; 114 | name = "playlist-icons.js"; 115 | }; 116 | 117 | seekSong = { 118 | src = "${sources.tetraxSrc}/Seek-Song"; 119 | name = "seekSong.js"; 120 | }; 121 | skipOrPlayLikedSongs = { 122 | src = "${sources.tetraxSrc}/Skip-or-Play-Liked-Songs"; 123 | name = "skipOrPlayLikedSongs.js"; 124 | }; 125 | 126 | powerBar = { 127 | src = sources.powerBarSrc; 128 | name = "power-bar.js"; 129 | }; 130 | 131 | groupSession = { 132 | src = "${sources.groupSessionSrc}/src"; 133 | name = "group-session.js"; 134 | }; 135 | 136 | adblockify = { 137 | src = "${sources.rxriSrc}/adblock"; 138 | name = "adblock.js"; 139 | }; 140 | 141 | copyLyrics = { 142 | src = "${sources.aimarekinSrc}/_dist"; 143 | name = "copy-lyrics.js"; 144 | }; 145 | playingSource = { 146 | src = "${sources.aimarekinSrc}/_dist"; 147 | name = "playing-source.js"; 148 | }; 149 | randomBadToTheBoneRiff = { 150 | src = "${sources.aimarekinSrc}/_dist"; 151 | name = "random-bad-to-the-bone-riff.js"; 152 | }; 153 | sectionMarker = { 154 | src = "${sources.aimarekinSrc}/_dist"; 155 | name = "section-marker.js"; 156 | }; 157 | skipAfterTimestamp = { 158 | src = "${sources.aimarekinSrc}/_dist"; 159 | name = "skip-after-timestamp.js"; 160 | }; 161 | 162 | beautifulLyrics = { 163 | src = "${sources.beautifulLyricsSrc}/Builds/Release"; 164 | name = "beautiful-lyrics.mjs"; 165 | }; 166 | 167 | addToQueueTop = { 168 | src = "${sources.addToTopSrc}/addToQueueTop"; 169 | name = "addToQueueTop.js"; 170 | }; 171 | 172 | oneko = { 173 | src = sources.onekoSrc; 174 | name = "oneko.js"; 175 | }; 176 | 177 | starRatings = { 178 | src = "${sources.starRatingsSrc}/dist"; 179 | name = "star-ratings.js"; 180 | }; 181 | 182 | queueTime = { 183 | src = "${sources.theblockbusterSrc}/QueueTime"; 184 | name = "QueueTime.js"; 185 | }; 186 | 187 | coverAmbience = { 188 | src = "${sources.theblockbusterSrc}/CoverAmbience"; 189 | name = "CoverAmbience.js"; 190 | }; 191 | 192 | sleepTimer = { 193 | src = "${sources.theblockbusterSrc}/SleepTimer"; 194 | name = "SleepTimer.js"; 195 | }; 196 | 197 | simpleBeautifulLyrics = { 198 | src = "${sources.kamilooSrc}/extensions/simple-beautiful-lyrics/dist"; 199 | name = "simple-beautiful-lyrics.js"; 200 | }; 201 | 202 | catJamSynced = { 203 | src = "${sources.catJamSyncedSrc}/marketplace"; 204 | name = "cat-jam.js"; 205 | }; 206 | 207 | sanitizeName = 208 | lib.replaceStrings 209 | [ 210 | ".js" 211 | ".mjs" 212 | "+" 213 | ] 214 | [ 215 | "" 216 | "" 217 | "" 218 | ]; 219 | 220 | mkExtAlias = 221 | alias: ext: 222 | { 223 | ${sanitizeName ext.name} = ext; 224 | } 225 | // lib.optionalAttrs (alias != ext.name) { ${sanitizeName alias} = ext; }; 226 | in 227 | { 228 | inherit adblockify; 229 | allOfArtist = { 230 | src = sources.allOfArtistSrc; 231 | name = "allOfArtist.js"; 232 | }; 233 | oldLikeButton = { 234 | src = sources.oldLikeSrc; 235 | name = "oldLikeButton.js"; 236 | }; 237 | oldCoverClick = { 238 | src = "${sources.waddlePlaysSrc}/oldCoverClick"; 239 | name = "oldCoverClick.js"; 240 | }; 241 | bestMoment = { 242 | src = "${sources.bestMomentSrc}/dist"; 243 | name = "best-moment.js"; 244 | }; 245 | } 246 | // (lib.listToAttrs ( 247 | map 248 | (x: { 249 | name = sanitizeName x; 250 | value = { 251 | src = "${sources.officialSrc}/Extensions"; 252 | name = "${x}.js"; 253 | }; 254 | }) 255 | [ 256 | "autoSkipExplicit" 257 | "autoSkipVideo" 258 | "bookmark" 259 | "fullAppDisplay" 260 | "keyboardShortcut" 261 | "loopyLoop" 262 | "popupLyrics" 263 | "shuffle+" 264 | "trashbin" 265 | "webnowplaying" 266 | ] 267 | )) 268 | // 269 | 270 | #append .js 271 | lib.attrsets.mergeAttrsList ( 272 | map (x: mkExtAlias x.name x) [ 273 | groupSession 274 | powerBar 275 | seekSong 276 | skipOrPlayLikedSongs 277 | playlistIcons 278 | fullAlbumDate 279 | fullAppDisplayMod 280 | goToSong 281 | listPlaylistsWithSong 282 | playlistIntersection 283 | skipStats 284 | phraseToPlaylist 285 | wikify 286 | writeify 287 | formatColors 288 | featureShuffle 289 | songStats 290 | showQueueDuration 291 | copyToClipboard 292 | volumeProfiles 293 | autoVolume 294 | history 295 | betterGenres 296 | lastfm 297 | hidePodcasts 298 | adblockify 299 | savePlaylists 300 | autoSkip 301 | fullScreen 302 | playNext 303 | volumePercentage 304 | oldSidebar 305 | addToQueueTop 306 | oneko 307 | starRatings 308 | queueTime 309 | coverAmbience 310 | sleepTimer 311 | simpleBeautifulLyrics 312 | catJamSynced 313 | ] 314 | 315 | ) 316 | # aliases for weirdly named extension files 317 | // (mkExtAlias "adblock" adblockify) 318 | // (mkExtAlias "history.js" history) 319 | // (mkExtAlias "volumeProfiles.js" volumeProfiles) 320 | // (mkExtAlias "copyToClipboard.js" copyToClipboard) 321 | // (mkExtAlias "songStats.js" songStats) 322 | // (mkExtAlias "betterGenres.js" betterGenres) 323 | // (mkExtAlias "featureShuffle.js" featureShuffle) 324 | // (mkExtAlias "playlistIcons.js" playlistIcons) 325 | // (mkExtAlias "powerBar.js" powerBar) 326 | // (mkExtAlias "groupSession.js" groupSession) 327 | // (mkExtAlias "copyLyrics.js" copyLyrics) 328 | // (mkExtAlias "playingSource.js" playingSource) 329 | // (mkExtAlias "randomBadToTheBoneRiff.js" randomBadToTheBoneRiff) 330 | // (mkExtAlias "sectionMarker.js" sectionMarker) 331 | // (mkExtAlias "skipAfterTimestamp.js" skipAfterTimestamp) 332 | // (mkExtAlias "beautifulLyrics.js" beautifulLyrics) 333 | // (mkExtAlias "oneko.js" oneko) 334 | // (mkExtAlias "starRatings.js" starRatings) 335 | // (mkExtAlias "queueTime.js" queueTime) 336 | // (mkExtAlias "coverAmbience.js" coverAmbience) 337 | // (mkExtAlias "sleepTimer.js" sleepTimer) 338 | // (mkExtAlias "simpleBeautifulLyrics.js" simpleBeautifulLyrics) 339 | // (mkExtAlias "catJamSynced.js" catJamSynced) -------------------------------------------------------------------------------- /modules/options.nix: -------------------------------------------------------------------------------- 1 | self: 2 | { 3 | lib, 4 | pkgs, 5 | config, 6 | options, 7 | ... 8 | }: 9 | let 10 | spicePkgs = self.packages or self.legacyPackages.${pkgs.stdenv.system}; 11 | 12 | extensionType = lib.types.either lib.types.pathInStore ( 13 | lib.types.submodule { 14 | freeformType = lib.types.attrsOf lib.types.anything; 15 | options = { 16 | src = lib.mkOption { 17 | type = lib.types.pathInStore; 18 | description = "Path to the folder which contains the .js file."; 19 | }; 20 | name = lib.mkOption { 21 | type = lib.types.str; 22 | description = "Name of the .js file to enable."; 23 | example = "dribbblish.js"; 24 | }; 25 | experimentalFeatures = lib.mkEnableOption "experimental_features in config-xpui.ini"; 26 | }; 27 | } 28 | ); 29 | in 30 | { 31 | imports = [ 32 | (pkgs.path + "/nixos/modules/misc/assertions.nix") 33 | 34 | (lib.mkRemovedOptionModule [ "dontInstall" ] '' 35 | set 'enable = false;' instead. 36 | '') 37 | ]; 38 | 39 | options = { 40 | enable = lib.mkEnableOption "Spicetify a modified Spotify."; 41 | 42 | spicedSpotify = lib.mkOption { 43 | type = lib.types.package; 44 | description = "The final spotify package after spicing."; 45 | readOnly = true; 46 | }; 47 | 48 | createdPackages = lib.mkOption { 49 | type = lib.types.listOf lib.types.package; 50 | description = '' 51 | A list of all generated packages containing the spiced spotify and extra packages from the current theme. 52 | ''; 53 | default = [ config.spicedSpotify ] ++ config.theme.extraPkgs; 54 | defaultText = lib.literalExpression '' 55 | [ spicedSpotify ] ++ theme.extraPkgs 56 | ''; 57 | readOnly = true; 58 | }; 59 | 60 | theme = lib.mkOption { 61 | description = ""; 62 | inherit (spicePkgs.themes) default; 63 | 64 | type = lib.types.submodule { 65 | freeformType = lib.types.attrsOf lib.types.anything; 66 | options = { 67 | name = lib.mkOption { 68 | type = lib.types.str; 69 | description = "The name of the theme as it will be copied into the spicetify themes directory."; 70 | example = "Dribbblish"; 71 | }; 72 | 73 | src = lib.mkOption { 74 | 75 | type = lib.types.pathInStore; 76 | description = "Path to folder containing the theme."; 77 | example = '' 78 | fetchFromGitHub { 79 | owner = "spicetify"; 80 | repo = "spicetify-themes"; 81 | rev = "02badb180c902f986a4ea4e4033e69fe8eec6a55"; 82 | hash = "sha256-KD9VfHtlN0BIHC4inlooxw5XC4xlHNC5evASRqP7pUA="; 83 | } 84 | Or a relative path 85 | 86 | ./myTheme 87 | ''; 88 | }; 89 | requiredExtensions = lib.mkOption { 90 | description = ""; 91 | type = lib.types.listOf extensionType; 92 | default = [ ]; 93 | }; 94 | 95 | patches = lib.mkOption { 96 | type = lib.types.attrsOf lib.types.str; 97 | example = '' 98 | { 99 | "xpui.js_find_8008" = ",(\\w+=)32"; 100 | "xpui.js_repl_8008" = ",$\{1}56"; 101 | }; 102 | ''; 103 | description = "INI entries to add in the [Patch] section of config-xpui.ini"; 104 | default = { }; 105 | }; 106 | 107 | extraCommands = lib.mkOption { 108 | type = lib.types.lines; 109 | default = ""; 110 | description = "A bash script to run from the spicetify config directory if this theme is installed."; 111 | }; 112 | 113 | extraPkgs = lib.mkOption { 114 | type = lib.types.listOf lib.types.package; 115 | default = [ ]; 116 | description = "Extra required packges for the theme to function (usually a font)"; 117 | }; 118 | 119 | # some config values that can be specified per-theme 120 | injectCss = lib.mkOption { 121 | description = ""; 122 | type = lib.types.bool; 123 | default = true; 124 | }; 125 | injectThemeJs = lib.mkOption { 126 | 127 | description = ""; 128 | type = lib.types.bool; 129 | default = true; 130 | }; 131 | replaceColors = lib.mkOption { 132 | description = ""; 133 | type = lib.types.bool; 134 | default = true; 135 | }; 136 | homeConfig = lib.mkOption { 137 | description = ""; 138 | type = lib.types.bool; 139 | default = true; 140 | }; 141 | overwriteAssets = lib.mkOption { 142 | description = ""; 143 | type = lib.types.bool; 144 | default = false; 145 | }; 146 | additionalCss = lib.mkOption { 147 | description = ""; 148 | type = lib.types.lines; 149 | default = ""; 150 | }; 151 | }; 152 | }; 153 | }; 154 | 155 | spotifyPackage = lib.mkPackageOption pkgs "spotify" { }; 156 | 157 | spicetifyPackage = lib.mkPackageOption pkgs "spicetify-cli" { }; 158 | 159 | extraCommands = lib.mkOption { 160 | type = lib.types.lines; 161 | default = ""; 162 | description = "Extra commands to be run during the setup of spicetify."; 163 | }; 164 | 165 | enabledExtensions = lib.mkOption { 166 | type = lib.types.listOf extensionType; 167 | default = [ ]; 168 | description = '' 169 | A list of extensions. 170 | See https://spicetify.app/docs/advanced-usage/extensions/. 171 | ''; 172 | example = '' 173 | [ 174 | { 175 | src = (pkgs.fetchFromGitHub { 176 | owner = "Taeko-ar"; 177 | repo = "spicetify-last-fm"; 178 | rev = "d2f1d3c1e286d789ddfa002f162405782d822c55"; 179 | hash = "sha256-/C4Y3zuSAEwhMXCRG2/4b5oWfGz/ij6wu0B+CpuJKXs="; 180 | }) + /src; 181 | 182 | name = "lastfm.js"; 183 | } 184 | ] 185 | ''; 186 | }; 187 | enabledCustomApps = lib.mkOption { 188 | description = '' 189 | Custom apps to add to the spice. 190 | See https://spicetify.app/docs/development/custom-apps. 191 | ''; 192 | type = lib.types.listOf ( 193 | lib.types.submodule { 194 | freeformType = lib.types.attrsOf lib.types.anything; 195 | options = { 196 | src = lib.mkOption { 197 | type = lib.types.pathInStore; 198 | description = "Path to the folder containing the app code."; 199 | example = lib.literalExpression '' 200 | pkgs.fetchFromGitHub { 201 | owner = "hroland"; 202 | repo = "spicetify-show-local-files"; 203 | rev = "1bfd2fc80385b21ed6dd207b00a371065e53042e"; 204 | hash = "sha256-neKR2WaZ1K10dZZ0nAKJJEHNS56o8vCpYpi+ZJYJ/gU="; 205 | } 206 | ''; 207 | }; 208 | name = lib.mkOption { 209 | type = lib.types.str; 210 | description = "Name of the app. No spaces or special characters"; 211 | example = "localFiles"; 212 | default = ""; 213 | }; 214 | }; 215 | } 216 | ); 217 | default = [ ]; 218 | }; 219 | 220 | colorScheme = lib.mkOption { 221 | type = lib.types.str; 222 | description = '' 223 | Spicetify color scheme to use, given a specific `theme`. 224 | If using `customColorScheme`, leave this as default `"custom"`. 225 | ''; 226 | default = if config.customColorScheme != { } then "custom" else ""; 227 | }; 228 | customColorScheme = lib.mkOption { 229 | type = lib.types.attrsOf lib.types.str; 230 | description = '' 231 | Custom scheme used to generate a corresponding `color.ini`. 232 | See https://spicetify.app/docs/development/themes. 233 | ''; 234 | default = { }; 235 | }; 236 | enabledSnippets = lib.mkOption { 237 | type = lib.types.listOf lib.types.str; 238 | description = '' 239 | Snippets to add to the spice. 240 | See https://github.com/spicetify/marketplace/blob/main/resources/snippets.json. 241 | ''; 242 | default = [ ]; 243 | }; 244 | 245 | spotifyLaunchFlags = lib.mkOption { 246 | type = lib.types.str; 247 | description = "Launch flags to pass to spotify."; 248 | default = ""; 249 | }; 250 | 251 | experimentalFeatures = lib.mkOption { 252 | type = lib.types.nullOr lib.types.bool; 253 | default = null; 254 | example = true; 255 | description = '' 256 | Whether to enable experimental features. 257 | ''; 258 | }; 259 | 260 | alwaysEnableDevTools = lib.mkEnableOption "chromium dev tools"; 261 | 262 | # If you have to use this you should probably make a PR instead 263 | updateXpui = lib.mkOption { 264 | type = lib.types.either (lib.types.attrsOf lib.types.str) ( 265 | lib.types.functionTo (lib.types.attrsOf lib.types.str) 266 | ); 267 | default = { }; 268 | internal = true; 269 | }; 270 | }; 271 | 272 | config = 273 | let 274 | # take the list of extensions and turn strings into actual extensions 275 | allExtensions = config.enabledExtensions ++ config.theme.requiredExtensions; 276 | 277 | xpui = 278 | let 279 | xpui_ = { 280 | AdditionalOptions = { 281 | extensions = lib.concatMapStringsSep "|" (item: item.name) allExtensions; 282 | custom_apps = lib.concatMapStringsSep "|" (item: item.name) config.enabledCustomApps; 283 | # must be disabled on newer spotify 284 | sidebar_config = false; 285 | 286 | home_config = config.theme.homeConfig; 287 | 288 | experimental_features = 289 | if config.experimentalFeatures != null then 290 | config.experimentalFeatures 291 | else 292 | lib.any (item: (item.experimentalFeatures or false)) allExtensions; 293 | }; 294 | 295 | Setting = { 296 | spotify_path = "__SPOTIFY__"; 297 | prefs_path = "__PREFS__"; 298 | inject_theme_js = config.theme.injectThemeJs; 299 | replace_colors = config.theme.replaceColors; 300 | check_spicetify_update = false; 301 | current_theme = config.theme.name; 302 | color_scheme = config.colorScheme; 303 | inject_css = config.theme.injectCss; 304 | overwrite_assets = config.theme.overwriteAssets; 305 | spotify_launch_flags = config.spotifyLaunchFlags; 306 | always_enable_devtools = config.alwaysEnableDevTools; 307 | }; 308 | 309 | Patch = config.theme.patches or { }; 310 | 311 | Preprocesses = { 312 | disable_ui_logging = true; 313 | remove_rtl_rule = true; 314 | expose_apis = true; 315 | disable_sentry = true; 316 | }; 317 | 318 | Backup = { 319 | inherit (config.spotifyPackage) version; 320 | "with" = "Dev"; 321 | }; 322 | }; 323 | in 324 | if (lib.isFunction config.updateXpui) then 325 | config.updateXpui xpui_ 326 | else if (lib.isAttrs config.updateXpui && config.updateXpui != { }) then 327 | config.updateXpui 328 | else 329 | xpui_; 330 | 331 | in 332 | 333 | { 334 | spicedSpotify = 335 | let 336 | spicedSpotify' = spicePkgs.spicetifyBuilder { 337 | spotify = config.spotifyPackage; 338 | spicetify-cli = config.spicetifyPackage; 339 | extensions = allExtensions; 340 | apps = config.enabledCustomApps; 341 | theme = config.theme // { 342 | additionalCss = lib.concatLines ([ (config.theme.additionalCss or "") ] ++ config.enabledSnippets); 343 | }; 344 | inherit (config) customColorScheme extraCommands colorScheme; 345 | # compose the configuration as well as options required by extensions and 346 | # config.config.xpui into one set 347 | config-xpui = xpui; 348 | wayland = if pkgs.stdenv.isLinux then config.wayland else null; 349 | }; 350 | in 351 | if pkgs.stdenv.isLinux && config.windowManagerPatch then 352 | (config.spotifywmPackage.override { spotify = spicedSpotify'; }).overrideAttrs (old: { 353 | passthru = (old.passthru or { }) // spicedSpotify'.passthru; 354 | }) 355 | else 356 | spicedSpotify'; 357 | 358 | }; 359 | _file = ./common.nix; 360 | } 361 | -------------------------------------------------------------------------------- /pkgs/fetcher/src/main.rs: -------------------------------------------------------------------------------- 1 | use convert_case::{Case, Casing}; 2 | use octocrab::{ 3 | models::{repos::Content, Repository}, 4 | Octocrab, 5 | }; 6 | use serde::{Deserialize, Serialize}; 7 | use serde_with::{serde_as, OneOrMany}; 8 | use std::path::Path; 9 | use std::{collections::HashMap, fs::File, process::Command}; 10 | use tokio::join; 11 | 12 | #[derive(Serialize, Deserialize)] 13 | struct Blacklist { 14 | repos: Vec, 15 | } 16 | #[derive(Serialize, Deserialize)] 17 | struct Prefetch { 18 | hash: String, 19 | } 20 | #[derive(Serialize, Deserialize, Clone)] 21 | struct FetchURL { 22 | url: String, 23 | hash: String, 24 | } 25 | 26 | // Extension 27 | #[serde_as] 28 | #[derive(Clone, Serialize, Deserialize, Debug)] 29 | struct ExtManifests(#[serde_as(as = "OneOrMany<_>")] Vec); 30 | 31 | #[derive(Clone, Debug, Serialize, Deserialize)] 32 | struct ExtManifest { 33 | name: String, 34 | main: String, 35 | branch: Option, 36 | } 37 | 38 | #[derive(Serialize, Deserialize)] 39 | struct ExtTuple { 40 | manifests: ExtManifests, 41 | repo: Repository, 42 | } 43 | 44 | #[derive(Serialize, Deserialize)] 45 | struct ExtOutput { 46 | name: String, 47 | main: String, 48 | source: FetchURL, 49 | } 50 | 51 | // App 52 | #[derive(Clone, Debug, Serialize, Deserialize)] 53 | struct AppManifest { 54 | name: String, 55 | branch: Option, 56 | } 57 | 58 | #[serde_as] 59 | #[derive(Clone, Serialize, Deserialize, Debug)] 60 | struct AppManifests(#[serde_as(as = "OneOrMany<_>")] Vec); 61 | 62 | #[derive(Serialize, Deserialize)] 63 | struct AppTuple { 64 | manifests: AppManifests, 65 | repo: Repository, 66 | } 67 | 68 | #[derive(Serialize, Deserialize)] 69 | struct AppOutput { 70 | name: String, 71 | source: FetchURL, 72 | } 73 | 74 | // Theme 75 | #[derive(Serialize, Deserialize)] 76 | #[serde(untagged)] 77 | enum IncludeEnum { 78 | String(String), 79 | FetchURL(FetchURL), 80 | } 81 | 82 | #[derive(Clone, Debug, Serialize, Deserialize)] 83 | struct ThemeManifest { 84 | name: String, 85 | usercss: String, 86 | schemes: String, 87 | include: Option>, 88 | branch: Option, 89 | } 90 | 91 | #[serde_as] 92 | #[derive(Clone, Serialize, Deserialize, Debug)] 93 | struct ThemeManifests(#[serde_as(as = "OneOrMany<_>")] Vec); 94 | 95 | #[derive(Serialize, Deserialize)] 96 | struct ThemeTuple { 97 | manifests: ThemeManifests, 98 | repo: Repository, 99 | } 100 | 101 | #[derive(Serialize, Deserialize)] 102 | struct ThemeOutput { 103 | name: String, 104 | source: FetchURL, 105 | usercss: String, 106 | schemes: String, 107 | include: Vec, 108 | } 109 | 110 | // Snippets 111 | 112 | #[derive(Serialize, Deserialize)] 113 | struct Snippet { 114 | code: String, 115 | preview: String, 116 | } 117 | 118 | #[derive(Serialize, Deserialize)] 119 | struct Output { 120 | //extensions: HashMap, 121 | //apps: HashMap, 122 | //themes: HashMap, 123 | snippets: HashMap, 124 | } 125 | 126 | fn sanitize_name(name: &str) -> String { 127 | name.to_case(Case::Camel) 128 | .replace(|c| !char::is_alphanumeric(c), "") 129 | } 130 | 131 | async fn search_tag(crab: &Octocrab, tag: &str) -> Vec { 132 | let mut current_page = crab 133 | .search() 134 | .repositories(&format!("topic:{tag}")) 135 | .sort("stars") 136 | .order("desc") 137 | .per_page(100) 138 | .send() 139 | .await 140 | .expect("Failed to search repositories"); 141 | 142 | let mut all_pages: Vec = current_page.take_items(); 143 | 144 | while let Ok(Some(mut new_page)) = crab.get_page(¤t_page.next).await { 145 | all_pages.extend(new_page.take_items()); 146 | 147 | current_page = new_page; 148 | } 149 | 150 | all_pages 151 | } 152 | 153 | fn filter_tag(blacklist: &[String], tag: Vec) -> Vec { 154 | tag.into_iter() 155 | .filter(|x| { 156 | !blacklist.contains( 157 | &x.html_url 158 | .clone() 159 | .expect("Epic html_url failure") 160 | .to_string(), 161 | ) && !x.archived.unwrap_or(false) 162 | }) 163 | .collect() 164 | } 165 | 166 | async fn get_manifest(crab: &Octocrab, repo: &Repository) -> Option { 167 | if let Ok(ok) = crab 168 | .repos(repo.owner.clone().unwrap().login, repo.clone().name) 169 | .get_content() 170 | .path("manifest.json") 171 | .send() 172 | .await 173 | { 174 | ok.items.first().map_or_else( 175 | || { 176 | println!( 177 | "Failed to convert manifest.json to string from: {}", 178 | repo.html_url.clone().expect("Epic html_url failure") 179 | ); 180 | None 181 | }, 182 | Content::decoded_content, 183 | ) 184 | } else { 185 | println!( 186 | "Failed to get manifest.json from: {}", 187 | repo.html_url.clone().expect("Epic html_url failure") 188 | ); 189 | None 190 | } 191 | } 192 | 193 | fn get_owner(repo: &Repository) -> String { 194 | repo.owner.clone().expect("failed to get repo owner?").login 195 | } 196 | 197 | fn get_default_branch(repo: &Repository) -> String { 198 | repo.default_branch 199 | .clone() 200 | .expect("failed to get default_branch") 201 | } 202 | 203 | async fn get_rev(crab: &Octocrab, owner: &str, name: &str, branch: &String) -> Option { 204 | if let Ok(x) = crab.commits(owner, name).get(branch.clone()).await { 205 | Some(x.sha) 206 | } else { 207 | println!("Failed to get latest commit of github.com/{owner}/{name} branch: {branch}"); 208 | None 209 | } 210 | } 211 | 212 | fn fetch_url(url: String) -> FetchURL { 213 | println!("Hashing: {url}"); 214 | let command_stdout = Command::new("nix") 215 | .args(["store", "prefetch-file", &url, "--json"]) 216 | .output() 217 | .expect("failed to run nix store prefetch-file lol") 218 | .stdout; 219 | let prefetched: Prefetch = serde_json::from_str(&String::from_utf8_lossy(&command_stdout)) 220 | .expect("failed to parse nix store prefetch-file output, how did you make this fail?"); 221 | 222 | FetchURL { 223 | url, 224 | hash: prefetched.hash, 225 | } 226 | } 227 | 228 | fn fetch_gh_archive(repo: &Repository, rev: &str) -> FetchURL { 229 | let url = format!( 230 | "{}/archive/{}.tar.gz", 231 | repo.html_url.clone().expect("Epic html_url failure"), 232 | rev 233 | ); 234 | println!("Hashing: {url}"); 235 | let command_stdout = Command::new("nix") 236 | .args(["store", "prefetch-file", &url, "--unpack", "--json"]) 237 | .output() 238 | .expect("failed to run nix store prefetch-file lol") 239 | .stdout; 240 | let prefetched: Prefetch = serde_json::from_str(&String::from_utf8_lossy(&command_stdout)) 241 | .expect("failed to parse nix store prefetch-file output, how did you make this fail?"); 242 | FetchURL { 243 | url, 244 | hash: prefetched.hash, 245 | } 246 | } 247 | 248 | async fn extensions(crab: &Octocrab, blacklist: &[String]) -> HashMap { 249 | let mut potato: HashMap = HashMap::new(); 250 | let extensions: Vec = 251 | filter_tag(blacklist, search_tag(crab, "spicetify-extensions").await); 252 | 253 | let mut ext_tuple: Vec = vec![]; 254 | 255 | for i in extensions { 256 | let Some(manifest) = get_manifest(crab, &i).await else { 257 | continue; 258 | }; 259 | 260 | let parse: ExtManifests = if let Ok(ok) = serde_json::from_str(&manifest) { 261 | ok 262 | } else { 263 | println!("Failed to parse manifest from: {}", i.html_url.unwrap()); 264 | 265 | continue; 266 | }; 267 | 268 | ext_tuple.push(ExtTuple { 269 | manifests: parse, 270 | repo: i, 271 | }); 272 | } 273 | let mut ext_outputs: HashMap = HashMap::new(); 274 | for i in ext_tuple { 275 | let owner = &get_owner(&i.repo); 276 | let name = &i.repo.name; 277 | 278 | for j in i.manifests.0 { 279 | let branch = j.branch.unwrap_or_else(|| get_default_branch(&i.repo)); 280 | 281 | let Some(rev) = get_rev(crab, owner, name, &branch).await else { 282 | continue; 283 | }; 284 | 285 | let key = format!("{owner}-{name}-{branch}"); 286 | 287 | if !potato.contains_key(&key) { 288 | potato.insert(key.clone(), fetch_gh_archive(&i.repo, &rev)); 289 | } 290 | 291 | ext_outputs.insert( 292 | sanitize_name(&j.name), 293 | ExtOutput { 294 | name: j.main.split('/').next_back().unwrap().to_string(), 295 | source: potato.get(&key).unwrap().clone(), 296 | main: j.main, 297 | }, 298 | ); 299 | } 300 | } 301 | 302 | ext_outputs 303 | } 304 | 305 | async fn apps(crab: &Octocrab, blacklist: &[String]) -> HashMap { 306 | let mut potato: HashMap = HashMap::new(); 307 | let apps: Vec = filter_tag(blacklist, search_tag(crab, "spicetify-apps").await); 308 | 309 | let mut app_tuple: Vec = vec![]; 310 | for i in apps { 311 | let Some(manifest) = get_manifest(crab, &i).await else { 312 | continue; 313 | }; 314 | 315 | let parse: AppManifests = if let Ok(ok) = serde_json::from_str(&manifest) { 316 | ok 317 | } else { 318 | println!("Failed to parse manifest from: {}", i.html_url.unwrap()); 319 | continue; 320 | }; 321 | 322 | app_tuple.push(AppTuple { 323 | manifests: parse, 324 | repo: i, 325 | }); 326 | } 327 | 328 | let mut app_outputs: HashMap = HashMap::new(); 329 | 330 | for i in app_tuple { 331 | let owner = &get_owner(&i.repo); 332 | let name = &i.repo.name; 333 | 334 | for j in i.manifests.0 { 335 | let branch = j.branch.unwrap_or_else(|| get_default_branch(&i.repo)); 336 | 337 | let Some(rev) = get_rev(crab, owner, name, &branch).await else { 338 | continue; 339 | }; 340 | 341 | let key = format!("{owner}-{name}-{branch}"); 342 | 343 | if !potato.contains_key(&key) { 344 | potato.insert(key.clone(), fetch_gh_archive(&i.repo, &rev)); 345 | } 346 | 347 | app_outputs.insert( 348 | sanitize_name(&j.name), 349 | AppOutput { 350 | name: j.name, 351 | source: potato.get(&key).unwrap().clone(), 352 | }, 353 | ); 354 | } 355 | } 356 | 357 | app_outputs 358 | } 359 | 360 | async fn themes(crab: &Octocrab, blacklist: &[String]) -> HashMap { 361 | let mut potato: HashMap = HashMap::new(); 362 | let themes: Vec = filter_tag(blacklist, search_tag(crab, "spicetify-themes").await); 363 | 364 | let mut theme_tuple: Vec = vec![]; 365 | for i in themes { 366 | let Some(manifest) = get_manifest(crab, &i).await else { 367 | continue; 368 | }; 369 | 370 | let parse: ThemeManifests = if let Ok(ok) = serde_json::from_str(&manifest) { 371 | ok 372 | } else { 373 | println!("Failed to parse manifest from: {}", i.html_url.unwrap()); 374 | 375 | continue; 376 | }; 377 | 378 | theme_tuple.push(ThemeTuple { 379 | manifests: parse, 380 | repo: i, 381 | }); 382 | } 383 | 384 | let mut theme_outputs: HashMap = HashMap::new(); 385 | 386 | for i in theme_tuple { 387 | let owner = &get_owner(&i.repo); 388 | let name = &i.repo.name; 389 | 390 | for j in i.manifests.0 { 391 | let branch = j.branch.unwrap_or_else(|| get_default_branch(&i.repo)); 392 | 393 | let Some(rev) = get_rev(crab, owner, name, &branch).await else { 394 | continue; 395 | }; 396 | 397 | let key = format!("{owner}-{name}-{branch}"); 398 | 399 | if !potato.contains_key(&key) { 400 | potato.insert(key.clone(), fetch_gh_archive(&i.repo, &rev)); 401 | } 402 | 403 | theme_outputs.insert( 404 | sanitize_name(&j.name), 405 | ThemeOutput { 406 | name: j.name.clone(), 407 | source: potato.get(&key).unwrap().clone(), 408 | schemes: j.schemes, 409 | usercss: j.usercss, 410 | include: j.include.map_or_else(std::vec::Vec::new, |x| { 411 | let mut val: Vec = vec![]; 412 | for s in x { 413 | if s.starts_with("http") { 414 | val.push(ExtOutput { 415 | name: s.split('/').next_back().unwrap().to_string(), 416 | main: "__INCLUDE__".to_string(), 417 | source: fetch_url(s), 418 | }); 419 | } else { 420 | val.push(ExtOutput { 421 | name: s.split('/').next_back().unwrap().to_string(), 422 | main: s.clone(), 423 | source: potato.get(&key).unwrap().clone(), 424 | }); 425 | } 426 | } 427 | val 428 | }), 429 | }, 430 | ); 431 | } 432 | } 433 | 434 | theme_outputs 435 | } 436 | 437 | #[tokio::main] 438 | async fn main() { 439 | let crab: Octocrab = octocrab::Octocrab::builder() 440 | .personal_token(std::env::var("GITHUB_TOKEN").expect("no PAT key moron")) 441 | .build() 442 | .expect("Failed to crab"); 443 | 444 | let blacklist = crab 445 | .repos("spicetify", "marketplace") 446 | .get_content() 447 | .path("resources/blacklist.json") 448 | .r#ref("main") 449 | .send() 450 | .await 451 | .expect("Could not get blacklist.json") 452 | .items 453 | .first() 454 | .unwrap() 455 | .decoded_content(); 456 | 457 | let vector: Blacklist = serde_json::from_str(&blacklist.expect("Failed to read blacklist")) 458 | .expect("Failed to parse blacklist"); 459 | let snippets_json = crab 460 | .repos("spicetify", "marketplace") 461 | .get_content() 462 | .path("resources/snippets.json") 463 | .r#ref("main") 464 | .send() 465 | .await 466 | .expect("Could not get snippets.json") 467 | .items 468 | .first() 469 | .unwrap() 470 | .decoded_content(); 471 | let snippets_vec: Vec = 472 | serde_json::from_str(&snippets_json.expect("Failed to read snippets.json")) 473 | .expect("Failed to parse snippets.json"); 474 | 475 | let mut snippets_output: HashMap = HashMap::new(); 476 | 477 | for i in snippets_vec { 478 | // i hate strings 479 | let name = Path::new(&i.preview) 480 | .file_stem() 481 | .unwrap() 482 | .to_os_string() 483 | .into_string() 484 | .unwrap(); 485 | snippets_output.insert(sanitize_name(&name), i.code); 486 | } 487 | 488 | //let extensions = extensions(&crab, &vector.repos); 489 | //let apps = apps(&crab, &vector.repos); 490 | //let themes = themes(&crab, &vector.repos); 491 | // Theme stuff 492 | //let output = join!(extensions, apps, themes); 493 | 494 | let final_output: Output = Output { 495 | //extensions: output.0, 496 | //apps: output.1, 497 | //themes: output.2, 498 | snippets: snippets_output, 499 | }; 500 | 501 | let output = File::create("generated.json").expect("can't create generated.json"); 502 | serde_json::to_writer(&output, &final_output).expect("failed to save generated.json"); 503 | } 504 | -------------------------------------------------------------------------------- /pkgs/npins/sources.json: -------------------------------------------------------------------------------- 1 | { 2 | "pins": { 3 | "addToTopSrc": { 4 | "type": "Git", 5 | "repository": { 6 | "type": "GitHub", 7 | "owner": "Socketlike", 8 | "repo": "spicetify-extensions" 9 | }, 10 | "branch": "main", 11 | "submodules": false, 12 | "revision": "1532dc050044a8beb7d9af0a550dff37ddebb1fc", 13 | "url": "https://github.com/Socketlike/spicetify-extensions/archive/1532dc050044a8beb7d9af0a550dff37ddebb1fc.tar.gz", 14 | "hash": "01mvakwccfyf2as3bn9igys3fdvy5fd7h4vn4r4mc6f4hblpyvsy" 15 | }, 16 | "aimarekinSrc": { 17 | "type": "Git", 18 | "repository": { 19 | "type": "GitHub", 20 | "owner": "Aimarekin", 21 | "repo": "Aimarekins-Spicetify-Extensions" 22 | }, 23 | "branch": "main", 24 | "submodules": false, 25 | "revision": "82dbbaec37540e82dcd11d897646c0fdb068c3e8", 26 | "url": "https://github.com/Aimarekin/Aimarekins-Spicetify-Extensions/archive/82dbbaec37540e82dcd11d897646c0fdb068c3e8.tar.gz", 27 | "hash": "010wkxc3mwfkkakhb3jf51lkxvhdxk6rpabj2q45ng9761j23idj" 28 | }, 29 | "allOfArtistSrc": { 30 | "type": "Git", 31 | "repository": { 32 | "type": "GitHub", 33 | "owner": "Pl4neta", 34 | "repo": "allOfArtist" 35 | }, 36 | "branch": "main", 37 | "submodules": false, 38 | "revision": "985e7ade766c0744c7f45a9c216889ab40a83cab", 39 | "url": "https://github.com/Pl4neta/allOfArtist/archive/985e7ade766c0744c7f45a9c216889ab40a83cab.tar.gz", 40 | "hash": "03mky6830jvkmzsswpnpkxq5brflqffzaw29jjfkhd8bdz1afq5s" 41 | }, 42 | "autoVolumeSrc": { 43 | "type": "Git", 44 | "repository": { 45 | "type": "GitHub", 46 | "owner": "amanharwara", 47 | "repo": "spicetify-autoVolume" 48 | }, 49 | "branch": "master", 50 | "submodules": false, 51 | "revision": "d7f7962724b567a8409ef2898602f2c57abddf5a", 52 | "url": "https://github.com/amanharwara/spicetify-autoVolume/archive/d7f7962724b567a8409ef2898602f2c57abddf5a.tar.gz", 53 | "hash": "1pnya2j336f847h3vgiprdys4pl0i61ivbii1wyb7yx3wscq7ass" 54 | }, 55 | "beautifulLyricsSrc": { 56 | "type": "Git", 57 | "repository": { 58 | "type": "GitHub", 59 | "owner": "surfbryce", 60 | "repo": "beautiful-lyrics" 61 | }, 62 | "branch": "main", 63 | "submodules": false, 64 | "revision": "f6937b73f96597e9dda978de42f00c910cad087d", 65 | "url": "https://github.com/surfbryce/beautiful-lyrics/archive/f6937b73f96597e9dda978de42f00c910cad087d.tar.gz", 66 | "hash": "1yz75zqscrqpbrs7z1phdkpwqvnq6mdxcihvf334vphz8gdkdlm9" 67 | }, 68 | "bestMomentSrc": { 69 | "type": "Git", 70 | "repository": { 71 | "type": "GitHub", 72 | "owner": "MLGRussianXP", 73 | "repo": "spicetify-best-moment" 74 | }, 75 | "branch": "main", 76 | "submodules": false, 77 | "revision": "3fef2f55cd4cc16503165136a532ba717bee89b5", 78 | "url": "https://github.com/MLGRussianXP/spicetify-best-moment/archive/3fef2f55cd4cc16503165136a532ba717bee89b5.tar.gz", 79 | "hash": "0c8lwx0k34wy3xhw2x5bqxi7ap7cwz7k6q2snxx0y9pvws2sv7ry" 80 | }, 81 | "betterGenresSrc": { 82 | "type": "Git", 83 | "repository": { 84 | "type": "GitHub", 85 | "owner": "Vexcited", 86 | "repo": "better-spotify-genres" 87 | }, 88 | "branch": "build", 89 | "submodules": false, 90 | "revision": "fde0ae67910d2d8e5ee4f406f07186454e4111b3", 91 | "url": "https://github.com/Vexcited/better-spotify-genres/archive/fde0ae67910d2d8e5ee4f406f07186454e4111b3.tar.gz", 92 | "hash": "0i27lc358zaqzh6izckr4jgracsdjqdinknksqifmm3v2cx6nxyc" 93 | }, 94 | "betterLibrarySrc": { 95 | "type": "GitRelease", 96 | "repository": { 97 | "type": "GitHub", 98 | "owner": "Sowgro", 99 | "repo": "betterLibrary" 100 | }, 101 | "pre_releases": false, 102 | "version_upper_bound": null, 103 | "release_prefix": null, 104 | "submodules": false, 105 | "version": "3.0", 106 | "revision": "c8438030837ce904cf8dc5308cfae15dc793aebd", 107 | "url": "https://api.github.com/repos/Sowgro/betterLibrary/tarball/3.0", 108 | "hash": "0s9xvjpdrj21llrxfzr2vb2mxv3h02ay01ri2xdmzj7ny8v625zk" 109 | }, 110 | "bloomSrc": { 111 | "type": "Git", 112 | "repository": { 113 | "type": "GitHub", 114 | "owner": "nimsandu", 115 | "repo": "spicetify-bloom" 116 | }, 117 | "branch": "main", 118 | "submodules": false, 119 | "revision": "654cfed682b94613b0029997ffafc1eadccc5bef", 120 | "url": "https://github.com/nimsandu/spicetify-bloom/archive/654cfed682b94613b0029997ffafc1eadccc5bef.tar.gz", 121 | "hash": "1agk39ghinxi1rdi1skxdjdy8q2iiwkvalnljvqcaizjvzc1z4ps" 122 | }, 123 | "catJamSyncedSrc": { 124 | "type": "Git", 125 | "repository": { 126 | "type": "GitHub", 127 | "owner": "BlafKing", 128 | "repo": "spicetify-cat-jam-synced" 129 | }, 130 | "branch": "main", 131 | "submodules": false, 132 | "revision": "e7bfd49fcc13457bbc98e696294cf5cf43eb6c31", 133 | "url": "https://github.com/BlafKing/spicetify-cat-jam-synced/archive/e7bfd49fcc13457bbc98e696294cf5cf43eb6c31.tar.gz", 134 | "hash": "1zs68lblwv4hfig5z380m4pcdd62ka6z81a1fqszv6g05zk1l9m7" 135 | }, 136 | "catppuccinSrc": { 137 | "type": "Git", 138 | "repository": { 139 | "type": "GitHub", 140 | "owner": "catppuccin", 141 | "repo": "spicetify" 142 | }, 143 | "branch": "main", 144 | "submodules": false, 145 | "revision": "4294a61f54a044768c6e9db20e83c5b74da71091", 146 | "url": "https://github.com/catppuccin/spicetify/archive/4294a61f54a044768c6e9db20e83c5b74da71091.tar.gz", 147 | "hash": "0wh98li6brlhgcfwa8g9s9ia2mvza36fzsl6l1ddz3x3h2x1lyrq" 148 | }, 149 | "comfySrc": { 150 | "type": "Git", 151 | "repository": { 152 | "type": "GitHub", 153 | "owner": "Comfy-Themes", 154 | "repo": "Spicetify" 155 | }, 156 | "branch": "main", 157 | "submodules": false, 158 | "revision": "2c22f3649a82e599be0e7eb506a0f83459caf9e8", 159 | "url": "https://github.com/Comfy-Themes/Spicetify/archive/2c22f3649a82e599be0e7eb506a0f83459caf9e8.tar.gz", 160 | "hash": "1f0raq621fs58wrvfqfbvrc91vi5czvdqm6pdw3w5a9ddawm0a1b" 161 | }, 162 | "copyToClipboardSrc": { 163 | "type": "Git", 164 | "repository": { 165 | "type": "GitHub", 166 | "owner": "pnthach95", 167 | "repo": "spicetify-extensions" 168 | }, 169 | "branch": "main", 170 | "submodules": false, 171 | "revision": "2cffac9c2544a6c1bf2e4920e48d3cfd13c31187", 172 | "url": "https://github.com/pnthach95/spicetify-extensions/archive/2cffac9c2544a6c1bf2e4920e48d3cfd13c31187.tar.gz", 173 | "hash": "1v6zp0f0ccyn0cbn2nj12af06asik1alaw5k979qb46zs2q0n8vi" 174 | }, 175 | "customAppsExtensionsSrc": { 176 | "type": "Git", 177 | "repository": { 178 | "type": "GitHub", 179 | "owner": "3raxton", 180 | "repo": "spicetify-custom-apps-and-extensions" 181 | }, 182 | "branch": "main", 183 | "submodules": false, 184 | "revision": "bb12c53dc11413e980ce3e40fbcec6f23b752003", 185 | "url": "https://github.com/3raxton/spicetify-custom-apps-and-extensions/archive/bb12c53dc11413e980ce3e40fbcec6f23b752003.tar.gz", 186 | "hash": "1s45ivfk9h78q10pprj6q3q5vl6r2lfyxinm9q2vyah6n3k4cigf" 187 | }, 188 | "dakshExtensions": { 189 | "type": "Git", 190 | "repository": { 191 | "type": "GitHub", 192 | "owner": "daksh2k", 193 | "repo": "Spicetify-stuff" 194 | }, 195 | "branch": "master", 196 | "submodules": false, 197 | "revision": "13a2dc65b0853224ef88acd0bc4d774cf0d07572", 198 | "url": "https://github.com/daksh2k/Spicetify-stuff/archive/13a2dc65b0853224ef88acd0bc4d774cf0d07572.tar.gz", 199 | "hash": "1h8ww4x2nwwnswd8x0az4849vhy3bm56qglp912019rjg9rh2wk7" 200 | }, 201 | "defaultDynamicSrc": { 202 | "type": "Git", 203 | "repository": { 204 | "type": "GitHub", 205 | "owner": "JulienMaille", 206 | "repo": "spicetify-dynamic-theme" 207 | }, 208 | "branch": "main", 209 | "submodules": false, 210 | "revision": "db0bc013d60e8fd02502372d80fc5a595d740362", 211 | "url": "https://github.com/JulienMaille/spicetify-dynamic-theme/archive/db0bc013d60e8fd02502372d80fc5a595d740362.tar.gz", 212 | "hash": "0d08q01lw6ahh2pa6dqcf4czq097bwzpc1g2idhnivb8332cwnrd" 213 | }, 214 | "draculaSrc": { 215 | "type": "Git", 216 | "repository": { 217 | "type": "GitHub", 218 | "owner": "Darkempire78", 219 | "repo": "Dracula-Spicetify" 220 | }, 221 | "branch": "master", 222 | "submodules": false, 223 | "revision": "97bf149e7afbe408509862591a57f1d8e2dfc5d7", 224 | "url": "https://github.com/Darkempire78/Dracula-Spicetify/archive/97bf149e7afbe408509862591a57f1d8e2dfc5d7.tar.gz", 225 | "hash": "0l7la5hmhzfzf0n6lk3zxc4bc9f2h2dcwx02r6yqnrnkkkzh0b91" 226 | }, 227 | "dribbblishDynamicSrc": { 228 | "type": "Git", 229 | "repository": { 230 | "type": "GitHub", 231 | "owner": "JulienMaille", 232 | "repo": "dribbblish-dynamic-theme" 233 | }, 234 | "branch": "main", 235 | "submodules": false, 236 | "revision": "0deecd0ab4d575b01202b829e7120cbebdde3f8c", 237 | "url": "https://github.com/JulienMaille/dribbblish-dynamic-theme/archive/0deecd0ab4d575b01202b829e7120cbebdde3f8c.tar.gz", 238 | "hash": "0kzpg3fa1nhlq5zsfdg9majm4m24n74dl3r0xmjzbnjngq5lvqf3" 239 | }, 240 | "fluentSrc": { 241 | "type": "Git", 242 | "repository": { 243 | "type": "GitHub", 244 | "owner": "williamckha", 245 | "repo": "spicetify-fluent" 246 | }, 247 | "branch": "master", 248 | "submodules": false, 249 | "revision": "64b946af1ee4a5ed761d2f065c45b710e06bc123", 250 | "url": "https://github.com/williamckha/spicetify-fluent/archive/64b946af1ee4a5ed761d2f065c45b710e06bc123.tar.gz", 251 | "hash": "08ccjs14nvf8cdd1s8f3wln108hh2w4k5bm85yrgzlx8i76ira9k" 252 | }, 253 | "groupSessionSrc": { 254 | "type": "Git", 255 | "repository": { 256 | "type": "GitHub", 257 | "owner": "timll", 258 | "repo": "spotify-group-session" 259 | }, 260 | "branch": "main", 261 | "submodules": false, 262 | "revision": "e6a2ce35589b9404e539c5778fa1c2efa53eefe6", 263 | "url": "https://github.com/timll/spotify-group-session/archive/e6a2ce35589b9404e539c5778fa1c2efa53eefe6.tar.gz", 264 | "hash": "096g5zg1lz7k4gsjplgk3j4k931y4mlzk1z74485j62mbsb2sczq" 265 | }, 266 | "hazySrc": { 267 | "type": "Git", 268 | "repository": { 269 | "type": "GitHub", 270 | "owner": "Astromations", 271 | "repo": "Hazy" 272 | }, 273 | "branch": "main", 274 | "submodules": false, 275 | "revision": "ded076a66f12fbd08b3ffa0fd399bbc2c08183c0", 276 | "url": "https://github.com/Astromations/Hazy/archive/ded076a66f12fbd08b3ffa0fd399bbc2c08183c0.tar.gz", 277 | "hash": "1shh6f8r0ypbgvz05qv4fj88fmix50v5f82gcvhfc028pmppxfd5" 278 | }, 279 | "hidePodcastsSrc": { 280 | "type": "Git", 281 | "repository": { 282 | "type": "GitHub", 283 | "owner": "theRealPadster", 284 | "repo": "spicetify-hide-podcasts" 285 | }, 286 | "branch": "main", 287 | "submodules": false, 288 | "revision": "8ae79216916b87b2076cc292ba466c49342645e9", 289 | "url": "https://github.com/theRealPadster/spicetify-hide-podcasts/archive/8ae79216916b87b2076cc292ba466c49342645e9.tar.gz", 290 | "hash": "0vny67mcs57270x1719kn98agr035xy9cb79pc2prdbnlndv1gfy" 291 | }, 292 | "historySidebarSrc": { 293 | "type": "Git", 294 | "repository": { 295 | "type": "GitHub", 296 | "owner": "Bergbok", 297 | "repo": "Spicetify-Creations" 298 | }, 299 | "branch": "dist/history-in-sidebar", 300 | "submodules": false, 301 | "revision": "621965fb5f8d142313eb11d95897e891907c5803", 302 | "url": "https://github.com/Bergbok/Spicetify-Creations/archive/621965fb5f8d142313eb11d95897e891907c5803.tar.gz", 303 | "hash": "0rim51pxzrphs9yiq9jjmmc4c3pig8fprmgap82d8kvg1hx859fi" 304 | }, 305 | "historySrc": { 306 | "type": "Git", 307 | "repository": { 308 | "type": "GitHub", 309 | "owner": "einzigartigerName", 310 | "repo": "spicetify-history" 311 | }, 312 | "branch": "main", 313 | "submodules": false, 314 | "revision": "577e34f364127f18d917d2fe2e8c8f2a1af9f6ae", 315 | "url": "https://github.com/einzigartigerName/spicetify-history/archive/577e34f364127f18d917d2fe2e8c8f2a1af9f6ae.tar.gz", 316 | "hash": "0fv5fb6k9zc446a1lznhmd68m47sil5pqabv4dmrqk6cvfhba49r" 317 | }, 318 | "huhExtensionsSrc": { 319 | "type": "Git", 320 | "repository": { 321 | "type": "GitHub", 322 | "owner": "huhridge", 323 | "repo": "huh-spicetify-extensions" 324 | }, 325 | "branch": "main", 326 | "submodules": false, 327 | "revision": "35f13148eeab8c995e85760c412993224591ebed", 328 | "url": "https://github.com/huhridge/huh-spicetify-extensions/archive/35f13148eeab8c995e85760c412993224591ebed.tar.gz", 329 | "hash": "19pq3k3lx5gn6cjbrh285gy90zda32bm9fp5raaq2d7kc8kvdcx9" 330 | }, 331 | "kamilooSrc": { 332 | "type": "Git", 333 | "repository": { 334 | "type": "GitHub", 335 | "owner": "Kamiloo13", 336 | "repo": "spicetify-extensions" 337 | }, 338 | "branch": "main", 339 | "submodules": false, 340 | "revision": "66ab05e764b245f199b0b7bf83e82a26008fd554", 341 | "url": "https://github.com/Kamiloo13/spicetify-extensions/archive/66ab05e764b245f199b0b7bf83e82a26008fd554.tar.gz", 342 | "hash": "14aczx41rdl8axzl215x8ry30w0lb89a2fkvs79lw798sd6k4952" 343 | }, 344 | "lastfmSrc": { 345 | "type": "Git", 346 | "repository": { 347 | "type": "GitHub", 348 | "owner": "LucasBares", 349 | "repo": "spicetify-last-fm" 350 | }, 351 | "branch": "main", 352 | "submodules": false, 353 | "revision": "d2f1d3c1e286d789ddfa002f162405782d822c55", 354 | "url": "https://github.com/LucasBares/spicetify-last-fm/archive/d2f1d3c1e286d789ddfa002f162405782d822c55.tar.gz", 355 | "hash": "0yr9i6dhlzj0pfq3x2pzdiy1d6kgz1pip4bh64hlq04j7ggihbpw" 356 | }, 357 | "localFilesSrc": { 358 | "type": "Git", 359 | "repository": { 360 | "type": "GitHub", 361 | "owner": "hroland", 362 | "repo": "spicetify-show-local-files" 363 | }, 364 | "branch": "main", 365 | "submodules": false, 366 | "revision": "1bfd2fc80385b21ed6dd207b00a371065e53042e", 367 | "url": "https://github.com/hroland/spicetify-show-local-files/archive/1bfd2fc80385b21ed6dd207b00a371065e53042e.tar.gz", 368 | "hash": "01gy16b69glqcalz1wm8kr5wsh94i419qx4nfmsavm4rcvcr3qlx" 369 | }, 370 | "lucidSrc": { 371 | "type": "Git", 372 | "repository": { 373 | "type": "GitHub", 374 | "owner": "sanoojes", 375 | "repo": "Spicetify-Lucid" 376 | }, 377 | "branch": "main", 378 | "submodules": false, 379 | "revision": "bf92ac97a274304ff7128a0fde2cc6b87de1cbd6", 380 | "url": "https://github.com/sanoojes/Spicetify-Lucid/archive/bf92ac97a274304ff7128a0fde2cc6b87de1cbd6.tar.gz", 381 | "hash": "1psx0xfx7mqjaz9ijlnld26acydzxvxifw8vv376phsbgmrdz8zm" 382 | }, 383 | "marketplaceSrc": { 384 | "type": "Git", 385 | "repository": { 386 | "type": "GitHub", 387 | "owner": "spicetify", 388 | "repo": "spicetify-marketplace" 389 | }, 390 | "branch": "dist", 391 | "submodules": false, 392 | "revision": "bacdf424cc5d46d60703f746fdd96a9b1d6edc72", 393 | "url": "https://github.com/spicetify/spicetify-marketplace/archive/bacdf424cc5d46d60703f746fdd96a9b1d6edc72.tar.gz", 394 | "hash": "1pyybixa0plq34wp7hw8h72s9wz09z08q1drilm22yvsmg9f4qga" 395 | }, 396 | "nameThatTuneSrc": { 397 | "type": "Git", 398 | "repository": { 399 | "type": "GitHub", 400 | "owner": "theRealPadster", 401 | "repo": "name-that-tune" 402 | }, 403 | "branch": "dist", 404 | "submodules": false, 405 | "revision": "49433d607cfe8cadad2a57b487af4865d531f485", 406 | "url": "https://github.com/theRealPadster/name-that-tune/archive/49433d607cfe8cadad2a57b487af4865d531f485.tar.gz", 407 | "hash": "0p3xg355brkmhql62ng4pc18ym45xcfrc6aqlq72vkcwgv0gnfjg" 408 | }, 409 | "ncsVisualizerSrc": { 410 | "type": "Git", 411 | "repository": { 412 | "type": "GitHub", 413 | "owner": "Konsl", 414 | "repo": "spicetify-ncs-visualizer" 415 | }, 416 | "branch": "dist", 417 | "submodules": false, 418 | "revision": "9c3209e08457035f885166ca4035b569ef2ce72c", 419 | "url": "https://github.com/Konsl/spicetify-ncs-visualizer/archive/9c3209e08457035f885166ca4035b569ef2ce72c.tar.gz", 420 | "hash": "02rxbgaskrl4cb2k21bmgdsrrwx9fzycx82crcjmcv41azvx8y1q" 421 | }, 422 | "nordSrc": { 423 | "type": "Git", 424 | "repository": { 425 | "type": "GitHub", 426 | "owner": "Tetrax-10", 427 | "repo": "Nord-Spotify" 428 | }, 429 | "branch": "master", 430 | "submodules": false, 431 | "revision": "2dbfc7d63db5844e80faa22aeb48f16bdcc52a40", 432 | "url": "https://github.com/Tetrax-10/Nord-Spotify/archive/2dbfc7d63db5844e80faa22aeb48f16bdcc52a40.tar.gz", 433 | "hash": "1v280c5r9rg84cf3634gmhzbwkhfi3sdb3abiym292g3y4299grs" 434 | }, 435 | "officialSrc": { 436 | "type": "Git", 437 | "repository": { 438 | "type": "GitHub", 439 | "owner": "spicetify", 440 | "repo": "cli" 441 | }, 442 | "branch": "main", 443 | "submodules": false, 444 | "revision": "15d1365864dc3fd38a512f0093f9249bed3bbf85", 445 | "url": "https://github.com/spicetify/cli/archive/15d1365864dc3fd38a512f0093f9249bed3bbf85.tar.gz", 446 | "hash": "0higmkv0mk8kdyv66jygmb5bfz2pgh4fx0dnmmrkk8cn3hg4ly20" 447 | }, 448 | "officialThemes": { 449 | "type": "Git", 450 | "repository": { 451 | "type": "GitHub", 452 | "owner": "spicetify", 453 | "repo": "spicetify-themes" 454 | }, 455 | "branch": "master", 456 | "submodules": false, 457 | "revision": "726097a544172523cdae15da8d3c84032aec8c3b", 458 | "url": "https://github.com/spicetify/spicetify-themes/archive/726097a544172523cdae15da8d3c84032aec8c3b.tar.gz", 459 | "hash": "0zk3q3n9kq6s0xxyxzxliazpj3vkgwqf5bsq9yjzbk90p6cj824r" 460 | }, 461 | "oldLikeSrc": { 462 | "type": "Git", 463 | "repository": { 464 | "type": "GitHub", 465 | "owner": "Maskowh", 466 | "repo": "spicetify-old-like-button-extension" 467 | }, 468 | "branch": "main", 469 | "submodules": false, 470 | "revision": "af409119cfc222540aa4467d8024c4c7b6977eef", 471 | "url": "https://github.com/Maskowh/spicetify-old-like-button-extension/archive/af409119cfc222540aa4467d8024c4c7b6977eef.tar.gz", 472 | "hash": "1z0hzz1gikn0qgfjkyaaazjigpny5zgn6c4wgfjgnqgk653hfg7n" 473 | }, 474 | "omniSrc": { 475 | "type": "Git", 476 | "repository": { 477 | "type": "GitHub", 478 | "owner": "getomni", 479 | "repo": "spicetify" 480 | }, 481 | "branch": "main", 482 | "submodules": false, 483 | "revision": "253ae45d2cac2dc3d92a43193ea8f6d9e7e1d3aa", 484 | "url": "https://github.com/getomni/spicetify/archive/253ae45d2cac2dc3d92a43193ea8f6d9e7e1d3aa.tar.gz", 485 | "hash": "0zvngrwikdx5whcf29yqgzxiwaqxr2bmsy5j0c1ffz3s9zikx0p4" 486 | }, 487 | "onekoSrc": { 488 | "type": "Git", 489 | "repository": { 490 | "type": "GitHub", 491 | "owner": "kyrie25", 492 | "repo": "spicetify-oneko" 493 | }, 494 | "branch": "main", 495 | "submodules": false, 496 | "revision": "589a8cc3a3939b8c9fc4f2bd087ed433e9af5002", 497 | "url": "https://github.com/kyrie25/spicetify-oneko/archive/589a8cc3a3939b8c9fc4f2bd087ed433e9af5002.tar.gz", 498 | "hash": "1mm4c7xbfwd643wis7ja2gmi92p4xsgd1gmc0sdh2jrczsnjvswm" 499 | }, 500 | "orchisSrc": { 501 | "type": "Git", 502 | "repository": { 503 | "type": "GitHub", 504 | "owner": "canbeardig", 505 | "repo": "Spicetify-Orchis-Colours-v2" 506 | }, 507 | "branch": "main", 508 | "submodules": false, 509 | "revision": "5bf3fcf0696514dcf3e95f4ae3fd00261ccc5dcc", 510 | "url": "https://github.com/canbeardig/Spicetify-Orchis-Colours-v2/archive/5bf3fcf0696514dcf3e95f4ae3fd00261ccc5dcc.tar.gz", 511 | "hash": "1fzmxgjb3l6qn6a7zc621pqhh5m5xzjj1wqplk4rwnrrb1d3digm" 512 | }, 513 | "playlistIconsSrc": { 514 | "type": "Git", 515 | "repository": { 516 | "type": "GitHub", 517 | "owner": "jeroentvb", 518 | "repo": "spicetify-playlist-icons" 519 | }, 520 | "branch": "dist", 521 | "submodules": false, 522 | "revision": "7378f0a823eabf1b1a5f9b6237002dcd4631a27a", 523 | "url": "https://github.com/jeroentvb/spicetify-playlist-icons/archive/7378f0a823eabf1b1a5f9b6237002dcd4631a27a.tar.gz", 524 | "hash": "0h6249z1rxw8q2yrazh2592lbzhpqcicx83vl30dh48z5acpq68h" 525 | }, 526 | "powerBarSrc": { 527 | "type": "Git", 528 | "repository": { 529 | "type": "GitHub", 530 | "owner": "jeroentvb", 531 | "repo": "spicetify-power-bar" 532 | }, 533 | "branch": "dist", 534 | "submodules": false, 535 | "revision": "648e33489abe106488db6fa791cd6bc6a3169035", 536 | "url": "https://github.com/jeroentvb/spicetify-power-bar/archive/648e33489abe106488db6fa791cd6bc6a3169035.tar.gz", 537 | "hash": "155ljbbapqj2q2zr0a8axp34q3sjs7mrr4ywcpah2k02wkq89ij4" 538 | }, 539 | "retroBlurSrc": { 540 | "type": "Git", 541 | "repository": { 542 | "type": "GitHub", 543 | "owner": "Motschen", 544 | "repo": "Retroblur" 545 | }, 546 | "branch": "main", 547 | "submodules": false, 548 | "revision": "123b932561e098adde6fe3d6d8c98f2c51332c13", 549 | "url": "https://github.com/Motschen/Retroblur/archive/123b932561e098adde6fe3d6d8c98f2c51332c13.tar.gz", 550 | "hash": "0qz7vi3vz72skrsv6xnj7xypl8i350m431kpj6hzlwzqga1a9d5b" 551 | }, 552 | "rxriSrc": { 553 | "type": "Git", 554 | "repository": { 555 | "type": "GitHub", 556 | "owner": "rxri", 557 | "repo": "spicetify-extensions" 558 | }, 559 | "branch": "main", 560 | "submodules": false, 561 | "revision": "14fe443164daea0241568a3b3426dfdc78f6b81c", 562 | "url": "https://github.com/rxri/spicetify-extensions/archive/14fe443164daea0241568a3b3426dfdc78f6b81c.tar.gz", 563 | "hash": "1xryfw52wfyizy2z5b9rlb5hshw5yb6wp9jj9h80nm8lkbi6hjpb" 564 | }, 565 | "starRatingsSrc": { 566 | "type": "Git", 567 | "repository": { 568 | "type": "GitHub", 569 | "owner": "brimell", 570 | "repo": "spicetify-star-ratings" 571 | }, 572 | "branch": "main", 573 | "submodules": false, 574 | "revision": "e75e7f0fea8afa640d7f43c28800ac3d6363f65d", 575 | "url": "https://github.com/brimell/spicetify-star-ratings/archive/e75e7f0fea8afa640d7f43c28800ac3d6363f65d.tar.gz", 576 | "hash": "1lpz1rbh3f2kksv697zf75ikaahmlxvk8l72n0adaz6ixk3xr5b7" 577 | }, 578 | "startPageSrc": { 579 | "type": "Git", 580 | "repository": { 581 | "type": "GitHub", 582 | "owner": "Resxt", 583 | "repo": "startup-page" 584 | }, 585 | "branch": "main", 586 | "submodules": false, 587 | "revision": "75bd17ba1c9a19730f14529fb18857d7b9c7c12e", 588 | "url": "https://github.com/Resxt/startup-page/archive/75bd17ba1c9a19730f14529fb18857d7b9c7c12e.tar.gz", 589 | "hash": "00vpznbjv1a4l1k25802nvvsjrcia9j1mlcgz4a8zp8w9nipjf7r" 590 | }, 591 | "tetraxSrc": { 592 | "type": "Git", 593 | "repository": { 594 | "type": "GitHub", 595 | "owner": "Tetrax-10", 596 | "repo": "Spicetify-Extensions" 597 | }, 598 | "branch": "master", 599 | "submodules": false, 600 | "revision": "26c608469889a415534e29d5382b3039aed1d426", 601 | "url": "https://github.com/Tetrax-10/Spicetify-Extensions/archive/26c608469889a415534e29d5382b3039aed1d426.tar.gz", 602 | "hash": "0f22w9ahi1mby53cq02gx1chphgw5mcgkf129zqrazgvn5nx8y2x" 603 | }, 604 | "theblockbusterSrc": { 605 | "type": "Git", 606 | "repository": { 607 | "type": "GitHub", 608 | "owner": "Theblockbuster1", 609 | "repo": "spicetify-extensions" 610 | }, 611 | "branch": "main", 612 | "submodules": false, 613 | "revision": "1a71f87c8272dd4d1a00cfdafb60b03d2f92d1b7", 614 | "url": "https://github.com/Theblockbuster1/spicetify-extensions/archive/1a71f87c8272dd4d1a00cfdafb60b03d2f92d1b7.tar.gz", 615 | "hash": "0z9wzh3n30cyc5jkikfna9x75fl1s6gvv5kh492jr91srpciarqr" 616 | }, 617 | "waddlePlaysSrc": { 618 | "type": "Git", 619 | "repository": { 620 | "type": "GitHub", 621 | "owner": "WaddlesPlays", 622 | "repo": "SpicetifyStuff" 623 | }, 624 | "branch": "main", 625 | "submodules": false, 626 | "revision": "688fa3b256ec13faae0a89ca8b42055b4c781b51", 627 | "url": "https://github.com/WaddlesPlays/SpicetifyStuff/archive/688fa3b256ec13faae0a89ca8b42055b4c781b51.tar.gz", 628 | "hash": "05pmmfizs6f2wnn8if8yg64rz1251gi1cmjiha2l4c28ai9fm1hg" 629 | } 630 | }, 631 | "version": 5 632 | } 633 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /pkgs/generated.json: -------------------------------------------------------------------------------- 1 | {"snippets":{"smoothProgressBar":"@property --progress-bar-transform { inherits: true; initial-value: 0%; syntax: ''; } .progress-bar { transition: --progress-bar-transform 1s linear !important; } .progress-bar--isDragging { transition-duration: 150ms !important; }","hideDownloadButton":".x-downloadButton-DownloadButton { display: none; }","oneko":".player-controls .playback-progressbar::before { content: ''; width: 32px; height: 32px; bottom: calc(100% - 7px); right: 10px; position: absolute; image-rendering: pixelated; background-image: url('https://raw.githubusercontent.com/adryd325/oneko.js/14bab15a755d0e35cd4ae19c931d96d306f99f42/oneko.gif'); animation: oneko 1s infinite; } @keyframes oneko { 0%, 50% { background-position: -64px 0; } 50.0001%, 100% { background-position: -64px -32px; } }","hideWhatsNewButton":"[aria-label=\"What's New\"] {display:none;}","xpBarPr":".playback-bar .x-progressBar-progressBarBg { height: 80% !important; background-image: url(https://i.imgur.com/di9J4K0.png) !important; background-size: cover; background-position: center; } .playback-bar .x-progressBar-sliderArea { height: 100% !important; } .playback-bar .x-progressBar-fillColor { height: 100% !Important; background: none; background-image: url(https://i.imgur.com/c7NB133.png)!important; background-size: cover; background-position: center; }","hideSidebarScrollbar":"#Desktop_LeftSidebar_Id .os-scrollbar-handle, .Root__nav-bar .os-scrollbar-handle, #Desktop_LeftSidebar_Id .os-scrollbar-track, .Root__nav-bar .os-scrollbar-track { visibility: hidden; }","hideFriendActivityButton":"[aria-label='Friend Activity'] {display:none!important;}","roundedThickerBars":".x-progressBar-progressBarBg { height: 100% !important; --progress-bar-radius: 10px !important;} .x-progressBar-sliderArea { height: 100% !important; } .x-progressBar-fillColor { height: 100% !important; }","betterLyricsStyle":".lyrics-lyrics-contentContainer .lyrics-lyricsContent-lyric.lyrics-lyricsContent-highlight { filter: blur(1.5px); padding: 15px; font-size: 110%; } .lyrics-lyrics-contentContainer .lyrics-lyricsContent-lyric.lyrics-lyricsContent-active { filter: none; padding: 20px; font-size: 130%; } .lyrics-lyrics-contentContainer .lyrics-lyricsContent-lyric { filter: blur(1.5px); padding: 15px; font-size: 110%; } .lyrics-lyrics-contentContainer .lyrics-lyricsContent-lyric.lyrics-lyricsContent-unsynced { filter: none; padding: 10px; font-size: 100%; }","smallerRightSidebarCover":":root { --right-sidebar-cover-art-size: 85px; } \n.main-nowPlayingView-coverArt { width: var(--right-sidebar-cover-art-size); } \n.main-nowPlayingView-coverArtContainer { min-height: unset !important; width: var(--right-sidebar-cover-art-size) !important; } \n.main-nowPlayingView-nowPlayingGrid { flex-direction: row !important; align-items: center; } \n.main-nowPlayingView-contextItemInfo { flex: 1; } \n.main-nowPlayingView-contextItemInfo .main-trackInfo-name { font-size: 1.25rem; } \n.main-nowPlayingView-contextItemInfo .main-trackInfo-artists { font-size: 0.85rem; } \n.main-nowPlayingView-contextItemInfo:before { display: none !important; } ","thinLibrarySidebarRows":".main-yourLibraryX-listItemGroup {grid-template-rows: none !important;} .main-yourLibraryX-listItemGroup * {padding-block: 0;}.main-yourLibraryX-listItem [role=\"group\"] {min-block-size: 0 !important;} .main-yourLibraryX-listItem .HeaderArea .Column {flex-direction: row; gap: 0.5em;} .main-yourLibraryX-listItem .HeaderArea * {padding-top: 0 !important; padding-bottom: 0 !important;} .main-yourLibraryX-listItem .x-entityImage-imageContainer, .main-yourLibraryX-rowCover {width: 1.6em !important; height: 1.6em !important;} .main-yourLibraryX-listRowSubtitle {padding-top: 0px;}","hidePodcastButton":"button[aria-label='Podcasts'] {display:none;}","fullscreenHidePlayingFrom":".npv-header.npv-header {display: none;}","leftAlignedHeartIcons":".main-trackList-rowSectionStart {\n margin-left: 38px !important;\n}\n.main-trackList-rowHeartButton {\n position: absolute !important;\n left: 48px !important;\n}","removeEpLikes":".main-collectionLinkButton-collectionLinkButton[href=\"/collection/tracks\"], .main-collectionLinkButton-collectionLinkButton[href=\"/collection/episodes\"] {display: none;}","thickerStickyListIcons":"#spicetify-sticky-list>li:nth-child(1n+1)>a>div.icon.collection-icon>svg:not(.lucide-crown) { stroke: currentcolor; stroke-width: 11px; } .collection-icon { color: unset; }","removePopular":"[data-testid='home-page'] .contentSpacing > [data-testid='component-shelf']:has([href='/section/0JQ5DAuChZYPe9iDhh2mJz'], [href='/section/0JQ5DAnM3wGh0gz1MXnu4h'], [href='/section/0JQ5DAnM3wGh0gz1MXnu3B'], [href='/section/0JQ5DAnM3wGh0gz1MXnu3D']) { display: none !important; }","thickerBars":".x-progressBar-progressBarBg { height: 100% !important; } .x-progressBar-sliderArea { height: 100% !important; } .x-progressBar-fillColor { height: 100% !important; }","hideNowPlayingViewButton":"button:has(path[d='M11.196 8 6 5v6l5.196-3z']) {display: none;}","circularShadowFixForAlbumArt":".main-nowPlayingView-nowPlayingWidget > div > div:nth-child(1) > div { box-shadow: none !important; } .main-nowPlayingView-coverArt { border-radius: 192px; overflow: hidden; }","roundedImages":"/* Expanded Cover Art Image (+ position fix) */\n .main-navBar-navBar > :nth-child(3) {\n margin: 0 0 0 1px;\n border-radius: 6px;\n }\n \n /* Collapsed Cover Art Image */\n .cover-art-image,\n .artist-artistOverview-sideBlock > div > section > div:nth-child(3) > section:nth-child(2) > div > img,\n .view-homeShortcutsGrid-image {\n border-radius: 4px;\n }\n \n /*\n Playlist Header\n Search Category Card Image\n List Cards\n Local Files Card\n Placeholder Profile Card\n Artist Overview Side Block\n */\n .main-entityHeader-shadow,\n .x-categoryCard-image,\n .x-entityImage-circle, \n .main-image-image, \n .kwzBRpFigKr1EP2d5qle, \n .main-cardImage-image,\n .main-cardImage-imageWrapper,\n .main-entityHeader-imagePlaceholder > div,\n .artist-artistOverview-sideBlock > div > section {\n border-radius: 6px;\n }\n \n /* Circled Artist + Profile Cards (force) */\n .main-cardImage-circular,\n .main-entityHeader-imagePlaceholder,\n .main-entityHeader-circle {\n border-radius: 50% !important;\n }\n \n /* Track List Image */\n .main-trackList-rowImage {\n border-radius: 3px;\n }\n \n /* Home Shortcuts Grid (force) */\n .view-homeShortcutsGrid-image,\n .view-homeShortcutsGrid-imageWrapper {\n border-radius: 4px !important;\n }\n \n /* Artist, Liked songs heart (force) */\n .T_JcGdJujSuj014SZfjl {\n border-radius: 20% !important;\n }","fixPlaylistAndFolderPosition":".playlist-item__img.folder, .playlist-item__img { margin-right: 16px; } .main-rootlist-rootlist { --left-sidebar-item-height: 32px; --left-sidebar-item-indentation-width: 10px; } div.GlueDropTarget.personal-library > * { height: 32px !important; }","centeredLyrics":".lyrics-lyrics-contentWrapper { text-align: center; }","fixedEpisodesIcon":".main-yourEpisodesButton-yourEpisodesIcon { background: var(--spice-text); color: var(--spice-sidebar); }","smoothPlaylistRevealGradient":".main-entityHeader-overlay,\n.main-actionBarBackground-background,\n.main-entityHeader-overlay,\n.main-entityHeader-backgroundColor {\n -webkit-transition: 3s;\n}","hidePlayingGif":".main-trackList-playingIcon{display: none}","hideLikedSongsCard":".collection-collectionEntityHeroCard-likedSongs{ display: none; }","hideProfileUsername":".main-userWidget-displayName {display: none !important;}","hideMiniPlayerButton":"button:has(path[d='M16 2.45c0-.8-.65-1.45-1.45-1.45H1.45C.65 1 0 1.65 0 2.45v11.1C0 14.35.65 15 1.45 15h5.557v-1.5H1.5v-11h13V7H16V2.45z']) {display: none;}","queueTopSidePanel":".main-nowPlayingView-section:not(.main-nowPlayingView-queue) { order: 99; }","duck":".player-controls .playback-progressbar::before { content: ''; width: 32px; height: 32px; bottom: calc(100% - 7px); right: 10px; position: absolute; image-rendering: pixelated; background-size: 32px 32px; background-image: url('https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzdsM2Y2aHh3cTQ2Z3JzbXAzMXJrZjdiM3IwMXhnaTFnc295ZnRkZCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/cCOVfFwDI3awdse5A3/giphy.gif'); }","rotatingCoverart":"@keyframes rotating {from {transform: rotate(0deg);}to {transform: rotate(360deg);}}.cover-art, .main-nowPlayingView-coverArtContainer::after, .main-nowPlayingView-coverArtContainer::before {animation: rotating 10s linear infinite;border-radius: 50%;}.cover-art {clip-path: circle(50% at 50% 50%);} .main-nowPlayingBar-left button {background: transparent;} .main-nowPlayingView-coverArt {box-shadow:none; filter: drop-shadow(0 9px 9px rgba(0,0,0,.271));}","removeTopSpacing":".Root__top-container:has([class*='yourLibraryX']) { padding-top: 8px; }","dynamicLeftSidebar":"#Desktop_LeftSidebar_Id {\n width: 0px;\n transition: width 0.5s ease, padding-left 0.5s ease;\n z-index: 12;\n}\n#Desktop_LeftSidebar_Id:hover {\n padding-left: 8px;\n width: 280px;\n}\n:root {\n margin-left: -8px;\n}\nsvg[data-encore-id='icon']{\n overflow: visible;\n}\n#Desktop_LeftSidebar_Id span {\n white-space: nowrap;\n}","darkLyrics":".lyrics-lyrics-background { background-image: linear-gradient(315deg,var(--lyrics-color-background),black); background-size: 500%; } .lyrics-lyricsContent-lyric.lyrics-lyricsContent-highlight { color: white; } .lyrics-lyricsContent-lyric { color: #424242; }","smallVideoButton":".dcSY8Zom_VXgK71Lbym_ { position: absolute; opacity: 0.4; transition: opacity 0.5s; z-index: 999; } .dcSY8Zom_VXgK71Lbym_:hover { position: absolute; opacity: 1; } .dcSY8Zom_VXgK71Lbym_ .encore-text { display: none; }","removeDuplicatedFullscreenButton":"button:not(#BeautifulLyricsFullscreenButton):has(path[d='M6.53 9.47a.75.75 0 0 1 0 1.06l-2.72 2.72h1.018a.75.75 0 0 1 0 1.5H1.25v-3.579a.75.75 0 0 1 1.5 0v1.018l2.72-2.72a.75.75 0 0 1 1.06 0zm2.94-2.94a.75.75 0 0 1 0-1.06l2.72-2.72h-1.018a.75.75 0 1 1 0-1.5h3.578v3.579a.75.75 0 0 1-1.5 0V3.81l-2.72 2.72a.75.75 0 0 1-1.06 0z']) { display: none; !important}","moreVisibleUnplayableTracks":".main-trackList-disabled{background:#f004}.main-trackList-disabled:focus-within,.main-trackList-disabled:hover{background:#f005}.main-trackList-disabled.main-trackList-selected,.main-trackList-disabled.main-trackList-selected:hover{background:#f006}","rightCoverArt":".main-nowPlayingWidget-nowPlaying > .ellipsis-one-line,\n.main-trackInfo-container {\n margin-left: 74px;\n}\n.main-coverSlotExpanded-container {\n position: fixed;\n top: calc(100% - 305px);\n left: calc(100% - 220px);\n width: 200px;\n height: 200px;\n visibility: hidden;\n transform-origin: center;\n animation: 1s coverExpandedIn;\n animation-fill-mode: forwards;\n}\n.Q4cc5RktWgz2H8_vDrIS {\n display: none;\n}\n.main-coverSlotCollapsed-container {\n position: fixed;\n top: -12px;\n left: 0px;\n width: 56px;\n height: 56px;\n visibility: visible;\n z-index: 1;\n}\n.cover-art .cover-art-image,\n.main-coverSlotCollapsed-container {\n transform-origin: center;\n transition-timing-function: ease-in;\n transition: width 0.5s 0.2s, height 0.5s 0.2s, top 0.3s, left 0.5s,\n box-shadow 0.5s;\n}\n.main-coverSlotCollapsed-container[aria-hidden='true'] {\n left: calc(100vw - 164px);\n top: -240px;\n width: 200px;\n height: 200px;\n visibility: hidden;\n animation: 1s coverExpandedOut;\n}\n.main-coverSlotCollapsed-container[aria-hidden='false'] {\n transition-timing-function: ease-out !important;\n transition: width 0.5s 0.2s, height 0.5s 0.2s, top 0.5s 0.1s, left 0.3s,\n box-shadow 0.5s !important;\n}\n.main-coverSlotCollapsed-container[aria-hidden='true']\n .cover-art\n .cover-art-image,\n.main-nowPlayingWidget-coverExpanded\n .main-coverSlotCollapsed-container\n .cover-art\n .cover-art-image {\n width: 200px;\n height: 200px;\n}\n.main-nowPlayingBar-left {\n z-index: 2;\n}\n.main-nowPlayingBar-center {\n z-index: 1;\n}\n.cover-art.shadow {\n box-shadow: 0 0 10px rgba(var(--spice-rgb-shadow), 1) !important;\n}\n@keyframes coverExpandedIn {\n 99% {\n visibility: hidden;\n }\n 100% {\n visibility: visible;\n }\n}\n@keyframes coverExpandedOut {\n 99% {\n visibility: visible;\n }\n 100% {\n visibility: hidden;\n }\n}","spinningCdCoverArt":"@keyframes rotating {from {transform: rotate(0deg);}to {transform: rotate(360deg);}}.cover-art {animation: rotating 360s linear infinite;clip-path: circle(50% at 50% 50%);position: relative;}.cover-art::after {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 22%;height: 22%;background: radial-gradient( circle at center, rgba(24, 22, 35, 0.9) 0%, rgba(24, 22, 35, 0.9) 38%, rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.1) 40%, rgba(24, 22, 35, 0.9) 40%, rgba(24, 22, 35, 0.9) 100% ), repeating-radial-gradient( circle at center, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 4px );border-radius: 50%;pointer-events: none;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 20px rgba(255, 255, 255, 0.1);}.cover-art::before {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 6%;height: 6%;background: rgba(24, 22, 35, 1);border-radius: 50%;box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);z-index: 1;} .main-nowPlayingBar-left button {background: transparent;}","hideLyricsButton":".main-nowPlayingBar-lyricsButton { display: none; }","roundedButtons":".x-filterBox-expandButton, .main-avatar-avatar, .main-topBar-buddyFeed, .main-topBar-button, .Button-sc-1dqy6lx-0, .main-coverSlotCollapsed-expandButton, .NqzueDshzvgXEygqOGPG {border-radius: 15% !important;} .XNFZdOLgMlx491fEWdYJ, .ChipClear__ChipClearComponent-sc-zv5btm-0, .Button-sc-1dqy6lx-0, .Button-sc-y0gtbx-0, .main-nowPlayingView-aboutArtistV2FollowButton, .main-playPauseButton-button, .ButtonInner-sc-14ud5tc-0, .search-searchCategory-carouselButton, .ChipInnerComponent-sm, .ChipInnerComponent-sm-selected, .switch, .arrow-btn, .pSxFsY9Fgcj5f8Gf05mh, .qyKJPLjz8o4jnbk92JOn, .reset, .rdp-button, .btn, .TabItem__StyledTabItem-sc-2ani5y-0, .main-embedWidgetGenerator-closeBtn, .main-playlistEditDetailsModal-closeBtn, .profile-userEditDetails-closeButton, .mKUj4tXOjumlcv0q9Qta, .Chip__ChipComponent-sc-ry3uox-0, .LegacyChipInner__ChipInnerComponent-sc-1qguixk-0, .sHDdcNIw9AQLbLrpdcqO, .view-homeShortcutsGrid-playButton, .ButtonInner-medium-iconOnly, .button-module__button___hf2qg_marketplace, .link-subtle, .yDdtQxGIyqWU3GNrntPu, .AIlmv6h8bR5NY5R0VceT, .e-9640-baseline, .XlmJIRaVv7a23oYq6lwU, .main-card-PlayButtonContainer, .e-9800-baseline, .e-9812-baseline {border-radius: 6px !important;} .ButtonInner-large-iconOnly, .tLjX9htIKD_OCmEX01UN {border-radius: 12px !important;} .main-globalNav-searchInputContainer, .SFAoASy0S_LZJmYZ3Fh9, .x-searchInput-searchInputInput, .toggle-module__toggle-indicator-wrapper___6Lcp0_marketplace, .x-toggle-indicatorWrapper, .main-topBar-searchBar {border-collapse: separate; border-radius: 6px !important;}","hoverPanels":".Root__nav-bar {\n position: absolute;\n width: 35px;\n opacity: 0;\n bottom: 0;\n left: 0;\n top: 0;\n z-index: 12;\n transition: width 400ms, opacity 250ms ease-out;\n}\n.main-yourLibraryX-entryPoints {\n background: var(--spice-sidebar);\n}\n.Root__nav-bar:hover {\n width: 250px;\n opacity: 1;\n transition: width 250ms, opacity 400ms ease-in;\n}\n.LayoutResizer__resize-bar {\n cursor: none;\n}\n.Root__top-bar {\n opacity: 0;\n transition: visibility 5s, opacity 1s linear;\n}\n.Root__top-bar:hover {\n transition-delay: 0.5s;\n opacity: 1;\n transition: visibility 5s, opacity 0.5s linear;\n}\n.main-topBar-container {\n -webkit-padding-end: 32px;\n padding: 16px 85px;\n padding-inline-end: 32px;\n max-width: none;\n}\n.main-buddyFeed-container:hover {\n width: 350px !important;\n opacity: 1 !important;\n transition: width 250ms, opacity 400ms ease-in;\n}\n.main-buddyFeed-container {\n position: absolute;\n right: -5px;\n top: 0;\n bottom: 84px;\n width: 50px !important;\n opacity: 0 !important;\n transition: width 400ms, opacity 250ms ease-out;\n}\n.main-trackList-trackListHeader {\n top: 0 !important;\n}\n.main-yourLibraryX-navItem {\n overflow: hidden;\n}\n.main-coverSlotCollapsed-navAltContainer {\n overflow: visible;\n}\n.LayoutResizer__resize-bar {\n display: none;\n}\n:root {\n --left-sidebar-width: 35px !important;\n --right-sidebar-width: 50px !important;\n margin-left:-8px;\n}","fixDjIcon":".main-collectionLinkButton-icon > div { background: var(--spice-text); color: var(--spice-sidebar); }","alwaysShowForward":".main-topBar-historyButtons .main-topBar-forward {\n display: inline-flex !important;\n}","hideRecentSearches":".main-shelf-shelf:has(.x-searchHistoryEntries-searchHistoryEntry) {display: none;}","removeGradient":".main-entityHeader-backgroundColor { display: none !important; } .main-actionBarBackground-background { display: none !important; } .main-home-homeHeader { display: none !important; }","circularAlbumArt":".cover-art-image { clip-path: circle(50% at 50% 50%); }.main-nowPlayingBar-left {border-radius: 50%;}","defaultProgressBar":".playback-bar {position: relative !important; display: block !important; --playback-bar-grid-gap: 8px !important; -webkit-box-orient: horizontal !important; -webkit-box-direction: normal !important; -webkit-box-pack: justify !important; -webkit-box-align: center !important; align-items: center !important; display: -webkit-box !important; display: flex !important; flex-direction: row !important; gap: var(--playback-bar-grid-gap) !important; justify-content: space-between !important; height: 12px !important;} .x-progressBar-progressBarBg {--progress-bar-height: 6px !important; --progress-bar-radius: 10px !important;} :root .Root__now-playing-bar .playback-bar > div {height: 17.59px !important;} .player-controls__buttons--new-icons { margin-bottom: 12px !importan;} .main-nowPlayingBar-nowPlayingBar {padding-bottom: 0px !important;}","hidePlayCount":".main-trackList-playsHeader,.main-trackList-rowPlayCount {display: none}","fixMainViewWidth":".contentSpacing {\n max-width: 100% !important;\n}","hideRecentlyPlayed":".view-homeShortcutsGrid-shortcuts, section[aria-label='Recently played'] {display:none;}","nyanCatProgressBar":".playback-bar .x-progressBar-fillColor {\n background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMCAIAAAAs6UAAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUNCQzIyREQ0QjdEMTFFMzlEMDM4Qzc3MEY0NzdGMDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUNCQzIyREU0QjdEMTFFMzlEMDM4Qzc3MEY0NzdGMDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQ0JDMjJEQjRCN0QxMUUzOUQwMzhDNzcwRjQ3N0YwOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQ0JDMjJEQzRCN0QxMUUzOUQwMzhDNzcwRjQ3N0YwOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PovDFgYAAAAmSURBVHjaYvjPwMAAxjMZmBhA9H8INv4P4TPM/A+m04zBNECAAQBCWQv9SUQpVgAAAABJRU5ErkJggg==')\n repeat-x !important;\n background: linear-gradient(\n to bottom,\n #ff0000 0%,\n #ff0000 16.5%,\n #ff9900 16.5%,\n #ff9900 33%,\n #ffff00 33%,\n #ffff00 50%,\n #33ff00 50%,\n #33ff00 66%,\n #0099ff 66%,\n #0099ff 83.5%,\n #6633ff 83.5%,\n #6633ff 100%\n ) !important;\n width: 100% !important;\n}\n\n.playback-bar .x-progressBar-progressBarBg {\n background: url('data:image/gif;base64,R0lGODlhMAAMAIAAAAxBd////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgAAACwAAAAAMAAMAAACJYSPqcvtD6MKstpLr24Z9A2GYvJ544mhXQmxoesElIyCcB3dRgEAIfkEBAoAAAAsAQACAC0ACgAAAiGEj6nLHG0enNQdWbPefOHYhSLydVhJoSYXPO04qrAmJwUAIfkEBAoAAAAsBQABACkACwAAAiGEj6nLwQ8jcC5ViW3evHt1GaE0flxpphn6BNTEqvI8dQUAIfkEBAoAAAAsAQABACoACwAAAiGEj6nLwQ+jcU5VidPNvPtvad0GfmSJeicUUECbxnK0RgUAIfkEBAoAAAAsAAAAACcADAAAAiCEj6mbwQ+ji5QGd6t+c/v2hZzYiVpXmuoKIikLm6hXAAAh+QQECgAAACwAAAAALQAMAAACI4SPqQvBD6NysloTXL480g4uX0iW1Wg21oem7ismLUy/LFwAACH5BAQKAAAALAkAAAAkAAwAAAIghI8Joe0Po0yBWTaz3g/z7UXhMX7kYmplmo0rC8cyUgAAIfkEBAoAAAAsBQAAACUACgAAAh2Ejwmh7Q+jbIFZNrPeEXPudU74IVa5kSiYqOtRAAAh+QQECgAAACwEAAAAIgAKAAACHISPELfpD6OcqTGKs4bWRp+B36YFi0mGaVmtWQEAIfkEBAoAAAAsAAAAACMACgAAAh2EjxC36Q+jnK8xirOW1kavgd+2BYtJhmnpiGtUAAAh+QQECgAAACwAAAAALgALAAACIYSPqcvtD+MKicqLn82c7e6BIhZQ5jem6oVKbfdqQLzKBQAh+QQECgAAACwCAAIALAAJAAACHQx+hsvtD2OStDplKc68r2CEm0eW5uSN6aqe1lgAADs=') !important;\n}\n\n.playback-bar .progress-bar__slider {\n background: url('data:image/gif;base64,R0lGODlhIgAVAKIHAL3/9/+Zmf8zmf/MmZmZmf+Z/wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpDMkJBNjY5RTU1NEJFMzExOUM4QUM2MDAwNDQzRERBQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCREIzOEIzMzRCN0IxMUUzODhEQjgwOTYzMTgyNTE0QiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCREIzOEIzMjRCN0IxMUUzODhEQjgwOTYzMTgyNTE0QiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkM1QkE2NjlFNTU0QkUzMTE5QzhBQzYwMDA0NDNEREFDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkMyQkE2NjlFNTU0QkUzMTE5QzhBQzYwMDA0NDNEREFDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkECQcABwAsAAAAACIAFQAAA6J4umv+MDpG6zEj682zsRaWFWRpltoHMuJZCCRseis7xG5eDGp93bqCA7f7TFaYoIFAMMwczB5EkTzJllEUttmIGoG5bfPBjDawD7CsJC67uWcv2CRov929C/q2ZpcBbYBmLGk6W1BRY4MUDnMvJEsBAXdlknk2fCeRk2iJliAijpBlEmigjR0plKSgpKWvEUheF4tUZqZID1RHjEe8PsDBBwkAIfkECQcABwAsAAAAACIAFQAAA6B4umv+MDpG6zEj682zsRaWFWRpltoHMuJZCCRseis7xG5eDGp93TqS40XiKSYgTLBgIBAMqE/zmQSaZEzns+jQ9pC/5dQJ0VIv5KMVWxqb36opxHrNvu9ptPfGbmsBbgSAeRdydCdjXWRPchQPh1hNAQF4TpM9NnwukpRyi5chGjqJEoSOIh0plaYsZBKvsCuNjY5ptElgDyFIuj6+vwcJACH5BAkHAAcALAAAAAAiABUAAAOfeLrc/vCZSaudUY7Nu99GxhhcYZ7oyYXiQQ5pIZgzCrYuLMd8MbAiUu802flYGIhwaCAQDKpQ86nUoWqF6dP00wIby572SXE6vyMrlmhuu9GKifWaddvNQAtszXYCxgR/Zy5jYTFeXmSDiIZGdQEBd06QSBQ5e4cEkE9nnZQaG2J4F4MSLx8rkqUSZBeurhlTUqsLsi60DpZxSWBJugcJACH5BAkHAAcALAAAAAAiABUAAAOgeLrc/vCZSaudUY7Nu99GxhhcYZ7oyYXiQQ5pIZgzCrYuLMd8MbAiUu802flYGIhwaCAQDKpQ86nUoWqF6dP00wIby572SXE6vyMrlmhuu9GuifWaddvNwMkZtmY7AWMEgGcKY2ExXl5khFMVc0Z1AQF3TpJShDl8iASST2efloV5JTyJFpgOch8dgW9KZxexshGNLqgLtbW0SXFwvaJfCQAh+QQJBwAHACwAAAAAIgAVAAADoXi63P7wmUmrnVGOzbvfRsYYXGGe6MmF4kEOaSGYMwq2LizHfDGwIlLPNKGZfi6gZmggEAy2iVPZEKZqzakq+1xUFFYe90lxTsHmim6HGpvf3eR7skYJ3PC5tyystc0AboFnVXQ9XFJTZIQOYUYFTQEBeWaSVF4bbCeRk1meBJYSL3WbaReMIxQfHXh6jaYXsbEQni6oaF21ERR7l0ksvA0JACH5BAkHAAcALAAAAAAiABUAAAOeeLrc/vCZSaudUY7Nu99GxhhcYZ7oyYXiQQ5pIZgzCrYuLMfFlA4hTITEMxkIBMOuADwmhzqeM6mashTCXKw2TVKQyKuTRSx2wegnNkyJ1ozpOFiMLqcEU8BZHx6NYW8nVlZefQ1tZgQBAXJIi1eHUTRwi0lhl48QL0sogxaGDhMlUo2gh14fHhcVmnOrrxNqrU9joX21Q0IUElm7DQkAIfkECQcABwAsAAAAACIAFQAAA6J4umv+MDpG6zEj682zsRaWFWRpltoHMuJZCCRseis7xG5eDGp93bqCA7f7TFaYoIFAMMwczB5EkTzJllEUttmIGoG5bfPBjDawD7CsJC67uWcv2CRov929C/q2ZpcBbYBmLGk6W1BRY4MUDnMvJEsBAXdlknk2fCeRk2iJliAijpBlEmigjR0plKSgpKWvEUheF4tUZqZID1RHjEe8PsDBBwkAIfkECQcABwAsAAAAACIAFQAAA6B4umv+MDpG6zEj682zsRaWFWRpltoHMuJZCCRseis7xG5eDGp93TqS40XiKSYgTLBgIBAMqE/zmQSaZEzns+jQ9pC/5dQJ0VIv5KMVWxqb36opxHrNvu9ptPfGbmsBbgSAeRdydCdjXWRPchQPh1hNAQF4TpM9NnwukpRyi5chGjqJEoSOIh0plaYsZBKvsCuNjY5ptElgDyFIuj6+vwcJACH5BAkHAAcALAAAAAAiABUAAAOfeLrc/vCZSaudUY7Nu99GxhhcYZ7oyYXiQQ5pIZgzCrYuLMd8MbAiUu802flYGIhwaCAQDKpQ86nUoWqF6dP00wIby572SXE6vyMrlmhuu9GKifWaddvNQAtszXYCxgR/Zy5jYTFeXmSDiIZGdQEBd06QSBQ5e4cEkE9nnZQaG2J4F4MSLx8rkqUSZBeurhlTUqsLsi60DpZxSWBJugcJACH5BAkHAAcALAAAAAAiABUAAAOgeLrc/vCZSaudUY7Nu99GxhhcYZ7oyYXiQQ5pIZgzCrYuLMd8MbAiUu802flYGIhwaCAQDKpQ86nUoWqF6dP00wIby572SXE6vyMrlmhuu9GuifWaddvNwMkZtmY7AWMEgGcKY2ExXl5khFMVc0Z1AQF3TpJShDl8iASST2efloV5JTyJFpgOch8dgW9KZxexshGNLqgLtbW0SXFwvaJfCQAh+QQJBwAHACwAAAAAIgAVAAADoXi63P7wmUmrnVGOzbvfRsYYXGGe6MmF4kEOaSGYMwq2LizHfDGwIlLPNKGZfi6gZmggEAy2iVPZEKZqzakq+1xUFFYe90lxTsHmim6HGpvf3eR7skYJ3PC5tyystc0AboFnVXQ9XFJTZIQOYUYFTQEBeWaSVF4bbCeRk1meBJYSL3WbaReMIxQfHXh6jaYXsbEQni6oaF21ERR7l0ksvA0JACH5BAkHAAcALAAAAAAiABUAAAOeeLrc/vCZSaudUY7Nu99GxhhcYZ7oyYXiQQ5pIZgzCrYuLMfFlA4hTITEMxkIBMOuADwmhzqeM6mashTCXKw2TVKQyKuTRSx2wegnNkyJ1ozpOFiMLqcEU8BZHx6NYW8nVlZefQ1tZgQBAXJIi1eHUTRwi0lhl48QL0sogxaGDhMlUo2gh14fHhcVmnOrrxNqrU9joX21Q0IUElm7DQkAOw==') !important;\n width: 34px !important;\n height: 21px !important;\n border: none !important;\n margin-left: -18px !important;\n margin-top: 0px !important;\n visibility: visible !important;\n display: block !important;\n transform: translateY(-50%) scale(0.8);\n border-radius: 0 !important;\n box-shadow: none !important;\n transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.playback-bar .progress-bar__slider::after {\n display: none !important;\n}\n\n.playback-bar .progress-bar {\n --progress-bar-height: 8px !important;\n}\n\n.playback-bar\n :is(\n .playback-progressbar-isInteractive .progress-bar--isDragging,\n .playback-progressbar-isInteractive .progress-bar:focus,\n .playback-progressbar-isInteractive .progress-bar:hover,\n .playback-progressbar-isInteractive:focus-within\n ) {\n --progress-bar-height: 12px !important;\n}\n\n.playback-bar\n :is(\n .x-progressBar-progressBarBg,\n .x-progressBar-sliderArea,\n .x-progressBar-fillColor\n ) {\n transition: height 0.1s cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.playback-bar\n :is(\n .playback-progressbar-isInteractive .progress-bar--isDragging,\n .playback-progressbar-isInteractive .progress-bar:focus,\n .playback-progressbar-isInteractive .progress-bar:hover,\n .playback-progressbar-isInteractive:focus-within\n )\n .progress-bar__slider {\n image-rendering: pixelated !important;\n transform: translateY(-50%) scale(1) !important;\n}\n\n/* uncomment if you use text theme, for time readability */\n/* .playback-bar__progress-time-elapsed,\n.main-playbackBarRemainingTime-container {\n mix-blend-mode: normal !important;\n background: rgba(var(--spice-rgb-main), 0.8) !important;\n box-shadow: 0 0 16px 8px var(--spice-main) !important;\n} */","removePlaylistCover":".main-entityHeader-imageContainer.main-entityHeader-imageContainerNew { display: none; }","hideMadeForYou":"section[aria-label^='Made For'] {\n display: none;\n}","hideAudiobooksButton":"button[aria-label='Audiobooks'] {display:none;}","fullscreenHideNextUp":".npv-up-next.fade-in-and-out-transition-enter-done {display: none;}","pointer":"button, .show-followButton-button, .main-dropDown-dropDown, .x-toggle-wrapper, .main-playlistEditDetailsModal-closeBtn, .main-trackList-rowPlayPauseButton, .main-rootlist-rootlistItemLink:link, .main-rootlist-rootlistItemLink:visited, .x-sortBox-sortDropdown, .main-contextMenu-menuItemButton, .main-trackList-column, .main-moreButton-button, .x-downloadButton-button, .main-playButton-PlayButton, .main-coverSlotExpandedCollapseButton-chevron, .main-coverSlotCollapsed-chevron, .control-button:focus, .control-button:hover, .main-repeatButton-button, .main-skipForwardButton-button, .main-playPauseButton-button, .main-skipBackButton-button, .main-shuffleButton-button, .main-addButton-button, .progress-bar__slider, .playback-bar, .main-editImageButton-image, .X1lXSiVj0pzhQCUo_72A, .main-card-card, .main-trackList-trackListRow, .Dropdown-control { cursor: pointer !important; }","fixProgressBar":".main-connectBar-connectBar {\n overflow: visible !important;\n position: absolute !important;\n display: flex !important;\n align-items: unset !important;\n left: 80% !important;\n height: 20px !important;\n bottom: 1% !important;\n padding: 2px !important;\n background-color: transparent !important;\n color: var(--spice-text) !important;\n}\n.control-button::after {\n display: none !important;\n}","fixNowPlayingIcon":".main-trackList-playingIcon { -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg id='playing-icon' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cdefs%3E%3Cstyle%3E %23playing-icon %7B fill: %2320BC54; %7D @keyframes play %7B 0%25 %7Btransform: scaleY(1);%7D 3.3%25 %7Btransform: scaleY(0.9583);%7D 6.6%25 %7Btransform: scaleY(0.9166);%7D 9.9%25 %7Btransform: scaleY(0.8333);%7D 13.3%25 %7Btransform: scaleY(0.7083);%7D 16.6%25 %7Btransform: scaleY(0.5416);%7D 19.9%25 %7Btransform: scaleY(0.4166);%7D 23.3%25 %7Btransform: scaleY(0.25);%7D 26.6%25 %7Btransform: scaleY(0.1666);%7D 29.9%25 %7Btransform: scaleY(0.125);%7D 33.3%25 %7Btransform: scaleY(0.125);%7D 36.6%25 %7Btransform: scaleY(0.1666);%7D 39.9%25 %7Btransform: scaleY(0.1666);%7D 43.3%25 %7Btransform: scaleY(0.2083);%7D 46.6%25 %7Btransform: scaleY(0.2916);%7D 49.9%25 %7Btransform: scaleY(0.375);%7D 53.3%25 %7Btransform: scaleY(0.5);%7D 56.6%25 %7Btransform: scaleY(0.5833);%7D 59.9%25 %7Btransform: scaleY(0.625);%7D 63.3%25 %7Btransform: scaleY(0.6666);%7D 66.6%25 %7Btransform: scaleY(0.6666);%7D 69.9%25 %7Btransform: scaleY(0.6666);%7D 73.3%25 %7Btransform: scaleY(0.6666);%7D 76.6%25 %7Btransform: scaleY(0.7083);%7D 79.9%25 %7Btransform: scaleY(0.75);%7D 83.3%25 %7Btransform: scaleY(0.8333);%7D 86.6%25 %7Btransform: scaleY(0.875);%7D 89.9%25 %7Btransform: scaleY(0.9166);%7D 93.3%25 %7Btransform: scaleY(0.9583);%7D 96.6%25 %7Btransform: scaleY(1);%7D %7D %23bar1 %7B transform-origin: bottom; animation: play 0.9s -0.51s infinite; %7D %23bar2 %7B transform-origin: bottom; animation: play 0.9s infinite; %7D %23bar3 %7B transform-origin: bottom; animation: play 0.9s -0.15s infinite; %7D %23bar4 %7B transform-origin: bottom; animation: play 0.9s -0.75s infinite; %7D %3C/style%3E%3C/defs%3E%3Ctitle%3Eplaying-icon%3C/title%3E%3Crect id='bar1' class='cls-1' width='4' height='24'/%3E%3Crect id='bar2' class='cls-1' x='6' width='4' height='24'/%3E%3Crect id='bar3' class='cls-1' x='12' width='4' height='24'/%3E%3Crect id='bar4' class='cls-1' x='18' width='4' height='24'/%3E%3C/svg%3E\"); background: var(--spice-button); content-visibility: hidden; -webkit-mask-repeat: no-repeat; }","switchSidebars":".Root__top-container .Root__nav-bar { grid-area: right-sidebar !important;} .Root__top-container .Root__right-sidebar { grid-area: left-sidebar !important;} .Root__top-container .Root__nav-bar .os-scrollbar,.Root__top-container .Root__nav-bar .LayoutResizer__resize-bar { left: -4px !important; right: auto !important; } .Root__top-container .Root__right-sidebar .os-scrollbar, .Root__top-container .Root__right-sidebar .LayoutResizer__resize-bar { right: -4px !important; left: auto !important; } .Root__top-container .Root__nav-bar .LayoutResizer__resize-bar { transform: scaleX(-1); } .Root__top-container .Root__right-sidebar .LayoutResizer__resize-bar { transform: scaleX(-1); }","prettyLyrics":".lyrics-lyrics-background { display: none; } .lyrics-lyrics-contentWrapper>*:not(.lyrics-lyricsContent-active, .lyrics-lyricsContent-highlight, .lyrics-lyricsContent-provider, .lyrics-lyricsContent-description, .lyrics-lyricsContent-unsynced) { color: #FFFFFF4D !important; } .lyrics-lyrics-contentWrapper>*:not(.lyrics-lyricsContent-active, .lyrics-lyricsContent-highlight, .lyrics-lyricsContent-provider, .lyrics-lyricsContent-description, .lyrics-lyricsContent-unsynced):hover { color: #FFFFFF !important; } .lyrics-lyricsContent-highlight { color: #FFFFFF66; } .lyrics-lyricsContent-unsynced { color: #FFFFFF !important; } .lyrics-lyricsContent-unsynced:hover { color: #FFFFFF !important; } .lyrics-lyricsContent-provider, .lyrics-lyricsContent-description { color: #FFFFFFB6 !important; }","disableRecommendations":"[data-testid='home-page'] .contentSpacing > *:not(.view-homeShortcutsGrid-shortcuts, [data-testid='component-shelf']:has([href=\"/genre/recently-played\"], [href=\"/section/0JQ5DAnM3wGh0gz1MXnu3z\"])) {\n display: none !important;\n}","roundedNowPlaying":":root{ --border-radius-1: 8px; } .Root__now-playing-bar, .Root__now-playing-bar footer { border-radius: var(--border-radius-1) !important; }","fixLikedIcon":".main-likedSongsButton-likedSongsIcon {\n color: var(--spice-sidebar);\n background: var(--spice-text);\n}","fixLikedButton":"#_R_G *:not([fill=\"none\"]) { fill: var(--spice-button) !important; } #_R_G *:not([stroke=\"none\"]) { stroke: var(--spice-button); } .main-addButton-button[aria-checked=\"false\"] { color: rgba(var(--spice-rgb-selected-row), 0.7); } .control-button-heart[aria-checked=\"true\"], .main-addButton-button, .main-addButton-active:focus, .main-addButton-active:hover { color: var(--spice-button); }","amogusDancing":".player-controls .playback-progressbar::after { content: ''; width: 32px; height: 32px; bottom: calc(100% - 7px); right: 42px; position: absolute; image-rendering: pixelated; background-size: 32px 32px; background-image: url('https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExcHI5czk0Z2hvd2Eyd28xbnoxanFubXNvNnA3eHV0Z3R1Zm1sYjJ3ZCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/l3pvo4H9dg4BX4gueg/giphy.gif'); }","autoHideFriends":".Root__right-sidebar {\n transition: width 0.3s;\n}\n@media screen and (max-width: 1200px) {\n .Root__right-sidebar {\n width: 0;\n }\n .Root__right-sidebar .LayoutResizer__resize-bar {\n display: none;\n }\n}","newHoverPanel":"#Desktop_LeftSidebar_Id {\n position: absolute;\n left: -280px;\n width: 288px;\n height: 100%;\n background-color: black;\n opacity: 0;\n visibility: visible;\n transition: left 0.5s ease, opacity 0.5s ease;\n z-index: 12;\n}\n#Desktop_LeftSidebar_Id:hover {\n left: 0;\n opacity: 1;\n visibility: visible;\n}\n:root {\n margin-left: -8px;\n}","modernScrollbar":".os-scrollbar-handle { width:0.25rem!important;border-radius:10rem !important; transition: width 300ms ease-in-out; } .os-scrollbar-handle:focus,.os-scrollbar-handle:focus-within,.os-scrollbar-handle:hover { width:0.35rem!important }","declutterNowPlayingBar":".main-nowPlayingView-section{ display:none; } .main-nowPlayingView-aboutArtistV2{ display:none; } .nw2W4ZMdICuBo08Tzxg9 { justify-content: center; height: 100%; width: 100%; } .Loading{ display:none !important; } .LoadingLyricsCard{ display:none !important; } .f6_Fu_ei4TIJWR0wzvTk{ display:none !important; }","removeTheArtistsAndCreditsSectionsFromTheSidebar":".nw2W4ZMdICuBo08Tzxg9 { justify-content: center; height: 100%; width: 100%; } .main-nowPlayingView-section:not(.main-nowPlayingView-queue) {display: none !important}","sonicDancing":".player-controls .playback-progressbar::before { content: ''; width: 32px; height: 32px; bottom: calc(100% - 7px); right: 10px; position: absolute; image-rendering: pixelated; background-size: 32px 32px; background-image: url('https://media.tenor.com/pWqGD2PHY3kAAAAj/fortnite-dance-sonic.gif'); }","removeRecentlyPlayed":".main-shelf-shelf:has([href='/genre/recently-played']) { display: none !important; }","fixListeningOn":".Svg-presentation-essentialBase-small-icon-autoMirror {fill: var(--spice-text);} .TypeElement-mesto-textBase-type {color: var(--spice-text) !important;} .main-devicePicker-indicator {display: none !important;} .main-nowPlayingBar-container {height: 72px !important;} .main-connectBar-connectBar {position: absolute !important; align-items: center !important; top: 42px !important; height: 32px !important; align-self: center !important; background-color: transparent !important; width: 30% !important;}","pokemonAdventure":".player-controls .playback-progressbar::before { content: ''; width: 42px ; height: 42px; bottom: calc(100% - 7px); right: 10px; position: absolute; image-rendering: pixelated; background-size: 42px 42px ; background-image: url('https://i.giphy.com/mFYJZxzy2SFqC8YSWd.webp'); }","duotoneAlbumArt":":root{--gmaa-base:#191414;--gmaa-bg-blend:lighten;--gmaa-blur:0;--gmaa-fg-blend:multiply;--gmaa-foreground:#1cb955;--gmaa-opacity:.74;--gmaa-spacing:0}.cover-art{background-color:var(--gmaa-base);display:flex;flex:1 1 100%;height:100%;overflow:hidden;position:relative}.cover-art img{filter:grayscale(100%) contrast(1) blur(var(--gmaa-blur));flex:1 0 100%;height:100%;max-width:100%;mix-blend-mode:var(--gmaa-bg-blend);object-fit:cover;opacity:var(--gmaa-opacity);position:relative;width:100%}.cover-art::before{background-color:var(--gmaa-foreground);bottom:0;content:'';height:100%;left:0;mix-blend-mode:var(--gmaa-fg-blend);position:absolute;right:0;top:0;width:100%;z-index:1}.cover-art-icon{display:none;visibility:hidden}","beSquare":".main-cardImage-image, .main-cardImage-imageWrapper, #fad-art-image, #fad-art:hover, #fad-art-overlay, #fsd-art-image,.main-entityHeader-image, .main-coverSlotCollapsed-navAltContainer,.main-trackList-rowSectionEnd>:not(:last-child), [dir=ltr] .main-trackList-rowSectionVariable>:not(:last-child,.main-trackList-facepile), [dir=ltr] .main-trackList-rowSectionStart>:not(:last-child),.main-nowPlayingView-coverArt, .x-entityImage-xsmall,.fRZRXRIV2YBCFLYgwDAr,.HD9s7U5E1RLSWKpXmrqx,.main-editImageButton-rounded,.x-entityImage,.osuFIR_6Jo9yKsmLL4y2,.Vn9yz8P5MjIvDT8c0U6w,.k270skPbT7JOaSidSA2a,.aaasJtK_0Z_ggHet0u6v,.kwzBRpFigKr1EP2d5qle,.H3mjE6AEBDPRuHNKUpRK ,.GS_6HA9xIobh5dt5VUSY,.GenericModal,.jW4eWdr_LUeOXwPpKhWG, .kh6wYYPvgRPBhA2wj3AS .qp7Sys7hJSZHLzw4K_yF,.ffFwfKcPDbmAPLXzxzKq,.main-nowPlayingView-section,.main-nowPlayingView-aboutArtistV2Image,.huMHH_FySIW5UhSrJfy8>video,.main-topBar-background,.main-nowPlayingView-aboutArtistButton,.RmbxUFLb4j9KmgftJyk1,.main-trackList-rowImage,.main-editImageButton-image, .lkXpBMSmNP9w702sek8V, /*-Canvas-*/.yMQTWVwLJ5bV8VGiaqU3:not(.MxmW8QkHqHWtuhO589PV)/**/,.main-yourLibraryX-entryPoints,.Root__main-view { border-radius: 0px !important; }","hideFullScreenButton":"button:has(path[d='M6.53 9.47a.75.75 0 0 1 0 1.06l-2.72 2.72h1.018a.75.75 0 0 1 0 1.5H1.25v-3.579a.75.75 0 0 1 1.5 0v1.018l2.72-2.72a.75.75 0 0 1 1.06 0zm2.94-2.94a.75.75 0 0 1 0-1.06l2.72-2.72h-1.018a.75.75 0 1 1 0-1.5h3.578v3.579a.75.75 0 0 1-1.5 0V3.81l-2.72 2.72a.75.75 0 0 1-1.06 0z']) {display: none;}","fixListenTogetherButton":"button[aria-label='Listen Together'] svg * { fill: currentColor !important; transform: scale(0.95) !important; transform-origin: center !important; }","removeConnectBar":".main-connectBar-connectBar {\n display: none !important;}","fixPlaylistHover":".main-rootlist-rootlistItemOverlay {\n display: none;\n}"}} --------------------------------------------------------------------------------