[
  {
    "path": ".editorconfig",
    "content": "root = true\n\n[*]\nend_of_line = lf\ninsert_final_newline = true\ncharset = utf-8\n\n[*.nix]\nindent_style = space\nindent_size = 2\n"
  },
  {
    "path": ".envrc",
    "content": "use flake\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report.md",
    "content": "---\nname: Bug report\nabout: Report issues with themes rendering or not installing etc.\ntitle: ''\nlabels: bug\nassignees: ''\n\n---\n\n**Please check [upstream issues](https://github.com/spicetify/spicetify-themes/issues) before making an issue here. Then check the open issues on this repository. Once you have done all that, remove this message.**\n\n**Describe the bug**\nA clear and concise description of what the bug is.\n\n**My config**\nProvide a [link](https://example.com) to your nix configuration. Alternatively, provide a `nix run` or `nix build` command which will replicate the issue.\n\n**Screenshots**\nIf applicable, add screenshots to help explain your problem.\n\n**Desktop (please complete the following information):**\n - OS/distro:\n - Desktop environment/window manager:\n - nixpkgs version for my home configuration: (22.11, 23.05, unstable, etc)\n - nixpkgs version for my import of spicetify nix: (22.11, 23.05, unstable, etc, or \"same as above\")\n\n**Additional context**\nAdd any other context about the problem here.\n"
  },
  {
    "path": ".github/workflows/update.yml",
    "content": "name: \"Bump Spicetify Packages\"\n\non:\n  schedule:\n    - cron:  '19 18 * * *'\n  push:\n    paths:\n      - 'pkgs/nvfetcher.toml'\n  repository_dispatch:\n  workflow_dispatch:\n\njobs:\n  CI:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    env:\n      NIXPKGS_ALLOW_UNFREE: 1\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Install nix\n      uses: cachix/install-nix-action@v21\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n        extra_nix_config: |\n          experimental-features = nix-command flakes\n          access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n    - name: Run nvfetcher\n      run: |\n        nix run github:berberman/nvfetcher -- -o pkgs/_sources -c pkgs/nvfetcher.toml\n\n    - name: Show flake metadata\n      run: nix flake metadata --impure\n\n    - name: Build nix packages\n      run: nix build .#checks.x86_64-linux.default --impure -v\n\n    - name: Push updates\n      if: ${{ success() }}\n      uses: stefanzweifel/git-auto-commit-action@v4\n      with:\n        commit_message: \"Bump Spicetify Packages\"\n        file_pattern: \"pkgs/_sources/\"\n"
  },
  {
    "path": ".gitignore",
    "content": "result\n.direnv\n"
  },
  {
    "path": "CUSTOMAPPS.md",
    "content": "# Custom Apps\n\n## Official Apps\n\n### new-releases\nAdd a page showing new releases from artists you follow.\n\n### reddit\nAdd a page showing popular music on certain music subreddits.\n\n### lyrics-plus\nAdd a page with pretty scrolling lyrics.\n\n### marketplace\nAdd a page where you can browse extensions, themes, apps, and snippets. Using the marketplace does not work with this flake, however it is still here in order to allow for browsing.\n\n## Community Apps\n\n### localFiles\nAdd a shortcut to see just your local files.\n\n### nameThatTune\nHeardle.app for spicetify. [Source](https://github.com/theRealPadster/name-that-tune)\n"
  },
  {
    "path": "EXTENSIONS.md",
    "content": "# Extensions\n\nJavascript injections to add functionality to your spotify client.\nExtensions can be referenced like so:\n``spicetify-nix.packages.${pkgs.system}.default.extensions.extensionName``\n\n## Official Extensions\n\n### fullAppDisplay\n\nShows the song cover, title, and artist in fullscreen.\n\n### autoSkipExplicit\n\nChristian spotify!\n\n### autoSkipVideo\n\nVideo playback (ads and stuff) causes problems in some regions where the videos\ncan't be played. Just skip them with this extension.\n\n### bookmark\n\nStore and browse pages for looking at later.\n\n### keyboardShortcut\n\nVimium-like navigation of spotify. See keyboard shortcuts [here.](https://spicetify.app/docs/advanced-usage/extensions#keyboard-shortcut)\n\n### loopyLoop\n\nSpecify a portion of track to loop over.\n\n### popupLyrics\n\nOpen a popup window with the current song's lyrics scrolling across it.\n\n### shuffle\n\nShuffle properly, using Fisher-Yates with zero bias.\n\n### trashbin\n\nThrow artists or songs in the trash, and permanently skip them.\n\n### webnowplaying\n\nOnly useful to windows/rainmeter users, I think. [Reference](https://spicetify.app/docs/advanced-usage/extensions#web-now-playing)\n\n## Community Extensions\n\n### groupSession\n\nAllows you to create a link to share with your friends to listen along with you.\n\n### powerBar\n\nSpotlight-like search bar for spotify.\n\n### seekSong\n\nAllows for youtube-like seeking with keyboard shortcuts.\n\n### skipOrPlayLikedSongs\n\nSet spotify to automatically skip liked songs, or to only play liked songs.\n\n### playlistIcons\n\nGive your playlists icons in the left sidebar.\n\n### fullAlbumDate\n\nDisplay the day and month of an album's release, as well as the year.\n\n### fullAppDisplayMod\n\nSame as fullAppDisplay, but with slight offset, and scrolling lyrics if using\nthe lyrics-plus customapp.\n\n### goToSong\n\nAdds an option to the profile menu to go to the currently playing song or playlist.\n\n### listPlaylistsWithSong\n\nAdds an option to the context menu for songs to show all of your account's\nplaylists which contain that song.\n\n### playlistIntersection\n\nCompare two playlists, and create a new playlist containing their common songs,\nor only the songs unique to one playlist.\n\n### skipStats\n\nTrack your skips.\n\n### phraseToPlaylist\n\nGiven a phrase, this extension will make a playlist containing a series of songs\nwhich make up that phrase.\n\n### fixEnhance\n\nA patch to the \"enhance playlist\" option which spotify themselves has already\nfixed, but could be useful in older versions.\n\n### wikify\n\nShow an artist's wikipedia entry.\n\n### featureShuffle\n\nCreate a playlist based off another playlist's audio features.\n\n### songStats\n\nShow a song's stats, like dancability, tempo, and key.\n\n### autoVolume\n\nAutomatically adjust volume over long periods of time, to reduce ear strain.\n\n### showQueueDuration\n\nShow the total length of all songs currently queued.\n\n### copyToClipboard\n\nAdds an option in the context menu to copy a song's name to your clipboard.\n\n### volumeProfiles\n\nEdit and save settings related to volume to different \"profiles.\"\n\n### history\n\nAdds a page that shows your listening history.\n\n### lastfm\n\nIntegration with last.fm. Login to show your listening stats for a song, and get\nits last.fm link.\n\n### genre\n\nDisplay the genre of an artist or song while playing.\n\n### hidePodcasts\n\nRemove everything from the spotify UI relating to podcasts.\n\n### adblock\n\nRemove ads.\n\n### savePlaylists\n\nMore than just just following a playlist, this extension allows you to also\ncreate a duplicate of the playlist in your own library.\n\n### autoSkip\n\nAutomatically skip certain songs by category, such as remixes, or christmas songs.\n\n### fullScreen\n\nSimilar to fullAppDisplay.\n\n### playNext\n\nAdd track to the _top_ of the queue.\n\n### volumePercentage\n\nAdds a percentage number next to the volume adjustment slider, and allows for\nmore fine control of volume.\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<https://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<https://www.gnu.org/licenses/why-not-lgpl.html>.\n"
  },
  {
    "path": "README.md",
    "content": "# ARCHIVE\n\nThis project is now archived, as I do not have time or focus to maintain it. Please direct any issues or contributions to this fork instead: [https://github.com/Gerg-L/spicetify-nix](https://github.com/Gerg-L/spicetify-nix). Besides being maintained, this flake has working automated updates, fixes for a bunch of broken plugins and themes (lyricsPlus, newReleases, dribbblish) and a hugely improved/simplified codebase.\n\nWhen I migrated from this flake to Gerg's, I had to make the following changes to my home manager configuration:\n\n1. `the-argus/spicetify-nix` -> `Gerg-L/spicetify-nix` :)\n2. `spicetify-nix.packages.${pkgs.system}.default` -> `spicetify-nix.legacyPackages.${pkgs.system}`\n3. `spicetify-nix.homeManagerModule` -> `spicetify-nix.homeManagerModules.default` (will be the same pattern if you are using `spicetify-nix.nixosModule`)\n4. `spicePkgs.themes.Onepunch` -> `spicePkgs.themes.onepunch`, and `Dribbblish` -> `dribbblish`, `SpotifyNoPremium` -> `spotifyNoPremium` etc. Camel case is enforced across all the package and theme names.\n\n[Here is the diff for this migration change.](https://github.com/the-argus/nixsys/commit/05d0c5415dedcc9a125a4a525ff37b6c4ee9787a)\n\nMy apologies to anyone who waited on issues or outstanding PRs. My thanks to everyone who contributed or made issues. And thanks to Gerg who, besides maintaining the new flake, was a huge help when I was first working on this one.\n\n## Spicetify-Nix\n\nModifies Spotify using [spicetify-cli](https://github.com/khanhas/spicetify-cli).\n\n[spicetify-themes](https://github.com/morpheusthewhite/spicetify-themes) are\nincluded and available.\n\n## Usage\n\nTo use, add this flake to your home-manager configuration flake inputs, like so:\n\n```nix\n{\n  # create an input called spicetify-nix, and set its url to this repository\n  inputs.spicetify-nix.url = \"github:the-argus/spicetify-nix\";\n}\n\n```\n\nAnd when writing your outputs function, make sure to accept `spicetify-nix` (or\nwhatever you chose to call it in the inputs) as a function input:\n\n```nix\n{\n    outputs = { nixpkgs, spicetify-nix, ...}: let # notice spicetify-nix here\n        pkgs = import nixpkgs { system = \"x84_64-linux\"; };\n    in {\n      homeConfigurations.\"your_username\" = home-manager.lib.homeManagerConfiguration {\n        inherit pkgs;\n        extraSpecialArgs = {inherit spicetify-nix;};\n        modules = [\n            ./home.nix\n            ./spicetify.nix # file where you configure spicetify\n        ];\n      };\n    }\n}\n```\n\nAn even more general solution is available, though, which isn't necessary but\nis recommended, as it will prevent you from having to manually put all other\nflake inputs you may add in the future to `extraSpecialArgs`. You can make a\nvariable which contains all of your flake inputs, no matter what you change them\nto, and just pass that to `extraSpecialArgs`. Home manager even has a reserved\nargument inside of `extraSpecialArgs` for that: `inputs`.\n\n```nix\n{\n    # the ... lets us accept any inputs, and \"@ inputs\" lets us capture those.\n    outputs = { nixpkgs, ...} @ inputs: let     \n        # here we use nixpkgs from our inputs, which is why why included it\n        # above instead of just {...} @ inputs. If we did that, this would be\n        # \"inputs.nixpkgs\".\n        pkgs = import nixpkgs { system = \"x86_64-linux\"; };\n    in {\n      homeConfigurations.\"your_username\" = home-manager.lib.homeManagerConfiguration {\n        inherit pkgs;\n        # put our flake inputs into the \"inputs\" argument of extraSpecialArgs.\n        extraSpecialArgs = {inherit inputs;};\n        modules = [\n            ./home.nix\n            ./spicetify.nix # file where you configure spicetify\n        ];\n      };\n    }\n}\n```\n\nFor more information on the (many) different ways of passing flake inputs to\nmodules can be found in [this wonderful blog post by Nobbz](https://blog.nobbz.dev/2022-12-12-getting-inputs-to-modules-in-a-flake/)\n\nIf you want to do it as a NixOS module instead of a home-manager module, the\nprocess is the same except you use `specialArgs` instead of `extraSpecialArgs`\nin `nixpkgs.lib.nixosSystem`. Also be sure to import `spicetify-nix.nixosModule`\ninstead of `spicetify-nix.homeManagerModule`, which you'll see happen in then next\nsection.\n\n## Configuration examples\n\nHere are two examples of files which configure spicetify when imported into a\nuser's home-manager configuration.\n\n### Minimal Configuration\n\n```nix\n{ pkgs, lib, spicetify-nix, ... }:\nlet\n  spicePkgs = spicetify-nix.packages.${pkgs.system}.default;\nin\n{\n  # allow spotify to be installed if you don't have unfree enabled already\n  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [\n    \"spotify\"\n  ];\n\n  # import the flake's module for your system\n  imports = [ spicetify-nix.homeManagerModule ];\n\n  # configure spicetify :)\n  programs.spicetify =\n    {\n      enable = true;\n      theme = spicePkgs.themes.catppuccin;\n      colorScheme = \"mocha\";\n\n      enabledExtensions = with spicePkgs.extensions; [\n        fullAppDisplay\n        shuffle # shuffle+ (special characters are sanitized out of ext names)\n        hidePodcasts\n      ];\n    };\n}\n```\n\n### Maximal configuration\n\nNOTE: the purpose of this configuration is to demonstrate all the possible\ncustomization options. It's not sane at all, and I see no reason why you\nshould actually use this one.\n\n```nix\n{\n  pkgs,\n  # this is the same as pkgs but the url is github:nixos/nixpkgs-unstable\n  unstable,\n  # this is pkgs.lib\n  lib,\n  # this is the input to the flake with url github:the-argus/spicetify-nix\n  spicetify-nix,\n  ...\n}:\nlet\n  spicePkgs = spicetify-nix.packages.${pkgs.system}.default;\nin\n{\n  # allow spotify to be installed if you don't have unfree enabled already\n  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [\n    \"spotify\"\n  ];\n\n  # import the flake's module\n  imports = [ spicetify-nix.homeManagerModules.default ];\n\n  # configure spicetify :)\n  programs.spicetify =\n    let\n      # use a different version of spicetify-themes than the one provided by\n      # spicetify-nix\n      officialThemesOLD = pkgs.fetchgit {\n        url = \"https://github.com/spicetify/spicetify-themes\";\n        rev = \"c2751b48ff9693867193fe65695a585e3c2e2133\";\n        sha256 = \"0rbqaxvyfz2vvv3iqik5rpsa3aics5a7232167rmyvv54m475agk\";\n      };\n      # pin a certain version of the localFiles custom app\n      localFilesSrc = pkgs.fetchgit {\n        url = \"https://github.com/hroland/spicetify-show-local-files/\";\n        rev = \"1bfd2fc80385b21ed6dd207b00a371065e53042e\";\n        sha256 = \"01gy16b69glqcalz1wm8kr5wsh94i419qx4nfmsavm4rcvcr3qlx\";\n      };\n    in\n    {\n      # use spotify from the nixpkgs master branch\n      spotifyPackage = unstable.spotify;\n\n      # use a custom build of spicetify\n      spicetifyPackage = pkgs.spicetify-cli.overrideAttrs (oa: rec {\n        pname = \"spicetify-cli\";\n        version = \"2.14.1\";\n        src = pkgs.fetchgit {\n          url = \"https://github.com/spicetify/${pname}\";\n          rev = \"v${version}\";\n          sha256 = \"sha256-262tnSKX6M9ggm4JIs0pANeq2JSNYzKkTN8awpqLyMM=\";\n        };\n        vendorSha256 = \"sha256-E2Q+mXojMb8E0zSnaCOl9xp5QLeYcuTXjhcp3Hc8gH4=\";\n      });\n\n      # actually enable the installation of spotify and spicetify\n      enable = true;\n\n      # custom Dribbblish theme\n      theme = {\n        name = \"Dribbblish\";\n        src = officialThemesOLD;\n        requiredExtensions = [\n          # define extensions that will be installed with this theme\n          {\n            # extension is \"${src}/Dribbblish/dribbblish.js\"\n            filename = \"dribbblish.js\";\n            src = \"${officialThemesOLD}/Dribbblish\";\n          }\n        ];\n        appendName = true; # theme is located at \"${src}/Dribbblish\" not just \"${src}\"\n\n        # changes to make to config-xpui.ini for this theme:\n        patches = {\n          \"xpui.js_find_8008\" = \",(\\\\w+=)32,\";\n          \"xpui.js_repl_8008\" = \",$\\{1}56,\";\n        };\n        injectCss = true;\n        replaceColors = true;\n        overwriteAssets = true;\n        sidebarConfig = true;\n      };\n\n      # specify that we want to use our custom colorscheme\n      colorScheme = \"custom\";\n\n      # color definition for custom color scheme. (rosepine)\n      customColorScheme = {\n        text = \"ebbcba\";\n        subtext = \"F0F0F0\";\n        sidebar-text = \"e0def4\";\n        main = \"191724\";\n        sidebar = \"2a2837\";\n        player = \"191724\";\n        card = \"191724\";\n        shadow = \"1f1d2e\";\n        selected-row = \"797979\";\n        button = \"31748f\";\n        button-active = \"31748f\";\n        button-disabled = \"555169\";\n        tab-active = \"ebbcba\";\n        notification = \"1db954\";\n        notification-error = \"eb6f92\";\n        misc = \"6e6a86\";\n      };\n\n      enabledCustomApps = with spicePkgs.apps; [\n        new-releases\n        {\n          name = \"localFiles\";\n          src = localFilesSrc;\n          appendName = false;\n        }\n      ];\n      enabledExtensions = with spicePkgs.extensions; [\n        playlistIcons\n        lastfm\n        genre\n        historyShortcut\n        hidePodcasts\n        fullAppDisplay\n        shuffle\n      ];\n    };\n}\n```\n\n## Themes, Extensions, and CustomApps\n\nAre found in [THEMES.md](./THEMES.md), [EXTENSIONS.md](./EXTENSIONS.md), and\n[CUSTOMAPPS.md](./CUSTOMAPPS.md), respectively.\n\n## macOS\n\nThis package has no macOS support, because Spotify in nixpkgs has no macOS support.\n"
  },
  {
    "path": "THEMES.md",
    "content": "# Themes\nThese are pre-packaged and somewhat tested themes. Provided you don't use a broken version of spicetify, you should be able to at least *use* spotify with these themes installed. Some of them won't necessarily look good due to mismatched and out of date versions (see the warning in the README).\n\n## Official Themes\nAll of these themes can be found [here.](https://github.com/spicetify/spicetify-themes)\n### Default\nIdentical to the default look of spotify, but with other colorschemes available.\n![preview](https://github.com/spicetify/spicetify-themes/blob/master/Default/ocean.png)\n### BurntSienna\nGrey and orange theme using the montserrat typeface.\n![preview](https://github.com/spicetify/spicetify-themes/blob/master/BurntSienna/screenshot.png)\n### Dreary\nFlat design, with lots of thick line borders.\n![preview](https://github.com/spicetify/spicetify-themes/blob/master/Dreary/bib.png)\n### Dribbblish\nModern, rounded, and minimal design, with fading effects and gradients.\n![preview](https://github.com/spicetify/spicetify-themes/blob/master/Dribbblish/base.png)\n### Flow\nMonochromatic colorschemes with subtle differences between colors, and soft vertical gradients.\n![preview](https://raw.githubusercontent.com/spicetify/spicetify-themes/master/Flow/screenshots/ocean.png)\n### Glaze\nSimple theme which gives spotify a simpler design and a single highlight color.\n![preview](https://github.com/CharlieS1103/Glaze-theme/blob/main/screenshots/base.png)\n### Onepunch\nGruvbox.\n![preview](https://github.com/spicetify/spicetify-themes/blob/master/Onepunch/screenshots/dark_home.png)\n### Sleek\nFlat design, with dark blues for the background and single highlight colors in each scheme.\n![preview](https://github.com/spicetify/spicetify-themes/blob/master/Sleek/bladerunner.png)\n### Turntable\nDefault spotify, but provides a spinning image of a record when used with fullAppDisplay.js\n![preview](https://github.com/spicetify/spicetify-themes/blob/master/Turntable/screenshots/fad.png)\n### Ziro\nInspired by the Zorin GTK theme.\n![preview](https://raw.githubusercontent.com/schnensch0/ziro/main/preview/album-blue-dark.png)\n### text\nA TUI-like theme.\n![preview](https://raw.githubusercontent.com/spicetify/spicetify-themes/master/text/screenshots/Spotify.png)\n\n## Community Themes\n### Catppuccin*\nA soothing pastel theme for spotify. Comes in four variations, each with their own color schemes: catppuccin-mocha, catppuccin-frappe, catppuccin-latte, and catppuccin-macchiato. [Source](https://github.com/catppuccin/spicetify)\n![preview](https://github.com/catppuccin/spicetify/blob/main/assets/preview.webp)\n### Comfy\nStay comfy while listening to music. Rounded corners and dark blues. Comes in two additional variations: Comfy-Chromatic and Comfy-Mono. [Source](https://github.com/Comfy-Themes/Spicetify)\n![preview](https://github.com/Comfy-Themes/Spicetify/blob/main/Comfy/preview/home.png)\n### Dracula\nDefault spotify with the colors of the popular scheme. [Source](https://github.com/Darkempire78/Dracula-Spicetify)\n![preview](https://github.com/Darkempire78/Dracula-Spicetify/blob/master/screenshot.png)\n### Nord\nDefault spotify with the colors of the popular scheme. [Source](https://github.com/Tetrax-10/Nord-Spotify)\n![preview](https://github.com/Tetrax-10/Nord-Spotify/blob/master/assets/home.png)\n### SpotifyCanvas\nA theme attempting to bring canvas, the video/clip player, to spotify desktop. It normally is only available on mobile. [Source](https://github.com/itsmeow/Spicetify-Canvas)\n![preview](https://camo.githubusercontent.com/824738caeda9df907e11a83825e2dea7d7673e044b963c2d672d6efc5d190c38/68747470733a2f2f692e696d6775722e636f6d2f653575734164422e706e67)\n### SpotifyNoPremium\nSame as default spotify but without ads and anything related to getting premium. [Source](https://github.com/Daksh777/SpotifyNoPremium)\n![preview](https://camo.githubusercontent.com/31d933c55d8aa67041b6e13e30e92442e38fcb9d4134061adc7853630df13a3e/68747470733a2f2f692e696d6775722e636f6d2f48566a5448544f2e706e67)\n### Fluent\nInspired by the design of Windows 11. [Source](https://github.com/williamckha/spicetify-fluent)\n![preview](https://github.com/williamckha/spicetify-fluent/blob/master/screenshots/dark-1.png)\n### DefaultDynamic\nSame as default spotify, but colors change dynamically with album art. [Source](https://github.com/JulienMaille/spicetify-dynamic-theme)\n![preview](https://github.com/JulienMaille/spicetify-dynamic-theme/blob/main/Dark.gif)\n### RetroBlur\nSynthwave theme with a lot of blur and effects. [Source](https://github.com/Motschen/Retroblur)\n![preview](https://github.com/Motschen/Retroblur/blob/main/preview/playlist.png)\n### Omni\nDark theme created by Rocketseat. [Source](https://github.com/getomni/spicetify)\n![preview](https://github.com/getomni/spicetify/blob/main/screenshot.png)\n### Bloom\nAnother Spicetify theme inspired by Microsoft's Fluent Design System. [Source](https://github.com/nimsandu/spicetify-bloom)\n![preview](https://raw.githubusercontent.com/nimsandu/spicetify-bloom/main/Dark-1.png)\n### Orchis\nSimple dark green/grey theme. [Source](https://github.com/canbeardig/Spicetify-Orchis-Colours-v2)\n![preview](https://github.com/canbeardig/Spicetify-Orchis-Colours-v2/blob/main/screenshot.png)\n"
  },
  {
    "path": "flake.nix",
    "content": "{\n  description = \"A nix flake that provides a home-manager module to configure spicetify with.\";\n\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs?ref=nixos-unstable\";\n\n    flake-utils.url = \"github:numtide/flake-utils\";\n  };\n\n  outputs = {\n    self,\n    nixpkgs,\n    flake-utils,\n    ...\n  }:\n    {\n      homeManagerModules = {\n        spicetify = (import ./module.nix) {\n          isNixOSModule = false;\n        };\n        default = self.homeManagerModules.spicetify;\n      };\n\n      nixosModules = {\n        spicetify = import ./module.nix {\n          isNixOSModule = true;\n        };\n        default = self.nixosModules.spicetify;\n      };\n\n      # nice aliases\n      homeManagerModule = self.homeManagerModules.default;\n      nixosModule = self.nixosModules.default;\n\n      templates.default = {\n        path = ./template;\n        description = \"A basic home-manager configuration which installs spicetify with the Dribbblish theme.\";\n      };\n    }\n    # legacy stuff thats just for x86_64 linux\n    // (\n      let\n        legacyPkgs = import nixpkgs {system = flake-utils.lib.system.x86_64-linux;};\n      in {\n        pkgs =\n          nixpkgs.lib.warn\n          \"spicetify-nix.pkgs is deprecated, use spicetify-nix.packages.\\${pkgs.system}\"\n          (legacyPkgs.callPackage ./pkgs {});\n        lib =\n          nixpkgs.lib.warn\n          \"spicetify-nix.lib is deprecated, use spicetify-nix.libs.\\${pkgs.system}\"\n          (legacyPkgs.callPackage ./lib {});\n      }\n    )\n    // flake-utils.lib.eachSystem\n    (\n      let\n        inherit (flake-utils.lib) system;\n      in [\n        system.aarch64-linux\n        system.x86_64-linux\n      ]\n    )\n    (system: let\n      pkgs = import nixpkgs {inherit system;};\n    in {\n      libs = pkgs.callPackage ./lib {};\n\n      packages = {\n        spicetify = pkgs.callPackage ./pkgs {};\n        default = self.packages.${system}.spicetify;\n      };\n\n      checks = {\n        all-tests = pkgs.callPackage ./tests {};\n        minimal-config = pkgs.callPackage ./tests/minimal-config.nix {};\n        all-for-theme = pkgs.callPackage ./tests/all-for-theme.nix {};\n        apps = pkgs.callPackage ./tests/apps.nix {};\n        default = self.checks.${system}.all-tests;\n        all-exts-and-apps =\n          builtins.mapAttrs\n          (_: value: self.checks.${system}.all-for-theme value)\n          (builtins.removeAttrs\n            (pkgs.callPackage ./pkgs {}).themes\n            [\"override\" \"overrideDerivation\"]);\n      };\n\n      formatter = pkgs.alejandra;\n\n      # DEPRECATED ---------------------------------------------------------------\n\n      pkgSets =\n        nixpkgs.lib.warn\n        \"spicetify-nix.pkgSets is deprecated, use spicetify-nix.packages.\\${pkgs.system}.default\"\n        self.packages.${system}.default;\n\n      devShells = {\n        default = pkgs.mkShell {\n          packages = [\n            pkgs.nvfetcher\n          ];\n        };\n      };\n    });\n}\n"
  },
  {
    "path": "home-manager-install.md",
    "content": "# Home Manager\n\nIf your linux installation uses Systemd (Fedora, Ubuntu, and Manjaro all use\nSystemd) then you can install the **nix** package manager and **home-manager**\nin order to manage spicetify. First, to install nix for all users on your\nsystem, run the following command and follow the interactive prompts:\n\n```bash\nsh <(curl -L https://nixos.org/nix/install) --daemon\n\n```\n\nMore information on nix installation can be found at [https://nixos.org/download.html](https://nixos.org/download.html)\nThen, **restart your terminal/shell** and run the following command to enter a\nshell with home-manager and git installed. We'll be running the rest of these\ncommands from inside this new shell. Type ``exit`` to leave it, if you need.\n\n```bash\nnix-shell -p home-manager git\n```\n\nNext, run the following commands to make a new home manager configuration for\nspicetify in your current directory.\n\n```bash\nmkdir ~/home-manager-config && cd ~/home-manager-config\nnix flake init --template github:the-argus/spicetify-nix --extra-experimental-features nix-command --extra-experimental-features flakes\nsed \"0,/unknown_username/{s/unknown_username/$(whoami)/}\" -i flake.nix\nsed \"0,/unknown_hostname/{s/unknown_hostname/$(hostname)/}\" -i flake.nix\ngit init --initial-branch=main\ngit add .\nhome-manager switch --flake . --extra-experimental-features nix-command --extra-experimental-features flakes\n```\n\nThe spotify that's in your path (or the new spotify that appeared in your app\nlaunchers) should now be a spiced version of spotify, complete with dribbblish\nand some custom apps and extensions. Run ``spotify & disown`` to launch it, or\nedit the ``spicetify.nix`` file to customize it. If you have any problems, also\ncheck out the ``README.md`` file.\n"
  },
  {
    "path": "lib/default.nix",
    "content": "{\n  callPackage,\n  lib,\n  ...\n}: let\n  spicePkgs = callPackage ../pkgs {};\nin {\n  types = callPackage ./types.nix {};\n\n  createXpuiINI = lib.generators.toINI {\n    # specifies how to format a key/value pair\n    mkKeyValue =\n      lib.generators.mkKeyValueDefault\n      {\n        # specifies the generated string for a subset of nix values\n        mkValueString = v:\n          if v == true\n          then \"1\"\n          else if v == false\n          then \"0\"\n          # else if isString v then ''\"${v}\"''\n          # and delegates all other values to the default generator\n          else lib.generators.mkValueStringDefault {} v;\n      } \"=\";\n  };\n\n  spicetifyBuilder = callPackage ./spicetify-builder.nix {};\n\n  xpuiBuilder = callPackage ./xpui-builder.nix {};\n\n  getThemePath = theme:\n    if (builtins.hasAttr \"appendName\" theme)\n    then\n      (\n        if theme.appendName\n        then \"${theme.src}/${theme.name}\"\n        else theme.src\n      )\n    else theme.src;\n\n  # same thing but if its a string it looks it up in the default pkgs\n  getTheme = theme:\n    if builtins.typeOf theme == \"string\"\n    then\n      (\n        if builtins.hasAttr theme spicePkgs.themes\n        then\n          (lib.trivial.warn\n            ''\n              Using a string like so:\n              programs.spicetify.theme = \"${theme}\";\n              is deprecated. Please use the following format:\n              programs.spicetify.theme = let\n                spicePkgs = spicetify-nix.packages.${\"$\\{pkgs.system}\"}.default;\n              in\n                spicePkgs.themes.${theme};\n            ''\n            spicePkgs.themes.${theme})\n        else throw \"Unknown theme ${theme}. Try using the lib.theme type instead of a string.\"\n      )\n    else if theme == null\n    then\n      lib.trivial.warn\n      \"spicetify: null theme passed to getTheme, assuming official.Default\"\n      spicePkgs.themes.official.Default\n    else theme;\n\n  getExtension = ext:\n    if builtins.typeOf ext == \"string\"\n    then\n      (\n        if builtins.hasAttr ext spicePkgs.extensions\n        then\n          (lib.trivial.warn\n            ''\n              Using a string like so:\n              programs.spicetify.enabledExtensions = [ \"${ext}\" ];\n              is deprecated. Please use the following format:\n              programs.spicetify.enabledExtensions = let\n                spicePkgs = spicetify-nix.packages.${\"$\\{pkgs.system}\"}.default;\n              in\n                with spicePkgs.extensions [ ${spicePkgs.extensions._lib.sanitizeName ext} ];\n            ''\n            spicePkgs.extensions.${ext})\n        else throw \"Unknown extension ${ext}. Try using the lib.extension type instead of a string.\"\n      )\n    else ext;\n\n  getApp = app:\n    if builtins.typeOf app == \"string\"\n    then\n      (\n        if builtins.hasAttr app spicePkgs.apps\n        then\n          (\n            lib.trivial.warn\n            ''\n              Using a string like so:\n              programs.spicetify.enabledCustomApps = [ \"${app}\" ];\n              is deprecated. Please use the following format:\n              programs.spicetify.enabledCustomApps = let\n                spicePkgs = spicetify-nix.packages.${\"$\\{pkgs.system}\"}.default;\n              in\n                with spicePkgs.apps [ ${app} ];\n            ''\n            spicePkgs.apps.${app}\n          )\n        else throw \"Unknown CustomApp ${app}. Try using the lib.app type instead of a string.\"\n      )\n    else app;\n}\n"
  },
  {
    "path": "lib/spicetify-builder.nix",
    "content": "{\n  lib,\n  coreutils-full,\n  callPackage,\n  ...\n}: {\n  spotify,\n  spicetify,\n  config-xpui,\n  theme,\n  usingCustomColorScheme ? false,\n  customColorScheme ? {},\n  cssMap ? \"${spicetify.src}/css-map.json\",\n  extensions ? [],\n  apps ? [],\n  extraCommands ? \"\",\n  ...\n}: let\n  inherit (lib.strings) optionalString;\n  spiceLib = callPackage ./. {};\n\n  # add extra css if theme requires\n  extraCss = builtins.toFile \"extra.css\" (\n    optionalString\n    (builtins.hasAttr \"additionalCss\" theme)\n    theme.additionalCss\n  );\n  # add custom color scheme if configured\n  customColorSchemeScript = let\n    customColorSchemeINI =\n      builtins.toFile \"dummy-color.ini\"\n      (spiceLib.createXpuiINI\n        {custom = customColorScheme;});\n  in\n    optionalString usingCustomColorScheme ''\n      mkdir -p Themes/${theme.name}\n      echo -en '\\n' >> Themes/${theme.name}/color.ini\n      cat ${customColorSchemeINI} >> Themes/${theme.name}/color.ini\n    '';\n\n  extensionCommands = builtins.concatStringsSep \"\\n\" (map\n    (\n      item: let\n        command = \"cp -rn ${\n          item.src\n        }/${item.filename} ./Extensions/${item.filename}\";\n      in \"${command} || echo \\\"Copying extension ${item.filename} failed.\\\"\"\n    )\n    extensions);\n\n  customAppCommands = builtins.concatStringsSep \"\\n\" (map\n    (item: let\n      command = \"cp -rn ${(\n        if (builtins.hasAttr \"appendName\" item)\n        then\n          if (item.appendName)\n          then \"${item.src}/${item.name}\"\n          else \"${item.src}\"\n        else \"${item.src}\"\n      )} ./CustomApps/${item.name}\";\n    in \"${command} || echo \\\"Copying custom app ${item.name} failed.\\\"\")\n    apps);\n\n  spicetifyCmd = \"spicetify-cli --no-restart\";\nin\n  spotify.overrideAttrs (_: {\n    name = \"spicetify-${theme.name}\";\n    postInstall = ''\n      set -e\n      export SPICETIFY_CONFIG=$out/share/spicetify\n      mkdir -p $SPICETIFY_CONFIG\n\n      # move spicetify bin here\n      cp ${spicetify}/bin/spicetify-cli $SPICETIFY_CONFIG/spicetify-cli\n      ${coreutils-full}/bin/chmod +x $SPICETIFY_CONFIG/spicetify-cli\n      cp -r ${spicetify}/bin/jsHelper $SPICETIFY_CONFIG/jsHelper\n      # grab the css map\n      cp -r ${cssMap} $SPICETIFY_CONFIG/css-map.json\n      # add the current directory to path\n      export PATH=$SPICETIFY_CONFIG:$PATH\n\n      pushd $SPICETIFY_CONFIG\n\n      # create config and prefs\n      cp ${config-xpui} config-xpui.ini\n      ${coreutils-full}/bin/chmod a+wr config-xpui.ini\n      touch $out/share/spotify/prefs\n\n      # replace the spotify path with the current derivation's path\n      sed -i \"s|__REPLACEME__|$out/share/spotify|g\" config-xpui.ini\n      sed -i \"s|__REPLACEME2__|$out/share/spotify/prefs|g\" config-xpui.ini\n\n      mkdir -p Themes\n      cp -r ${spiceLib.getThemePath theme} ./Themes/${theme.name} || echo \"Copying theme ${theme.name} failed\"\n      ${coreutils-full}/bin/chmod -R a+wr Themes\n      echo \"copied theme\"\n      cat ${extraCss} >> ./Themes/${theme.name}/user.css\n      echo \"applied additionalCss to theme\"\n\n      # copy extensions into Extensions folder\n      mkdir -p Extensions\n      ${extensionCommands}\n      ${coreutils-full}/bin/chmod -R a+wr Extensions\n\n      # copy custom apps into CustomApps folder\n      mkdir -p CustomApps\n      ${customAppCommands}\n      ${coreutils-full}/bin/chmod -R a+wr CustomApps\n\n      # completed app and extension installation\n      # add a custom color scheme if necessary\n      ${customColorSchemeScript}\n      # completed custom color scheme addition\n      ${extraCommands}\n\n      # extra commands that the theme might need\n      ${\n        optionalString\n        (builtins.hasAttr \"extraCommands\" theme && theme.extraCommands != null)\n        theme.extraCommands\n      }\n      popd > /dev/null\n      ${spicetifyCmd} backup apply\n      rm $out/snap.yaml\n    '';\n  })\n"
  },
  {
    "path": "lib/types.nix",
    "content": "{lib, ...}: let\n  inherit (lib) mkOption types mkEnableOption;\n\n  defaultXpui = {\n    AdditionalOptions = {\n      home = false;\n      experimental_features = false;\n      extensions = [];\n      custom_apps = [];\n      sidebar_config = true;\n    };\n    Setting = {\n      spotify_path = \"__REPLACEME__\";\n      prefs_path = \"__REPLACEME2__\";\n      current_theme = \"\";\n      color_scheme = \"\";\n      spotify_launch_flags = \"\";\n      check_spicetify_upgrade = false;\n      inject_css = false;\n      replace_colors = false;\n      overwrite_assets = false;\n    };\n    Preprocesses = {\n      disable_upgrade_check = true;\n      disable_sentry = true;\n      disable_ui_logging = true;\n      remove_rtl_rule = true;\n      expose_apis = true;\n    };\n    Backup = {\n      version = \"\";\n      \"with\" = \"Dev\";\n    };\n    Patch = {};\n  };\n\n  xpui = types.submodule {\n    options = {\n      AdditionalOptions = mkOption {\n        type = types.submodule {\n          options = {\n            home = mkOption {\n              type = types.bool;\n              default = defaultXpui.AdditionalOptions.home;\n            };\n            experimental_features = mkOption {\n              type = types.bool;\n              default = defaultXpui.AdditionalOptions.experimental_features;\n            };\n            extensions = mkOption {\n              type = types.listOf types.str;\n              default = defaultXpui.AdditionalOptions.extensions;\n            };\n            custom_apps = mkOption {\n              type = types.listOf types.str;\n              default = defaultXpui.AdditionalOptions.custom_apps;\n            };\n            sidebar_config = mkOption {\n              type = types.bool;\n              default = defaultXpui.AdditionalOptions.sidebar_config;\n            };\n          };\n        };\n        default = defaultXpui.AdditionalOptions;\n      };\n      Patch = {};\n      Setting = mkOption {\n        type = types.submodule {\n          options = {\n            spotify_path = mkOption {\n              type = types.str;\n              default = defaultXpui.Setting.spotify_path;\n            };\n            prefs_path = mkOption {\n              type = types.str;\n              default = defaultXpui.Setting.prefs_path;\n            };\n            current_theme = mkOption {\n              type = types.str;\n              default = defaultXpui.Setting.current_theme;\n            };\n            color_scheme = mkOption {\n              type = types.str;\n              default = defaultXpui.Setting.color_scheme;\n            };\n            spotify_launch_flags = mkOption {\n              type = types.str;\n              default = defaultXpui.Setting.spotify_launch_flags;\n            };\n            check_spicetify_upgrade = mkOption {\n              type = types.bool;\n              default = defaultXpui.Setting.check_spicetify_upgrade;\n            };\n            inject_css = mkOption {\n              type = types.bool;\n              default = defaultXpui.Setting.inject_css;\n            };\n            replace_colors = mkOption {\n              type = types.bool;\n              default = defaultXpui.Setting.replace_colors;\n            };\n            overwrite_assets = mkOption {\n              type = types.bool;\n              default = defaultXpui.Setting.overwrite_assets;\n            };\n          };\n        };\n        default = defaultXpui.Setting;\n      };\n      Preprocesses = mkOption {\n        type = types.submodule {\n          options = {\n            disable_upgrade_check = mkOption {\n              type = types.bool;\n              default = defaultXpui.Preprocesses.disable_upgrade_check;\n            };\n            disable_sentry = mkOption {\n              type = types.bool;\n              default = defaultXpui.Preprocesses.disable_sentry;\n            };\n            disable_ui_logging = mkOption {\n              type = types.bool;\n              default = defaultXpui.Preprocesses.disable_ui_logging;\n            };\n            remove_rtl_rule = mkOption {\n              type = types.bool;\n              default = defaultXpui.Preprocesses.remove_rtl_rule;\n            };\n            expose_apis = mkOption {\n              type = types.bool;\n              default = defaultXpui.Preprocesses.expose_apis;\n            };\n          };\n        };\n        default = defaultXpui.Preprocesses;\n      };\n      Backup = mkOption {\n        type = types.submodule {\n          options = {\n            version = mkOption {\n              type = types.str;\n              default = defaultXpui.Backup.version;\n            };\n            \"with\" = mkOption {\n              type = types.str;\n              default = defaultXpui.Backup.\"with\";\n            };\n          };\n        };\n        default = {};\n      };\n    };\n  };\n\n  extension = types.submodule {\n    options = {\n      src = mkOption {\n        type = types.oneOf [types.path types.str];\n        description = \"Path to the folder which contains the .js file.\";\n      };\n      filename = mkOption {\n        type = types.str;\n        description = \"Name of the .js file to enable.\";\n        example = \"dribbblish.js\";\n      };\n      experimentalFeatures = mkEnableOption \"Value to set AdditionalOptions/experimental_features to.\";\n    };\n  };\n\n  theme = types.submodule {\n    options = {\n      name = mkOption {\n        type = types.str;\n        description = \"The name of the theme as it will be copied into the spicetify themes directory.\";\n        example = ''Dribbblish'';\n      };\n      src = mkOption {\n        type = types.oneOf [types.path types.str];\n        description = \"Path to folder containing the theme.\";\n        example = ''          pkgs.fetchgit {\n                                url = \"https://github.com/spicetify/spicetify-themes\";\n                                rev = \"5d3d42f913467f413be9b0159f5df5023adf89af\";\n                                submodules = true;\n                              };'';\n      };\n      requiredExtensions = mkOption {\n        type = types.listOf (types.oneOf [extension types.str]);\n        default = [];\n      };\n\n      appendName = mkOption {\n        type = types.bool;\n        default = true;\n        description = ''          Whether or not to append the name of the theme\n                  to the src file path when copying. For example:\n                  (with appendName on)\n                  cp /nix/store/2309435394589320fjirjf032-spicetify-themes/Dribbblish Themes\n                  (with appendName off)\n                  cp /nix/store/2309435394589320fjirjf032-spicetify-themes Themes\n        '';\n      };\n\n      patches = mkOption {\n        type = types.attrs;\n        example = ''\n          {\n              \"xpui.js_find_8008\" = \",(\\\\w+=)32\";\n              \"xpui.js_repl_8008\" = \",$\\{1}56\";\n          };\n        '';\n        description = \"INI entries to add in the [Patch] section of config-xpui.ini\";\n        default = {};\n      };\n\n      extraCommands = mkOption {\n        type = types.nullOr types.lines;\n        default = null;\n        description = \"A bash script to run from the spicetify config directory if this theme is installed.\";\n      };\n\n      # some config values that can be specified per-theme\n      injectCss = mkOption {\n        type = types.nullOr types.bool;\n      };\n      overwriteAssets = mkOption {\n        type = types.nullOr types.bool;\n      };\n      replaceColors = mkOption {\n        type = types.nullOr types.bool;\n      };\n      sidebarConfig = mkOption {\n        type = types.nullOr types.bool;\n      };\n      additionalCss = mkOption {\n        type = types.lines;\n        default = '''';\n      };\n    };\n  };\n\n  app = types.submodule {\n    options = {\n      src = mkOption {\n        type = types.oneOf [types.path types.str];\n        description = \"Path to the folder containing the app code.\";\n        example = ''\n          pkgs.fetchgit {\n            url = \"https://github.com/hroland/spicetify-show-local-files/\";\n            rev = \"1bfd2fc80385b21ed6dd207b00a371065e53042e\";\n            sha256 = \"01gy16b69glqcalz1wm8kr5wsh94i419qx4nfmsavm4rcvcr3qlx\";\n          };\n        '';\n      };\n      name = mkOption {\n        type = types.nullOr types.str;\n        description = \"Name of the app. No spaces or special characters please :)\";\n      };\n      appendName = mkOption {\n        type = types.bool;\n        default = true;\n      };\n    };\n  };\nin {\n  inherit theme extension xpui app defaultXpui;\n}\n"
  },
  {
    "path": "lib/xpui-builder.nix",
    "content": "{\n  lib,\n  callPackage,\n  ...\n}: {\n  extensions,\n  apps,\n  theme,\n  cfgXpui,\n  cfgColorScheme,\n  cfg,\n  ...\n}: let\n  spiceLib = callPackage ./. {};\n  optAttrs = lib.attrsets.optionalAttrs;\n\n  # determine whether or not any extension requires experimental_features\n  needExperimental =\n    lib.lists.any\n    (\n      item: (\n        if (builtins.hasAttr \"experimentalFeatures\" item)\n        then item.experimentalFeatures\n        else false\n      )\n    )\n    extensions;\n\n  allExtensionFiles = map (item: item.filename) extensions;\n  extensionString = builtins.concatStringsSep \"|\" allExtensionFiles;\n  allAppsNames = map (item: item.name) apps;\n  customAppsString = builtins.concatStringsSep \"|\" allAppsNames;\n\n  # function which converts a flat nix set of options like injectCss into a\n  # xpui structure (sub-sets for AdditionalOptions and Setting etc)\n  mkXpuiOverrides = container: let\n    boolOverride = set: attrName: cfgName:\n      optAttrs (builtins.hasAttr attrName set)\n      (optAttrs (set.${attrName} != null)\n        (optAttrs (builtins.typeOf set.${attrName} == \"bool\")\n          {${cfgName} = set.${attrName};}));\n  in {\n    AdditionalOptions = {\n      extensions = extensionString;\n      custom_apps = customAppsString;\n      experimental_features = needExperimental;\n    };\n    Setting =\n      {}\n      // boolOverride container \"injectCss\" \"inject_css\"\n      // boolOverride container \"replaceColors\" \"replace_colors\"\n      // boolOverride container \"overwriteAssets\" \"overwrite_assets\"\n      // boolOverride container \"sidebarConfig\" \"sidebar_config\"\n      # always add the configured color scheme (only cfg provides this)\n      // optAttrs (cfgColorScheme != null) {color_scheme = cfgColorScheme;}\n      # always add theme name\n      // {current_theme = theme.name;};\n    Patch =\n      optAttrs\n      (builtins.hasAttr \"patches\" theme)\n      theme.patches;\n    Backup = {version = \"Unknown\";};\n    # backup used to be the following, but I'm pretty sure that in the case of\n    # nix, the backup field doesn't matter since it gets built fresh each time\n    # Backup = {version = cfg.spotifyPackage.version or \"Unknown\";};\n  };\n\n  # override any values defined by the user in cfg.xpui with values defined by the theme\n  overridenXpui1 =\n    builtins.mapAttrs\n    (name: value: (lib.trivial.mergeAttrs cfgXpui.${name} value))\n    (mkXpuiOverrides theme);\n  # override any values defined by the theme with values defined in cfg\n  overridenXpui2 =\n    builtins.mapAttrs\n    (name: value: (lib.trivial.mergeAttrs overridenXpui1.${name} value))\n    (mkXpuiOverrides cfg);\nin\n  builtins.toFile \"config-xpui.ini\"\n  (spiceLib.createXpuiINI overridenXpui2)\n"
  },
  {
    "path": "module.nix",
    "content": "{isNixOSModule ? false}: {\n  lib,\n  pkgs,\n  config,\n  ...\n}:\nwith lib; let\n  inherit (pkgs) callPackage;\n  cfg = config.programs.spicetify;\n  spiceLib = callPackage ./lib {};\n  spiceTypes = spiceLib.types;\n  spicePkgs = callPackage ./pkgs {};\n\n  optList = lib.lists.optionals;\nin {\n  options.programs.spicetify = {\n    enable = mkEnableOption \"A modded Spotify\";\n\n    dontInstall = mkEnableOption \"Put spiced spotify in config.programs.spicetify.spicedSpotify, but do not install it in home.packages.\";\n\n    windowManagerPatch = mkEnableOption \"Linker preload spotifywm patch.\";\n\n    spicedSpotify = mkOption {\n      type = types.nullOr types.package;\n      default = null;\n      description = \"An internal option which is NOT meant to be set by the user. It stores the final derivation produced by this module.\";\n    };\n    createdPackages = mkOption {\n      type = types.nullOr (types.listOf types.package);\n      default = null;\n      description = \"An internal option which is NOT meant to be set by the user. It stores all of the packages which will be installed if dontInstall is false.\";\n    };\n\n    theme = mkOption {\n      type = types.oneOf [types.str spiceTypes.theme];\n      default = spicePkgs.themes.Default;\n    };\n\n    spotifyPackage = mkOption {\n      type = types.package;\n      default = pkgs.spotify;\n      description = \"The nix package containing Spotify Desktop.\";\n    };\n\n    spicetifyPackage = mkOption {\n      type = types.package;\n      default = pkgs.spicetify-cli;\n      description = \"The nix package containing spicetify-cli.\";\n    };\n\n    extraCommands = mkOption {\n      type = types.lines;\n      default = \"\";\n      description = \"Extra commands to be run during the setup of spicetify.\";\n    };\n\n    enabledExtensions = mkOption {\n      type = types.listOf (types.oneOf [spiceTypes.extension types.str]);\n      default = [];\n      description = \"A list of extensions. Official extensions such \\\n      as \\\"dribbblish.js\\\" can be referenced by string alone.\";\n      example = ''\n        [\n          \"dribbblish.js\"\n          \"shuffle+.js\"\n          {\n            src = pkgs.fetchgit {\n              url = \"https://github.com/LucasBares/spicetify-last-fm\";\n              rev = \"0f905b49362ea810b6247ac1950a2951dd35632e\";\n              sha256 = \"1b0l2g5cyjj1nclw1ff7as9q94606mkq1k8l2s34zzdsx3m2zv81\";\n            };\n            filename = \"lastfm.js\";\n          }\n        ]\n      '';\n    };\n    enabledCustomApps = mkOption {\n      type = types.listOf (types.oneOf [spiceTypes.app types.str]);\n      default = [];\n    };\n\n    xpui = mkOption {\n      type = spiceTypes.xpui;\n      default = spiceTypes.defaultXpui;\n    };\n\n    # legacy/ease of use options (commonly set for themes like Dribbblish)\n    # injectCss = xpui.Setting.inject_css;\n    injectCss = mkOption {\n      type = lib.types.nullOr lib.types.bool;\n      default = null;\n    };\n    replaceColors = mkOption {\n      type = lib.types.nullOr lib.types.bool;\n      default =\n        if (cfg.customColorScheme != null)\n        then true\n        else null;\n    };\n    overwriteAssets = mkOption {\n      type = lib.types.nullOr lib.types.bool;\n      default = null;\n    };\n    sidebarConfig = mkOption {\n      type = lib.types.nullOr lib.types.bool;\n      default = null;\n    };\n    colorScheme = mkOption {\n      type = lib.types.nullOr lib.types.str;\n      default =\n        if cfg.customColorScheme != null\n        then \"custom\"\n        else null;\n    };\n    customColorScheme = mkOption {\n      type = lib.types.nullOr lib.types.attrs;\n      default = null;\n    };\n\n    cssMap = mkOption {\n      type = lib.types.path;\n      default = \"${cfg.spicetifyPackage.src}/css-map.json\";\n    };\n  };\n\n  config = let\n    xpui = lib.attrsets.recursiveUpdate cfg.xpui spiceLib.types.defaultXpui;\n    actualTheme = spiceLib.getTheme cfg.theme;\n\n    # take the list of extensions and turn strings into actual extensions\n    allExtensions = map spiceLib.getExtension (cfg.enabledExtensions\n      ++ (\n        optList\n        (builtins.hasAttr \"requiredExtensions\" actualTheme)\n        actualTheme.requiredExtensions\n      )\n      ++ xpui.AdditionalOptions.extensions);\n\n    # do the same thing again but for customapps this time\n    allApps =\n      map spiceLib.getApp\n      (cfg.enabledCustomApps ++ xpui.AdditionalOptions.custom_apps);\n\n    # custom spotify package with spicetify integrated in\n    spiced-spotify = let\n      isSpotifyWM = cfg.spotifyPackage == pkgs.spotifywm;\n\n      spotifyToOverride =\n        if isSpotifyWM\n        then (lib.trivial.warn \"SpotifyWM is a weird package. Please consider settings programs.spicetify.windowManagerPatch to true, instead.\" pkgs.spotify)\n        else cfg.spotifyPackage;\n\n      overridenSpotify = spiceLib.spicetifyBuilder {\n        spotify = spotifyToOverride;\n        spicetify = cfg.spicetifyPackage;\n        extensions = allExtensions;\n        apps = allApps;\n        theme = actualTheme;\n        usingCustomColorScheme = cfg.customColorScheme != null;\n        inherit (cfg) customColorScheme;\n        # compose the configuration as well as options required by extensions and\n        # cfg.xpui into one set\n        config-xpui = spiceLib.xpuiBuilder {\n          extensions = allExtensions;\n          apps = allApps;\n          theme = actualTheme;\n          cfgXpui = xpui;\n          cfgColorScheme = cfg.colorScheme;\n          inherit cfg;\n        };\n      };\n    in\n      if isSpotifyWM\n      then cfg.spotifyPackage.override {spotify = overridenSpotify;}\n      else overridenSpotify;\n\n    packagesToInstall =\n      [\n        (\n          # give warning if spotifywm is set redundantly\n          if cfg.spotifyPackage == pkgs.spotifywm && cfg.windowManagerPatch\n          then lib.trivial.warn \"spotify package set to spotifywm and windowManagerPatch is set to true. It is recommended to only use windowManagerPatch.\"\n          # wrap spotify with the window manager patch if necessary\n          else if cfg.windowManagerPatch\n          then spicePkgs.spotifywm.override {spotify = spiced-spotify;}\n          else spiced-spotify\n        )\n      ]\n      ++\n      # need montserrat for the BurntSienna theme\n      (\n        optList\n        (actualTheme == spicePkgs.official.themes.BurntSienna)\n        [pkgs.montserrat]\n      )\n      ++ (\n        optList\n        (actualTheme == spicePkgs.themes.Orchis)\n        [pkgs.fira]\n      );\n    homeConfiguration = {\n      home.packages = optList (!cfg.dontInstall) packagesToInstall;\n    };\n    nixosConfiguration = {\n      environment.systemPackages = optList (!cfg.dontInstall) packagesToInstall;\n    };\n  in\n    mkIf cfg.enable\n    (lib.trivial.warn \"the-argus/spicetify-nix is unmaintained. see the project's readme for migration instructions.\" ({\n        programs.spicetify.spicedSpotify = spiced-spotify;\n        programs.spicetify.createdPackages = packagesToInstall;\n        # install necessary packages for this user\n      }\n      // (\n        if isNixOSModule\n        then nixosConfiguration\n        else homeConfiguration\n      )));\n}\n"
  },
  {
    "path": "pkgs/_sources/generated.json",
    "content": "{\n    \"autoVolumeSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2020-02-16\",\n        \"extract\": null,\n        \"name\": \"autoVolumeSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"d7f7962724b567a8409ef2898602f2c57abddf5a\",\n            \"sha256\": \"sha256-WquDmeaj+7M8DzGuHYOJgF6ifcs3vj3gIciZMaRQ3t4=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/amanharwara/spicetify-autoVolume\"\n        },\n        \"version\": \"d7f7962724b567a8409ef2898602f2c57abddf5a\"\n    },\n    \"bloomSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-11-12\",\n        \"extract\": null,\n        \"name\": \"bloomSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"2f0b47cdf7a7e7e146762d5e281e62e33ca7923e\",\n            \"sha256\": \"sha256-kMXcyKVDCXkV80rsVpv/fHEJbe6Jtvr0eSN4y+fplVo=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/nimsandu/spicetify-bloom\"\n        },\n        \"version\": \"2f0b47cdf7a7e7e146762d5e281e62e33ca7923e\"\n    },\n    \"catppuccinSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-10-27\",\n        \"extract\": null,\n        \"name\": \"catppuccinSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"146f42d612e5c57fe7bbb3e69b1e5b5b83c34fdd\",\n            \"sha256\": \"sha256-BNprCKu9IjQCvPDvTw/JLu/bLBiSbYyVGP4BBF0zPWA=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/catppuccin/spicetify\"\n        },\n        \"version\": \"146f42d612e5c57fe7bbb3e69b1e5b5b83c34fdd\"\n    },\n    \"charlieS1103Src\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-10-01\",\n        \"extract\": null,\n        \"name\": \"charlieS1103Src\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"d618561c232f02a56223bae6276fc9fd8c6a357a\",\n            \"sha256\": \"sha256-hha+Bs+bofIFBWw8331u4BaHyspdOJl/9gkS7aL/lYw=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/CharlieS1103/spicetify-extensions\"\n        },\n        \"version\": \"d618561c232f02a56223bae6276fc9fd8c6a357a\"\n    },\n    \"comfySrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-11-14\",\n        \"extract\": null,\n        \"name\": \"comfySrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"51c4a339af0c020e3e3bdb4b0700ab677ef9d0d4\",\n            \"sha256\": \"sha256-DXF9DVzUns4+egezB1MynqpwprLJ+fmK1j5RmZkj7v8=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Comfy-Themes/Spicetify\"\n        },\n        \"version\": \"51c4a339af0c020e3e3bdb4b0700ab677ef9d0d4\"\n    },\n    \"customAppsExtensionsSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-05-02\",\n        \"extract\": null,\n        \"name\": \"customAppsExtensionsSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"0f5e79fe43abf57f714d7d00bd288870d5b6f718\",\n            \"sha256\": \"sha256-4zL/z8dCafy5V95ASR3c6TffMh9wdpnclAjddD9TX84=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/3raxton/spicetify-custom-apps-and-extensions\"\n        },\n        \"version\": \"0f5e79fe43abf57f714d7d00bd288870d5b6f718\"\n    },\n    \"dakshExtensions\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-10-18\",\n        \"extract\": null,\n        \"name\": \"dakshExtensions\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"b79e4c9e1904979ee3a2998db1db4c947f6f1f14\",\n            \"sha256\": \"sha256-ArOEryKCw1hQenDpeP1wDmyrL60bjvnCQ45CpA0hcMo=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/daksh2k/Spicetify-stuff\"\n        },\n        \"version\": \"b79e4c9e1904979ee3a2998db1db4c947f6f1f14\"\n    },\n    \"defaultDynamicSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-10-23\",\n        \"extract\": null,\n        \"name\": \"defaultDynamicSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"914eb1227d11d6c7cd9d63aa002a9ff0cdf618ea\",\n            \"sha256\": \"sha256-YCqgUfjDcZ23byZgCmz6YJ7hhHXvjVRfyxn7dW5N3qM=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/JulienMaille/spicetify-dynamic-theme\"\n        },\n        \"version\": \"914eb1227d11d6c7cd9d63aa002a9ff0cdf618ea\"\n    },\n    \"draculaSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-02-14\",\n        \"extract\": null,\n        \"name\": \"draculaSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"97bf149e7afbe408509862591a57f1d8e2dfc5d7\",\n            \"sha256\": \"sha256-IS0A/5zTZou9yQJ0zpqAwiW2COt/TGoscN99WGFR9FA=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Darkempire78/Dracula-Spicetify\"\n        },\n        \"version\": \"97bf149e7afbe408509862591a57f1d8e2dfc5d7\"\n    },\n    \"fluentSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-12-11\",\n        \"extract\": null,\n        \"name\": \"fluentSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"772cd8491105d679c7d3d1ff3f927b4a3dbb0e62\",\n            \"sha256\": \"sha256-IrSIW0tVLvu9k2QMzkT8yFhmghOhIT7PfdTie8D7tL8=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/williamckha/spicetify-fluent\"\n        },\n        \"version\": \"772cd8491105d679c7d3d1ff3f927b4a3dbb0e62\"\n    },\n    \"genreSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-03-04\",\n        \"extract\": null,\n        \"name\": \"genreSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"f2cb950a7e27cce3bfd4168141b5c5e55552df5a\",\n            \"sha256\": \"sha256-R7D6oiSZviZQiMo6GSe4phQKfUmLNToXkyv6F4JXf3M=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Shinyhero36/Spicetify-Genre\"\n        },\n        \"version\": \"f2cb950a7e27cce3bfd4168141b5c5e55552df5a\"\n    },\n    \"groupSessionSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-09-15\",\n        \"extract\": null,\n        \"name\": \"groupSessionSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"a9fa45da69495137b2f7272f61ff8d1a457aef5b\",\n            \"sha256\": \"sha256-YTbnNLzPc0iMJZfH3QwSEX/gpAqIlchmbsULjM8musA=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/timll/spotify-group-session\"\n        },\n        \"version\": \"a9fa45da69495137b2f7272f61ff8d1a457aef5b\"\n    },\n    \"hidePodcastsSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-11-11\",\n        \"extract\": null,\n        \"name\": \"hidePodcastsSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"661b670bab88b714d32e43f9ccc3bb261995e4f7\",\n            \"sha256\": \"sha256-HYSfiGtNsOklp8cxBNVSG0PHGUXJWuoVgNsneDAZmLc=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/theRealPadster/spicetify-hide-podcasts\"\n        },\n        \"version\": \"661b670bab88b714d32e43f9ccc3bb261995e4f7\"\n    },\n    \"historySrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2021-05-20\",\n        \"extract\": null,\n        \"name\": \"historySrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"577e34f364127f18d917d2fe2e8c8f2a1af9f6ae\",\n            \"sha256\": \"sha256-ORG1oNvMTJxrI3spfAuN+pCKTKvQfhqUIYT9NM1yZTs=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/einzigartigerName/spicetify-history\"\n        },\n        \"version\": \"577e34f364127f18d917d2fe2e8c8f2a1af9f6ae\"\n    },\n    \"huhExtensionsSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-08-19\",\n        \"extract\": null,\n        \"name\": \"huhExtensionsSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"bba2733d42b33fce2d365f3a882d3cbb56ca829e\",\n            \"sha256\": \"sha256-RALEM/NH7Irk39yIPQRekYIffRnuAekvZ+8I2e0ZX7g=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/huhridge/huh-spicetify-extensions\"\n        },\n        \"version\": \"bba2733d42b33fce2d365f3a882d3cbb56ca829e\"\n    },\n    \"lastfmSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-11-20\",\n        \"extract\": null,\n        \"name\": \"lastfmSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"d2f1d3c1e286d789ddfa002f162405782d822c55\",\n            \"sha256\": \"sha256-/C4Y3zuSAEwhMXCRG2/4b5oWfGz/ij6wu0B+CpuJKXs=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/LucasBares/spicetify-last-fm\"\n        },\n        \"version\": \"d2f1d3c1e286d789ddfa002f162405782d822c55\"\n    },\n    \"localFilesSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-04-12\",\n        \"extract\": null,\n        \"name\": \"localFilesSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"1bfd2fc80385b21ed6dd207b00a371065e53042e\",\n            \"sha256\": \"sha256-neKR2WaZ1K10dZZ0nAKJJEHNS56o8vCpYpi+ZJYJ/gU=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/hroland/spicetify-show-local-files\"\n        },\n        \"version\": \"1bfd2fc80385b21ed6dd207b00a371065e53042e\"\n    },\n    \"marketplaceSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-11-12\",\n        \"extract\": null,\n        \"name\": \"marketplaceSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"6dff59ba2d647eebe91f852967b9a3291bbcfac7\",\n            \"sha256\": \"sha256-ckUUNX53aI+n33mzQ+/7E6IQRTMAF7yV0R7CVqQ3jIU=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/spicetify/spicetify-marketplace\"\n        },\n        \"version\": \"6dff59ba2d647eebe91f852967b9a3291bbcfac7\"\n    },\n    \"nameThatTuneSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-11-11\",\n        \"extract\": null,\n        \"name\": \"nameThatTuneSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"965b6dce2f262a6f7db3770fb8366a9b79bc5154\",\n            \"sha256\": \"sha256-5TbvoOaE+O+t49Bi6J7Ms7oy7AhiaKjWvGtA+WRMTQo=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/theRealPadster/name-that-tune\"\n        },\n        \"version\": \"965b6dce2f262a6f7db3770fb8366a9b79bc5154\"\n    },\n    \"nordSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-06-06\",\n        \"extract\": null,\n        \"name\": \"nordSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"caab9e0afaa6d228b4d73ae6c4c40dd56d3888c7\",\n            \"sha256\": \"sha256-HlywN6a6nQ9Z1Rsg3crkFQuY+npXaN4Qo9cjPLfeqmw=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Tetrax-10/Nord-Spotify\"\n        },\n        \"version\": \"caab9e0afaa6d228b4d73ae6c4c40dd56d3888c7\"\n    },\n    \"officialSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-11-13\",\n        \"extract\": null,\n        \"name\": \"officialSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"fea4245cd61c3c7df8de48d1b9d965cf97327694\",\n            \"sha256\": \"sha256-Z+paJAuzUnCdCSx2UHg1HV14vDo3jWsyUrcbEnvqTm0=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/spicetify/spicetify-cli\"\n        },\n        \"version\": \"fea4245cd61c3c7df8de48d1b9d965cf97327694\"\n    },\n    \"officialThemes\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-11-10\",\n        \"extract\": null,\n        \"name\": \"officialThemes\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"99778f995a478473e6c5108a4a5ab837c7f255c1\",\n            \"sha256\": \"sha256-hUsUvfQx+JNq6StpKctDprpYborYdFuXBDVpj49oqnc=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/spicetify/spicetify-themes\"\n        },\n        \"version\": \"99778f995a478473e6c5108a4a5ab837c7f255c1\"\n    },\n    \"omniSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-01-20\",\n        \"extract\": null,\n        \"name\": \"omniSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"253ae45d2cac2dc3d92a43193ea8f6d9e7e1d3aa\",\n            \"sha256\": \"sha256-5II+4096fOcCA7J4XZfIHSse+3/YJ+EY5KW3GXl+dn8=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/getomni/spicetify\"\n        },\n        \"version\": \"253ae45d2cac2dc3d92a43193ea8f6d9e7e1d3aa\"\n    },\n    \"orchisSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-05-20\",\n        \"extract\": null,\n        \"name\": \"orchisSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"5bf3fcf0696514dcf3e95f4ae3fd00261ccc5dcc\",\n            \"sha256\": \"sha256-9cU2Wlg5W57JpBfzIOXvpRYI8Q3CsH+UsdjQseTr9bs=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/canbeardig/Spicetify-Orchis-Colours-v2\"\n        },\n        \"version\": \"5bf3fcf0696514dcf3e95f4ae3fd00261ccc5dcc\"\n    },\n    \"playlistIconsSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-10-20\",\n        \"extract\": null,\n        \"name\": \"playlistIconsSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"acd0b95baab94a3223990ddfe9bdccb155302748\",\n            \"sha256\": \"sha256-Tc9bX3HlZfT5d98ED9WVuFIBlZf9qY89rcDlHivMBvA=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/jeroentvb/spicetify-playlist-icons\"\n        },\n        \"version\": \"acd0b95baab94a3223990ddfe9bdccb155302748\"\n    },\n    \"powerBarSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-08-28\",\n        \"extract\": null,\n        \"name\": \"powerBarSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"2044217153d070aab3a93bda796177e61e6c4a65\",\n            \"sha256\": \"sha256-ELTfhkqPusEzCwjopd7aXuo5loG14chg50nuMjkzYSI=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/jeroentvb/spicetify-power-bar\"\n        },\n        \"version\": \"2044217153d070aab3a93bda796177e61e6c4a65\"\n    },\n    \"retroBlurSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-09-24\",\n        \"extract\": null,\n        \"name\": \"retroBlurSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"b4598784bb48d4b84db2133f9d89aeba8de558f6\",\n            \"sha256\": \"sha256-soJ58sJVPpwNkWtfLVEDQ4tuskI6fXPXXM6rxnxFXsM=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Motschen/Retroblur\"\n        },\n        \"version\": \"b4598784bb48d4b84db2133f9d89aeba8de558f6\"\n    },\n    \"spotifyCanvasSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-05-11\",\n        \"extract\": null,\n        \"name\": \"spotifyCanvasSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"ee7a441503e9fb763be81d868d9e1dd8d748a924\",\n            \"sha256\": \"sha256-OKovKLBwsiNWo3rux5waDefI5qFu2pou21WmRsN4h4Y=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/itsmeow/Spicetify-Canvas\"\n        },\n        \"version\": \"ee7a441503e9fb763be81d868d9e1dd8d748a924\"\n    },\n    \"spotifyNoPremiumSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-10-02\",\n        \"extract\": null,\n        \"name\": \"spotifyNoPremiumSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"7e5a20b150bf65a377731fd8cb20b084712ee166\",\n            \"sha256\": \"sha256-FD+zCkYVYnyp/mBDKz6+bIYgTF2HOfYqWwkxzKfIF6I=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Daksh777/SpotifyNoPremium\"\n        },\n        \"version\": \"7e5a20b150bf65a377731fd8cb20b084712ee166\"\n    },\n    \"spotifywmSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2022-10-25\",\n        \"extract\": null,\n        \"name\": \"spotifywmSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"8624f539549973c124ed18753881045968881745\",\n            \"sha256\": \"sha256-AsXqcoqUXUFxTG+G+31lm45gjP6qGohEnUSUtKypew0=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/dasJ/spotifywm\"\n        },\n        \"version\": \"8624f539549973c124ed18753881045968881745\"\n    },\n    \"startPageSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-10-11\",\n        \"extract\": null,\n        \"name\": \"startPageSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"2b15d3b1249ce29520d225dfde8a8168ee549934\",\n            \"sha256\": \"sha256-ZpfOWnxLbK9TfUe0g0qFAk84hYmR/VABMskfa5tURE4=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Resxt/startup-page\"\n        },\n        \"version\": \"2b15d3b1249ce29520d225dfde8a8168ee549934\"\n    },\n    \"tetraxSrc\": {\n        \"cargoLocks\": null,\n        \"date\": \"2023-07-22\",\n        \"extract\": null,\n        \"name\": \"tetraxSrc\",\n        \"passthru\": null,\n        \"pinned\": false,\n        \"src\": {\n            \"deepClone\": false,\n            \"fetchSubmodules\": false,\n            \"leaveDotGit\": false,\n            \"name\": null,\n            \"rev\": \"a224969550b3831c4fb084bcc8c675f3a77735d1\",\n            \"sha256\": \"sha256-XT0l6DVaXXaD7QihilpF3vQ+kry98sss3POR5gTRmhI=\",\n            \"type\": \"git\",\n            \"url\": \"https://github.com/Tetrax-10/Spicetify-Extensions\"\n        },\n        \"version\": \"a224969550b3831c4fb084bcc8c675f3a77735d1\"\n    }\n}"
  },
  {
    "path": "pkgs/_sources/generated.nix",
    "content": "# This file was generated by nvfetcher, please do not modify it manually.\n{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:\n{\n  autoVolumeSrc = {\n    pname = \"autoVolumeSrc\";\n    version = \"d7f7962724b567a8409ef2898602f2c57abddf5a\";\n    src = fetchgit {\n      url = \"https://github.com/amanharwara/spicetify-autoVolume\";\n      rev = \"d7f7962724b567a8409ef2898602f2c57abddf5a\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-WquDmeaj+7M8DzGuHYOJgF6ifcs3vj3gIciZMaRQ3t4=\";\n    };\n    date = \"2020-02-16\";\n  };\n  bloomSrc = {\n    pname = \"bloomSrc\";\n    version = \"2f0b47cdf7a7e7e146762d5e281e62e33ca7923e\";\n    src = fetchgit {\n      url = \"https://github.com/nimsandu/spicetify-bloom\";\n      rev = \"2f0b47cdf7a7e7e146762d5e281e62e33ca7923e\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-kMXcyKVDCXkV80rsVpv/fHEJbe6Jtvr0eSN4y+fplVo=\";\n    };\n    date = \"2023-11-12\";\n  };\n  catppuccinSrc = {\n    pname = \"catppuccinSrc\";\n    version = \"146f42d612e5c57fe7bbb3e69b1e5b5b83c34fdd\";\n    src = fetchgit {\n      url = \"https://github.com/catppuccin/spicetify\";\n      rev = \"146f42d612e5c57fe7bbb3e69b1e5b5b83c34fdd\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-BNprCKu9IjQCvPDvTw/JLu/bLBiSbYyVGP4BBF0zPWA=\";\n    };\n    date = \"2023-10-27\";\n  };\n  charlieS1103Src = {\n    pname = \"charlieS1103Src\";\n    version = \"d618561c232f02a56223bae6276fc9fd8c6a357a\";\n    src = fetchgit {\n      url = \"https://github.com/CharlieS1103/spicetify-extensions\";\n      rev = \"d618561c232f02a56223bae6276fc9fd8c6a357a\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-hha+Bs+bofIFBWw8331u4BaHyspdOJl/9gkS7aL/lYw=\";\n    };\n    date = \"2023-10-01\";\n  };\n  comfySrc = {\n    pname = \"comfySrc\";\n    version = \"51c4a339af0c020e3e3bdb4b0700ab677ef9d0d4\";\n    src = fetchgit {\n      url = \"https://github.com/Comfy-Themes/Spicetify\";\n      rev = \"51c4a339af0c020e3e3bdb4b0700ab677ef9d0d4\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-DXF9DVzUns4+egezB1MynqpwprLJ+fmK1j5RmZkj7v8=\";\n    };\n    date = \"2023-11-14\";\n  };\n  customAppsExtensionsSrc = {\n    pname = \"customAppsExtensionsSrc\";\n    version = \"0f5e79fe43abf57f714d7d00bd288870d5b6f718\";\n    src = fetchgit {\n      url = \"https://github.com/3raxton/spicetify-custom-apps-and-extensions\";\n      rev = \"0f5e79fe43abf57f714d7d00bd288870d5b6f718\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-4zL/z8dCafy5V95ASR3c6TffMh9wdpnclAjddD9TX84=\";\n    };\n    date = \"2022-05-02\";\n  };\n  dakshExtensions = {\n    pname = \"dakshExtensions\";\n    version = \"b79e4c9e1904979ee3a2998db1db4c947f6f1f14\";\n    src = fetchgit {\n      url = \"https://github.com/daksh2k/Spicetify-stuff\";\n      rev = \"b79e4c9e1904979ee3a2998db1db4c947f6f1f14\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-ArOEryKCw1hQenDpeP1wDmyrL60bjvnCQ45CpA0hcMo=\";\n    };\n    date = \"2023-10-18\";\n  };\n  defaultDynamicSrc = {\n    pname = \"defaultDynamicSrc\";\n    version = \"914eb1227d11d6c7cd9d63aa002a9ff0cdf618ea\";\n    src = fetchgit {\n      url = \"https://github.com/JulienMaille/spicetify-dynamic-theme\";\n      rev = \"914eb1227d11d6c7cd9d63aa002a9ff0cdf618ea\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-YCqgUfjDcZ23byZgCmz6YJ7hhHXvjVRfyxn7dW5N3qM=\";\n    };\n    date = \"2023-10-23\";\n  };\n  draculaSrc = {\n    pname = \"draculaSrc\";\n    version = \"97bf149e7afbe408509862591a57f1d8e2dfc5d7\";\n    src = fetchgit {\n      url = \"https://github.com/Darkempire78/Dracula-Spicetify\";\n      rev = \"97bf149e7afbe408509862591a57f1d8e2dfc5d7\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-IS0A/5zTZou9yQJ0zpqAwiW2COt/TGoscN99WGFR9FA=\";\n    };\n    date = \"2022-02-14\";\n  };\n  fluentSrc = {\n    pname = \"fluentSrc\";\n    version = \"772cd8491105d679c7d3d1ff3f927b4a3dbb0e62\";\n    src = fetchgit {\n      url = \"https://github.com/williamckha/spicetify-fluent\";\n      rev = \"772cd8491105d679c7d3d1ff3f927b4a3dbb0e62\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-IrSIW0tVLvu9k2QMzkT8yFhmghOhIT7PfdTie8D7tL8=\";\n    };\n    date = \"2022-12-11\";\n  };\n  genreSrc = {\n    pname = \"genreSrc\";\n    version = \"f2cb950a7e27cce3bfd4168141b5c5e55552df5a\";\n    src = fetchgit {\n      url = \"https://github.com/Shinyhero36/Spicetify-Genre\";\n      rev = \"f2cb950a7e27cce3bfd4168141b5c5e55552df5a\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-R7D6oiSZviZQiMo6GSe4phQKfUmLNToXkyv6F4JXf3M=\";\n    };\n    date = \"2023-03-04\";\n  };\n  groupSessionSrc = {\n    pname = \"groupSessionSrc\";\n    version = \"a9fa45da69495137b2f7272f61ff8d1a457aef5b\";\n    src = fetchgit {\n      url = \"https://github.com/timll/spotify-group-session\";\n      rev = \"a9fa45da69495137b2f7272f61ff8d1a457aef5b\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-YTbnNLzPc0iMJZfH3QwSEX/gpAqIlchmbsULjM8musA=\";\n    };\n    date = \"2022-09-15\";\n  };\n  hidePodcastsSrc = {\n    pname = \"hidePodcastsSrc\";\n    version = \"661b670bab88b714d32e43f9ccc3bb261995e4f7\";\n    src = fetchgit {\n      url = \"https://github.com/theRealPadster/spicetify-hide-podcasts\";\n      rev = \"661b670bab88b714d32e43f9ccc3bb261995e4f7\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-HYSfiGtNsOklp8cxBNVSG0PHGUXJWuoVgNsneDAZmLc=\";\n    };\n    date = \"2023-11-11\";\n  };\n  historySrc = {\n    pname = \"historySrc\";\n    version = \"577e34f364127f18d917d2fe2e8c8f2a1af9f6ae\";\n    src = fetchgit {\n      url = \"https://github.com/einzigartigerName/spicetify-history\";\n      rev = \"577e34f364127f18d917d2fe2e8c8f2a1af9f6ae\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-ORG1oNvMTJxrI3spfAuN+pCKTKvQfhqUIYT9NM1yZTs=\";\n    };\n    date = \"2021-05-20\";\n  };\n  huhExtensionsSrc = {\n    pname = \"huhExtensionsSrc\";\n    version = \"bba2733d42b33fce2d365f3a882d3cbb56ca829e\";\n    src = fetchgit {\n      url = \"https://github.com/huhridge/huh-spicetify-extensions\";\n      rev = \"bba2733d42b33fce2d365f3a882d3cbb56ca829e\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-RALEM/NH7Irk39yIPQRekYIffRnuAekvZ+8I2e0ZX7g=\";\n    };\n    date = \"2023-08-19\";\n  };\n  lastfmSrc = {\n    pname = \"lastfmSrc\";\n    version = \"d2f1d3c1e286d789ddfa002f162405782d822c55\";\n    src = fetchgit {\n      url = \"https://github.com/LucasBares/spicetify-last-fm\";\n      rev = \"d2f1d3c1e286d789ddfa002f162405782d822c55\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-/C4Y3zuSAEwhMXCRG2/4b5oWfGz/ij6wu0B+CpuJKXs=\";\n    };\n    date = \"2022-11-20\";\n  };\n  localFilesSrc = {\n    pname = \"localFilesSrc\";\n    version = \"1bfd2fc80385b21ed6dd207b00a371065e53042e\";\n    src = fetchgit {\n      url = \"https://github.com/hroland/spicetify-show-local-files\";\n      rev = \"1bfd2fc80385b21ed6dd207b00a371065e53042e\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-neKR2WaZ1K10dZZ0nAKJJEHNS56o8vCpYpi+ZJYJ/gU=\";\n    };\n    date = \"2022-04-12\";\n  };\n  marketplaceSrc = {\n    pname = \"marketplaceSrc\";\n    version = \"6dff59ba2d647eebe91f852967b9a3291bbcfac7\";\n    src = fetchgit {\n      url = \"https://github.com/spicetify/spicetify-marketplace\";\n      rev = \"6dff59ba2d647eebe91f852967b9a3291bbcfac7\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-ckUUNX53aI+n33mzQ+/7E6IQRTMAF7yV0R7CVqQ3jIU=\";\n    };\n    date = \"2023-11-12\";\n  };\n  nameThatTuneSrc = {\n    pname = \"nameThatTuneSrc\";\n    version = \"965b6dce2f262a6f7db3770fb8366a9b79bc5154\";\n    src = fetchgit {\n      url = \"https://github.com/theRealPadster/name-that-tune\";\n      rev = \"965b6dce2f262a6f7db3770fb8366a9b79bc5154\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-5TbvoOaE+O+t49Bi6J7Ms7oy7AhiaKjWvGtA+WRMTQo=\";\n    };\n    date = \"2023-11-11\";\n  };\n  nordSrc = {\n    pname = \"nordSrc\";\n    version = \"caab9e0afaa6d228b4d73ae6c4c40dd56d3888c7\";\n    src = fetchgit {\n      url = \"https://github.com/Tetrax-10/Nord-Spotify\";\n      rev = \"caab9e0afaa6d228b4d73ae6c4c40dd56d3888c7\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-HlywN6a6nQ9Z1Rsg3crkFQuY+npXaN4Qo9cjPLfeqmw=\";\n    };\n    date = \"2023-06-06\";\n  };\n  officialSrc = {\n    pname = \"officialSrc\";\n    version = \"fea4245cd61c3c7df8de48d1b9d965cf97327694\";\n    src = fetchgit {\n      url = \"https://github.com/spicetify/spicetify-cli\";\n      rev = \"fea4245cd61c3c7df8de48d1b9d965cf97327694\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-Z+paJAuzUnCdCSx2UHg1HV14vDo3jWsyUrcbEnvqTm0=\";\n    };\n    date = \"2023-11-13\";\n  };\n  officialThemes = {\n    pname = \"officialThemes\";\n    version = \"99778f995a478473e6c5108a4a5ab837c7f255c1\";\n    src = fetchgit {\n      url = \"https://github.com/spicetify/spicetify-themes\";\n      rev = \"99778f995a478473e6c5108a4a5ab837c7f255c1\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-hUsUvfQx+JNq6StpKctDprpYborYdFuXBDVpj49oqnc=\";\n    };\n    date = \"2023-11-10\";\n  };\n  omniSrc = {\n    pname = \"omniSrc\";\n    version = \"253ae45d2cac2dc3d92a43193ea8f6d9e7e1d3aa\";\n    src = fetchgit {\n      url = \"https://github.com/getomni/spicetify\";\n      rev = \"253ae45d2cac2dc3d92a43193ea8f6d9e7e1d3aa\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-5II+4096fOcCA7J4XZfIHSse+3/YJ+EY5KW3GXl+dn8=\";\n    };\n    date = \"2023-01-20\";\n  };\n  orchisSrc = {\n    pname = \"orchisSrc\";\n    version = \"5bf3fcf0696514dcf3e95f4ae3fd00261ccc5dcc\";\n    src = fetchgit {\n      url = \"https://github.com/canbeardig/Spicetify-Orchis-Colours-v2\";\n      rev = \"5bf3fcf0696514dcf3e95f4ae3fd00261ccc5dcc\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-9cU2Wlg5W57JpBfzIOXvpRYI8Q3CsH+UsdjQseTr9bs=\";\n    };\n    date = \"2022-05-20\";\n  };\n  playlistIconsSrc = {\n    pname = \"playlistIconsSrc\";\n    version = \"acd0b95baab94a3223990ddfe9bdccb155302748\";\n    src = fetchgit {\n      url = \"https://github.com/jeroentvb/spicetify-playlist-icons\";\n      rev = \"acd0b95baab94a3223990ddfe9bdccb155302748\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-Tc9bX3HlZfT5d98ED9WVuFIBlZf9qY89rcDlHivMBvA=\";\n    };\n    date = \"2023-10-20\";\n  };\n  powerBarSrc = {\n    pname = \"powerBarSrc\";\n    version = \"2044217153d070aab3a93bda796177e61e6c4a65\";\n    src = fetchgit {\n      url = \"https://github.com/jeroentvb/spicetify-power-bar\";\n      rev = \"2044217153d070aab3a93bda796177e61e6c4a65\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-ELTfhkqPusEzCwjopd7aXuo5loG14chg50nuMjkzYSI=\";\n    };\n    date = \"2023-08-28\";\n  };\n  retroBlurSrc = {\n    pname = \"retroBlurSrc\";\n    version = \"b4598784bb48d4b84db2133f9d89aeba8de558f6\";\n    src = fetchgit {\n      url = \"https://github.com/Motschen/Retroblur\";\n      rev = \"b4598784bb48d4b84db2133f9d89aeba8de558f6\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-soJ58sJVPpwNkWtfLVEDQ4tuskI6fXPXXM6rxnxFXsM=\";\n    };\n    date = \"2023-09-24\";\n  };\n  spotifyCanvasSrc = {\n    pname = \"spotifyCanvasSrc\";\n    version = \"ee7a441503e9fb763be81d868d9e1dd8d748a924\";\n    src = fetchgit {\n      url = \"https://github.com/itsmeow/Spicetify-Canvas\";\n      rev = \"ee7a441503e9fb763be81d868d9e1dd8d748a924\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-OKovKLBwsiNWo3rux5waDefI5qFu2pou21WmRsN4h4Y=\";\n    };\n    date = \"2023-05-11\";\n  };\n  spotifyNoPremiumSrc = {\n    pname = \"spotifyNoPremiumSrc\";\n    version = \"7e5a20b150bf65a377731fd8cb20b084712ee166\";\n    src = fetchgit {\n      url = \"https://github.com/Daksh777/SpotifyNoPremium\";\n      rev = \"7e5a20b150bf65a377731fd8cb20b084712ee166\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-FD+zCkYVYnyp/mBDKz6+bIYgTF2HOfYqWwkxzKfIF6I=\";\n    };\n    date = \"2023-10-02\";\n  };\n  spotifywmSrc = {\n    pname = \"spotifywmSrc\";\n    version = \"8624f539549973c124ed18753881045968881745\";\n    src = fetchgit {\n      url = \"https://github.com/dasJ/spotifywm\";\n      rev = \"8624f539549973c124ed18753881045968881745\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-AsXqcoqUXUFxTG+G+31lm45gjP6qGohEnUSUtKypew0=\";\n    };\n    date = \"2022-10-25\";\n  };\n  startPageSrc = {\n    pname = \"startPageSrc\";\n    version = \"2b15d3b1249ce29520d225dfde8a8168ee549934\";\n    src = fetchgit {\n      url = \"https://github.com/Resxt/startup-page\";\n      rev = \"2b15d3b1249ce29520d225dfde8a8168ee549934\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-ZpfOWnxLbK9TfUe0g0qFAk84hYmR/VABMskfa5tURE4=\";\n    };\n    date = \"2023-10-11\";\n  };\n  tetraxSrc = {\n    pname = \"tetraxSrc\";\n    version = \"a224969550b3831c4fb084bcc8c675f3a77735d1\";\n    src = fetchgit {\n      url = \"https://github.com/Tetrax-10/Spicetify-Extensions\";\n      rev = \"a224969550b3831c4fb084bcc8c675f3a77735d1\";\n      fetchSubmodules = false;\n      deepClone = false;\n      leaveDotGit = false;\n      sha256 = \"sha256-XT0l6DVaXXaD7QihilpF3vQ+kry98sss3POR5gTRmhI=\";\n    };\n    date = \"2023-07-22\";\n  };\n}\n"
  },
  {
    "path": "pkgs/apps.nix",
    "content": "{source, ...}:\nwith source; {\n  # CUSTOMAPPS ----------------------------------------------------------------\n  localFiles = {\n    name = \"localFiles\";\n    src = localFilesSrc;\n    appendName = false;\n  };\n\n  marketplace = {\n    name = \"marketplace\";\n    src = marketplaceSrc;\n    appendName = false;\n  };\n\n  nameThatTune = {\n    name = \"nameThatTune\";\n    src = nameThatTuneSrc;\n    appendName = false;\n  };\n\n  official = {\n    new-releases = {\n      src = \"${officialSrc}/CustomApps\";\n      name = \"new-releases\";\n      appendName = true;\n    };\n    reddit = {\n      src = \"${officialSrc}/CustomApps\";\n      name = \"reddit\";\n      appendName = true;\n    };\n    lyrics-plus = {\n      src = \"${officialSrc}/CustomApps\";\n      name = \"lyrics-plus\";\n      appendName = true;\n    };\n  };\n}\n"
  },
  {
    "path": "pkgs/default.nix",
    "content": "{\n  callPackage,\n  lib,\n  ...\n}: let\n  source = lib.mapAttrs (_: value: value.src) (callPackage ./_sources/generated.nix {});\n  themes = callPackage ./themes.nix {inherit source;};\n  extensions = callPackage ./extensions.nix {inherit source;};\n  apps = callPackage ./apps.nix {inherit source;};\nin {\n  official = {\n    themes = themes.official;\n    extensions = extensions.official;\n    apps = apps.official;\n  };\n  themes = (builtins.removeAttrs themes [\"official\"]) // themes.official;\n  apps = (builtins.removeAttrs apps [\"official\"]) // apps.official;\n  extensions = (builtins.removeAttrs extensions [\"official\"]) // extensions.official;\n  spotifywm = callPackage ./spotifywm.nix {};\n}\n"
  },
  {
    "path": "pkgs/extensions.nix",
    "content": "{\n  source,\n  lib,\n  ...\n}:\nwith source; let\n  # EXTENSIONS ----------------------------------------------------------------\n  brokenAdblock = {\n    src = spotifyNoPremiumSrc;\n    filename = \"adblock.js\";\n  };\n\n  savePlaylists = {\n    src = \"${dakshExtensions}/Extensions\";\n    filename = \"savePlaylists.js\";\n  };\n  fullScreen = {\n    src = \"${dakshExtensions}/Extensions/full-screen/dist\";\n    filename = \"fullScreen.js\";\n  };\n  autoSkip = {\n    src = \"${dakshExtensions}/Extensions/auto-skip/dist\";\n    filename = \"autoSkip.js\";\n  };\n  playNext = {\n    src = \"${dakshExtensions}/Extensions\";\n    filename = \"playNext.js\";\n  };\n  volumePercentage = {\n    src = \"${dakshExtensions}/Extensions\";\n    filename = \"volumePercentage.js\";\n  };\n\n  hidePodcasts = {\n    src = hidePodcastsSrc;\n    filename = \"hidePodcasts.js\";\n  };\n  history = {\n    src = historySrc;\n    filename = \"historyShortcut.js\";\n  };\n  genre = {\n    src = genreSrc;\n    filename = \"genre.js\";\n  };\n  lastfm = {\n    src = \"${lastfmSrc}/src\";\n    filename = \"lastfm.js\";\n  };\n\n  autoVolume = {\n    src = autoVolumeSrc;\n    filename = \"autoVolume.js\";\n  };\n\n  copyToClipboard = {\n    src = \"${customAppsExtensionsSrc}/v2/copy-to-clipboard\";\n    filename = \"copytoclipboard2.js\";\n  };\n  showQueueDuration = {\n    src = \"${customAppsExtensionsSrc}/v2/show-queue-duration\";\n    filename = \"showQueueDuration.js\";\n  };\n  volumeProfiles = {\n    src = \"${customAppsExtensionsSrc}/v2/volume-profiles/dist\";\n    filename = \"volume-profiles.js\";\n  };\n\n  songStats = {\n    src = \"${charlieS1103Src}/songstats\";\n    filename = \"songstats.js\";\n  };\n  featureShuffle = {\n    src = \"${charlieS1103Src}/featureshuffle\";\n    filename = \"featureshuffle.js\";\n  };\n  oldSidebar = {\n    src = \"${charlieS1103Src}/old-sidebar\";\n    filename = \"oldSidebar.js\";\n  };\n  wikify = {\n    src = \"${charlieS1103Src}/wikify\";\n    filename = \"wikify.js\";\n  };\n  phraseToPlaylist = {\n    src = \"${charlieS1103Src}/phraseToPlaylist\";\n    filename = \"phraseToPlaylist.js\";\n  };\n\n  fullAlbumDate = {\n    src = \"${huhExtensionsSrc}/fullAlbumDate\";\n    filename = \"fullAlbumDate.js\";\n  };\n  fullAppDisplayMod = {\n    src = \"${huhExtensionsSrc}/fullAppDisplayModified\";\n    filename = \"fullAppDisplayMod.js\";\n  };\n  goToSong = {\n    src = \"${huhExtensionsSrc}/goToSong\";\n    filename = \"goToSong.js\";\n  };\n  listPlaylistsWithSong = {\n    src = \"${huhExtensionsSrc}/listPlaylistsWithSong\";\n    filename = \"listPlaylistsWithSong.js\";\n  };\n  playlistIntersection = {\n    src = \"${huhExtensionsSrc}/playlistIntersection\";\n    filename = \"playlistIntersection.js\";\n  };\n  skipStats = {\n    src = \"${huhExtensionsSrc}/skipStats\";\n    filename = \"skipStats.js\";\n  };\n  playlistIcons = {\n    src = playlistIconsSrc;\n    filename = \"playlist-icons.js\";\n  };\n\n  seekSong = {\n    src = \"${tetraxSrc}/Seek-Song\";\n    filename = \"seekSong.js\";\n  };\n  skipOrPlayLikedSongs = {\n    src = \"${tetraxSrc}/Skip-or-Play-Liked-Songs\";\n    filename = \"skipOrPlayLikedSongs.js\";\n  };\n\n  powerBar = {\n    src = powerBarSrc;\n    filename = \"power-bar.js\";\n  };\n  # TODO: add user.css additions as part of extensions, for snippets\n  # powerBar can by styled with the following CSS:\n  # #power-bar-container {\n  #   --power-bar-background-color: #333333;\n  #   --power-bar-main-text-color: #ffffff;\n  #   --power-bar-subtext-color: #b3b3b3;\n  #   --power-bar-active-background-color: #1db954;\n  #   --power-bar-active-text-color: #121212;\n  #   --power-bar-border-color: #000000;\n  # }\n\n  groupSession = {\n    src = \"${groupSessionSrc}/src\";\n    filename = \"group-session.js\";\n  };\n\n  charliesAdblock = {\n    src = \"${charlieS1103Src}/adblock\";\n    filename = \"adblock.js\";\n  };\n\n  # UNUSED\n  # startpage needs r/w\n  # startPage = {\n  #   src = \"${startPageSrc}/dist\";\n  #   filename = \"startup-page.js\";\n  # };\n\n  sanitizeName = lib.replaceStrings [\".js\" \"+\"] [\"\" \"\"];\n\n  warnExt = {\n    ext,\n    alias ? ext.filename,\n  }:\n    lib.trivial.warn\n    \"You are referring to extension ${alias} by filename. This behavior is deprecated, please use spicetify-nix.packages.$\\{pkgs.system}.default.extensions.${sanitizeName ext.filename}\"\n    ext;\n\n  mkExtAlias = alias: ext:\n    {\n      ${alias} = warnExt {inherit ext alias;};\n      ${sanitizeName ext.filename} = ext;\n    }\n    // (\n      if alias != ext.filename\n      then {${sanitizeName alias} = ext;}\n      else {}\n    );\n\n  appendJS = ext: mkExtAlias ext.filename ext;\nin\n  {\n    official = let\n      mkOfficialExt = name: {\n        \"${name}.js\" = {\n          src = \"${officialSrc}/Extensions\";\n          filename = \"${name}.js\";\n        };\n        ${sanitizeName name} = {\n          src = \"${officialSrc}/Extensions\";\n          filename = \"${name}.js\";\n        };\n      };\n    in\n      mkOfficialExt \"autoSkipExplicit\"\n      // mkOfficialExt \"autoSkipVideo\"\n      // mkOfficialExt \"bookmark\"\n      // mkOfficialExt \"fullAppDisplay\"\n      // mkOfficialExt \"keyboardShortcut\"\n      // mkOfficialExt \"loopyLoop\"\n      // mkOfficialExt \"popupLyrics\"\n      // mkOfficialExt \"shuffle+\"\n      // mkOfficialExt \"trashbin\"\n      // mkOfficialExt \"webnowplaying\";\n    _lib = {\n      inherit sanitizeName;\n    };\n  }\n  # aliases for weirdly named extension files\n  // mkExtAlias \"history.js\" history\n  // mkExtAlias \"volumeProfiles.js\" volumeProfiles\n  // mkExtAlias \"copyToClipboard.js\" copyToClipboard\n  // mkExtAlias \"songStats.js\" songStats\n  // mkExtAlias \"featureShuffle.js\" featureShuffle\n  // mkExtAlias \"playlistIcons.js\" playlistIcons\n  // mkExtAlias \"powerBar.js\" powerBar\n  // mkExtAlias \"groupSession.js\" groupSession\n  // mkExtAlias \"brokenAdblock.js\" brokenAdblock # this is old but you can still use it if you need\n  // appendJS groupSession\n  // appendJS powerBar\n  // appendJS seekSong\n  // appendJS skipOrPlayLikedSongs\n  // appendJS playlistIcons\n  // appendJS fullAlbumDate\n  // appendJS fullAppDisplayMod\n  // appendJS goToSong\n  // appendJS listPlaylistsWithSong\n  // appendJS playlistIntersection\n  // appendJS skipStats\n  // appendJS phraseToPlaylist\n  // appendJS wikify\n  // appendJS featureShuffle\n  // appendJS songStats\n  // appendJS showQueueDuration\n  // appendJS copyToClipboard\n  // appendJS volumeProfiles\n  // appendJS autoVolume\n  // appendJS history\n  // appendJS lastfm\n  // appendJS genre\n  // appendJS hidePodcasts\n  // appendJS charliesAdblock # adblock.js\n  // appendJS savePlaylists\n  // appendJS autoSkip\n  // appendJS fullScreen\n  // appendJS playNext\n  // appendJS volumePercentage\n  // appendJS oldSidebar\n"
  },
  {
    "path": "pkgs/nvfetcher.toml",
    "content": "[spotifywmSrc]\nsrc.git = \"https://github.com/dasJ/spotifywm\"\nfetch.git = \"https://github.com/dasJ/spotifywm\"\n\n[officialThemes]\nsrc.git = \"https://github.com/spicetify/spicetify-themes\"\nfetch.git = \"https://github.com/spicetify/spicetify-themes\"\n\n[officialSrc]\nsrc.git = \"https://github.com/spicetify/spicetify-cli\"\nfetch.git = \"https://github.com/spicetify/spicetify-cli\"\n\n[catppuccinSrc]\nsrc.git = \"https://github.com/catppuccin/spicetify\"\nfetch.git = \"https://github.com/catppuccin/spicetify\"\n\n[spotifyNoPremiumSrc]\nsrc.git = \"https://github.com/Daksh777/SpotifyNoPremium\"\nfetch.git = \"https://github.com/Daksh777/SpotifyNoPremium\"\n\n[comfySrc]\nsrc.git = \"https://github.com/Comfy-Themes/Spicetify\"\nfetch.git = \"https://github.com/Comfy-Themes/Spicetify\"\n\n[fluentSrc]\nsrc.git = \"https://github.com/williamckha/spicetify-fluent\"\nfetch.git = \"https://github.com/williamckha/spicetify-fluent\"\n\n[defaultDynamicSrc]\nsrc.git = \"https://github.com/JulienMaille/spicetify-dynamic-theme\"\nfetch.git = \"https://github.com/JulienMaille/spicetify-dynamic-theme\"\n\n[retroBlurSrc]\nsrc.git = \"https://github.com/Motschen/Retroblur\"\nfetch.git= \"https://github.com/Motschen/Retroblur\"\n\n[omniSrc]\nsrc.git = \"https://github.com/getomni/spicetify\"\nfetch.git = \"https://github.com/getomni/spicetify\"\n\n[bloomSrc]\nsrc.git = \"https://github.com/nimsandu/spicetify-bloom\"\nfetch.git = \"https://github.com/nimsandu/spicetify-bloom\"\n\n[orchisSrc]\nsrc.git = \"https://github.com/canbeardig/Spicetify-Orchis-Colours-v2\"\nfetch.git = \"https://github.com/canbeardig/Spicetify-Orchis-Colours-v2\"\n\n[draculaSrc]\nsrc.git = \"https://github.com/Darkempire78/Dracula-Spicetify\"\nfetch.git = \"https://github.com/Darkempire78/Dracula-Spicetify\"\n\n[nordSrc]\nsrc.git = \"https://github.com/Tetrax-10/Nord-Spotify\"\nsrc.branch = \"dist\"\nfetch.git = \"https://github.com/Tetrax-10/Nord-Spotify\"\n\n[dakshExtensions]\nsrc.git = \"https://github.com/daksh2k/Spicetify-stuff\"\nfetch.git = \"https://github.com/daksh2k/Spicetify-stuff\"\n\n[hidePodcastsSrc]\nsrc.git = \"https://github.com/theRealPadster/spicetify-hide-podcasts\"\nfetch.git = \"https://github.com/theRealPadster/spicetify-hide-podcasts\"\n\n[historySrc]\nsrc.git = \"https://github.com/einzigartigerName/spicetify-history\"\nfetch.git = \"https://github.com/einzigartigerName/spicetify-history\"\n\n[genreSrc]\nsrc.git = \"https://github.com/Shinyhero36/Spicetify-Genre\"\nfetch.git = \"https://github.com/Shinyhero36/Spicetify-Genre\"\n\n[lastfmSrc]\nsrc.git = \"https://github.com/LucasBares/spicetify-last-fm\"\nfetch.git = \"https://github.com/LucasBares/spicetify-last-fm\"\n\n[localFilesSrc]\nsrc.git = \"https://github.com/hroland/spicetify-show-local-files\"\nfetch.git = \"https://github.com/hroland/spicetify-show-local-files\"\n\n[autoVolumeSrc]\nsrc.git = \"https://github.com/amanharwara/spicetify-autoVolume\"\nfetch.git = \"https://github.com/amanharwara/spicetify-autoVolume\"\n\n[customAppsExtensionsSrc]\nsrc.git = \"https://github.com/3raxton/spicetify-custom-apps-and-extensions\"\nfetch.git = \"https://github.com/3raxton/spicetify-custom-apps-and-extensions\"\n\n[spotifyCanvasSrc]\nsrc.git = \"https://github.com/itsmeow/Spicetify-Canvas\"\nfetch.git = \"https://github.com/itsmeow/Spicetify-Canvas\"\n\n[charlieS1103Src]\nsrc.git = \"https://github.com/CharlieS1103/spicetify-extensions\"\nfetch.git = \"https://github.com/CharlieS1103/spicetify-extensions\"\n\n[huhExtensionsSrc]\nsrc.git = \"https://github.com/huhridge/huh-spicetify-extensions\"\nfetch.git = \"https://github.com/huhridge/huh-spicetify-extensions\"\n\n[playlistIconsSrc]\nsrc.git = \"https://github.com/jeroentvb/spicetify-playlist-icons\"\nsrc.branch = \"dist\"\nfetch.git = \"https://github.com/jeroentvb/spicetify-playlist-icons\"\n\n[tetraxSrc]\nsrc.git = \"https://github.com/Tetrax-10/Spicetify-Extensions\"\nfetch.git = \"https://github.com/Tetrax-10/Spicetify-Extensions\"\n\n[powerBarSrc]\nsrc.git = \"https://github.com/jeroentvb/spicetify-power-bar\"\nsrc.branch = \"dist\"\nfetch.git = \"https://github.com/jeroentvb/spicetify-power-bar\"\n\n[groupSessionSrc]\nsrc.git = \"https://github.com/timll/spotify-group-session\"\nfetch.git = \"https://github.com/timll/spotify-group-session\"\n\n[startPageSrc]\nsrc.git = \"https://github.com/Resxt/startup-page\"\nfetch.git = \"https://github.com/Resxt/startup-page\"\n\n[nameThatTuneSrc]\nsrc.git = \"https://github.com/theRealPadster/name-that-tune\"\nsrc.branch = \"dist\"\nfetch.git = \"https://github.com/theRealPadster/name-that-tune\"\n\n[marketplaceSrc]\nsrc.git = \"https://github.com/spicetify/spicetify-marketplace\"\nsrc.branch = \"dist\"\nfetch.git = \"https://github.com/spicetify/spicetify-marketplace\"\n"
  },
  {
    "path": "pkgs/spotifywm.nix",
    "content": "{\n  stdenv,\n  xorg,\n  spotify,\n  makeWrapper,\n  callPackage,\n}:\nstdenv.mkDerivation {\n  pname = \"spotifywm\";\n  inherit ((callPackage ./_sources/generated.nix {}).spotifywmSrc) src version;\n\n  buildInputs = [xorg.libX11 makeWrapper];\n\n  installPhase = ''\n    mkdir -p $out/lib\n    mkdir -p $out/bin\n    install -Dm644 spotifywm.so $out/lib\n\n    cp ${spotify}/bin/spotify $out/bin\n    wrapProgram $out/bin/spotify \\\n        --set LD_PRELOAD \"$out/lib/spotifywm.so\"\n    # wrapper for spotifywm nixpkgs compatibility\n    ln -sf $out/bin/spotify $out/bin/spotifywm\n  '';\n}\n"
  },
  {
    "path": "pkgs/themes.nix",
    "content": "{\n  lib,\n  source,\n  ...\n}:\nwith source; let\n  # THEMES --------------------------------------------------------------------\n  SpotifyNoPremium = {\n    name = \"SpotifyNoPremium\";\n    src = spotifyNoPremiumSrc;\n    appendName = false;\n    requiredExtensions = [brokenAdblock]; # might also require charliesAdblock\n    injectCss = false;\n    replaceColors = false;\n    overwriteAssets = false;\n    sidebarConfig = false;\n  };\n\n  Fluent = {\n    name = \"Fluent\";\n    src = fluentSrc;\n    appendName = false;\n    injectCss = true;\n    overwriteAssets = true;\n    replaceColors = true;\n    sidebarConfig = false;\n    patches = {\n      \"xpui.js_find_8008\" = \",(\\\\w+=)32\";\n      \"xpui.js_repl_8008\" = \",$\\{1}56\";\n    };\n    requiredExtensions = [\n      {\n        src = fluentSrc;\n        filename = \"fluent.js\";\n      }\n    ];\n  };\n\n  DefaultDynamic = {\n    name = \"DefaultDynamic\";\n    src = defaultDynamicSrc;\n    appendName = false;\n    injectCss = true;\n    replaceColors = true;\n    overwriteAssets = false;\n    sidebarConfig = false;\n    requiredExtensions = [\n      {\n        src = defaultDynamicSrc;\n        filename = \"default-dynamic.js\";\n      }\n      {\n        src = defaultDynamicSrc;\n        filename = \"Vibrant.min.js\";\n      }\n    ];\n    patches = {\n      \"xpui.js_find_8008\" = \",(\\\\w+=)32,\";\n      \"xpui.js_repl_8008\" = \",$\\{1}28,\";\n    };\n  };\n\n  RetroBlur = {\n    name = \"RetroBlur\";\n    src = retroBlurSrc;\n    appendName = false;\n    injectCss = true;\n    replaceColors = true;\n    overwriteAssets = false;\n    sidebarConfig = false;\n  };\n\n  # BROKEN. no clue why\n  Omni = {\n    name = \"Omni\";\n    src = omniSrc;\n    appendName = false;\n    injectCss = true;\n    overwriteAssets = true;\n    replaceColors = true;\n    sidebarConfig = false;\n    requiredExtensions = [\n      {\n        src = omniSrc;\n        filename = \"omni.js\";\n      }\n    ];\n  };\n\n  # light colorscheme is broken, think that's the theme's fault\n  Bloom = {\n    name = \"Bloom\";\n    src = bloomSrc;\n    appendName = false;\n    injectCss = true;\n    replaceColors = true;\n    overwriteAssets = true;\n    sidebarConfig = false;\n    patches = {\n      \"xpui.js_find_8008\" = \",(\\\\w+=)32,\";\n      \"xpui.js_repl_8008\" = \",$\\{1}56,\";\n    };\n    requiredExtensions = [\n      {\n        src = bloomSrc;\n        filename = \"bloom.js\";\n      }\n    ];\n  };\n\n  Orchis = {\n    name = \"DarkGreen\";\n    src = orchisSrc;\n    appendName = true;\n    injectCss = true;\n    replaceColors = true;\n    overwriteAssets = false;\n    sidebarConfig = false;\n  };\n\n  Dracula = {\n    name = \"Dracula\";\n    src = draculaSrc;\n    appendName = true;\n    replaceColors = true;\n    injectCss = false;\n    overwriteAssets = false;\n    sidebarConfig = false;\n  };\n\n  Nord = {\n    name = \"Nord\";\n    src = nordSrc;\n    appendName = true;\n    injectCss = true;\n    replaceColors = true;\n    overwriteAssets = false;\n    sidebarConfig = false;\n  };\n\n  Comfy = {\n    name = \"Comfy\";\n    src = comfySrc;\n    appendName = true;\n    injectCss = true;\n    replaceColors = true;\n    overwriteAssets = true;\n    sidebarConfig = false;\n    requiredExtensions = [\n      {\n        src = \"${comfySrc}/Comfy\";\n        filename = \"theme.js\";\n      }\n    ];\n    extraCommands = ''\n      # remove the auto-update functionality\n      echo \"\\n\" >> ./Extensions/theme.js\n      cat ./Themes/Comfy/theme.script.js >> ./Extensions/theme.js\n    '';\n  };\n\n  # theres a thing at https://github.com/itsmeow/Spicetify-Canvas\n  # about getting a custom build of chromium or something. I am NOT doing that\n  # ... but maybe one day if someone asks\n  # TODO: add the ability to append this user.css to any other user.css\n  # for installation in any theme\n  SpotifyCanvas = {\n    name = \"SpotifyCanvas\";\n    src = \"${spotifyCanvasSrc}/Themes/canvas\";\n    appendName = false;\n    injectCss = true;\n    overwriteAssets = false;\n    replaceColors = false;\n    sidebarConfig = false;\n\n    requiredExtensions = [\n      {\n        src = \"${spotifyCanvasSrc}/Extensions\";\n        filename = \"getCanvas.js\";\n      }\n    ];\n  };\nin {\n  official = let\n    dribbblishExt = {\n      filename = \"dribbblish.js\";\n      src = \"${officialThemes}/Dribbblish\";\n    };\n\n    turntableExt = {\n      filename = \"turntable.js\";\n      src = \"${officialThemes}/Turntable\";\n    };\n    mkOfficialTheme = themeName: {\n      ${themeName} = {\n        name = themeName;\n        src = officialThemes;\n        appendName = true;\n        injectCss = true;\n        replaceColors = true;\n        overwriteAssets = false;\n        sidebarConfig = false;\n      };\n    };\n  in\n    {\n      Dribbblish = {\n        name = \"Dribbblish\";\n        src = officialThemes;\n        requiredExtensions = [dribbblishExt];\n        patches = {\n          \"xpui.js_find_8008\" = \",(\\\\w+=)32\";\n          \"xpui.js_repl_8008\" = \",$\\{1}56\";\n        };\n        injectCss = true;\n        replaceColors = true;\n        overwriteAssets = true;\n        appendName = true;\n        sidebarConfig = true;\n        additionalCss = ''\n          .Root {\n            padding-top: 0px;\n          }\n        '';\n      };\n      text = {\n        name = \"text\";\n        src = officialThemes;\n        patches = {\n          \"xpui.js_find_8008\" = \",(\\\\w+=)56\";\n          \"xpui.js_repl_8008\" = \",$\\{1}32\";\n        };\n        injectCss = true;\n        replaceColors = true;\n        appendName = true;\n        overwriteAssets = false;\n        sidebarConfig = false;\n      };\n      Dreary = {\n        name = \"Dreary\";\n        src = officialThemes;\n        sidebarConfig = true;\n        appendName = true;\n      };\n      Glaze = {\n        name = \"Glaze\";\n        src = officialThemes;\n        sidebarConfig = true;\n        appendName = true;\n      };\n      Turntable = {\n        name = \"Turntable\";\n        src = officialThemes;\n        requiredExtensions = [\"fullAppDisplay.js\" turntableExt];\n      };\n      catppuccin = {\n        name = \"catppuccin\";\n        src = catppuccinSrc;\n        appendName = true;\n        injectCss = true;\n        replaceColors = true;\n        overwriteAssets = true;\n        sidebarConfig = false;\n      };\n    }\n    // mkOfficialTheme \"Ziro\"\n    // mkOfficialTheme \"Sleek\"\n    // mkOfficialTheme \"Onepunch\"\n    // mkOfficialTheme \"Flow\"\n    // mkOfficialTheme \"Default\"\n    // mkOfficialTheme \"BurntSienna\"\n    // mkOfficialTheme \"Blossom\"\n    // mkOfficialTheme \"Sleek\"\n    // mkOfficialTheme \"Nightlight\"\n    // mkOfficialTheme \"Matte\";\n  inherit\n    SpotifyNoPremium\n    Fluent\n    DefaultDynamic\n    RetroBlur\n    Omni\n    Bloom\n    Orchis\n    Dracula\n    Nord\n    SpotifyCanvas\n    Comfy\n    ;\n}\n"
  },
  {
    "path": "template/README.md",
    "content": "# Home Manager Configuration\n\nThis home-manager configuration was generated from the spicetify-nix template.\nYou will find settings for the system (for if youre not running x86_64\narchitecture) and username inside of `flake.nix`. Edit `spicetify.nix` in\norder to customize what theme, extensions, custom apps, and color scheme you\nare using.\n\nCheck the [spicetify-nix README](https://github.com/the-argus/spicetify-nix/blob/master/README.md)\nfor documentation on ways you can configure spicetify.\n\n## Further configuration\n\nIf you are on NixOS linux, you can remove the line\n``targets.genericLinux.enable = true;`` from ``home.nix``.\nAdditionally, change ``homeConfigUserString`` in ``flake.nix`` to be equal to\n``username``.\n\nIf you want to add this configuration to a git repository, create one\n(for example, on github) and then link it up to this folder by running:\n\n```bash\ngit remote add origin https://github.com/your-username/repo-name\ngit push -u origin main\n```\n\n(``git remote rm origin`` is also useful if you accidentally add the wrong url)\n\n## Known issues\n\nIf you're on Fedora linux, SELinux is enabled by default, and it breaks nix.\nEdit ``/etc/selinux/config`` and change ``SELINUX=enforcing`` to\n``SELINUX=disabled`` and then restart your machine to disable it.\n"
  },
  {
    "path": "template/flake.nix",
    "content": "{\n  description = \"My home-manager configuration\";\n  inputs = {\n    nixpkgs.url = github:NixOS/nixpkgs?ref=nixos-22.11;\n    spicetify-nix.url = github:the-argus/spicetify-nix;\n    home-manager = {\n      url = github:nix-community/home-manager/release-22.11;\n      # home manager use our nixpkgs and not its own\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n\n  outputs = {\n    self,\n    nixpkgs,\n    home-manager,\n    spicetify-nix,\n  } @ inputs: let\n    username = \"unknown_username\";\n    hostname = \"unknown_hostname\";\n\n    homeConfigUserString =\n      if username == \"unknown_username\"\n      then abort \"Please replace \\\"unknown_username\\\" in flake.nix with your actual username.\"\n      else \"${username}@${hostname}\";\n\n    supportedSystems = [\n      \"x86_64-linux\"\n      \"aarch64-linux\"\n    ];\n    genSystems = nixpkgs.lib.genAttrs supportedSystems;\n    pkgs = genSystems (system: import nixpkgs {inherit system;});\n\n    # not these though\n    stateVersion = \"22.11\";\n  in {\n    packages = genSystems (system: {\n      homeConfigurations.${homeConfigUserString} = home-manager.lib.homeManagerConfiguration {\n        pkgs = pkgs.${system};\n        modules = [./home.nix];\n        extraSpecialArgs =\n          inputs\n          // {\n            inherit username stateVersion;\n          };\n      };\n    });\n  };\n}\n"
  },
  {
    "path": "template/home.nix",
    "content": "{\n  pkgs,\n  lib,\n  username,\n  stateVersion,\n  ...\n}: {\n  imports = [./spicetify.nix];\n\n  # assume you're not using nixOS\n  targets.genericLinux.enable = true;\n\n  home = {\n    inherit username stateVersion;\n    homeDirectory = \"/home/${username}\";\n  };\n\n  # list where you can specify unfree packages to allow\n  nixpkgs.config.allowUnfreePredicate = pkg:\n    builtins.elem (lib.getName pkg) [\n      \"spotify\"\n    ];\n\n  home.packages = with pkgs; [\n    # put packages you want to install here\n  ];\n}\n"
  },
  {
    "path": "template/spicetify.nix",
    "content": "{\n  pkgs,\n  spicetify-nix,\n  ...\n}: let\n  spicePkgs = spicetify-nix.pkgSets.${pkgs.system};\nin {\n  # configure spicetify :)\n  programs.spicetify = {\n    enable = true; # this is the line that will cause spotify to get installed\n    theme = spicePkgs.themes.Dribbblish;\n    colorScheme = \"gruvbox\";\n\n    enabledCustomApps = with spicePkgs.apps; [\n      new-releases\n      lyrics-plus\n      localFiles\n      marketplace\n    ];\n\n    enabledExtensions = with spicePkgs.extensions; [\n      # \"playlistIcons.js\" # only needed if not using dribbblish\n      \"fullAlbumDate.js\"\n      \"showQueueDuration.js\"\n      \"playNext.js\"\n      \"shuffle+.js\"\n    ];\n  };\n\n  xdg.desktopEntries = {\n    spotify = {\n      name = \"Spiced Spotify\";\n      exec = \"spotify\";\n      icon = \"spotify\";\n      type = \"Application\";\n    };\n  };\n\n  imports = [spicetify-nix.homeManagerModule];\n}\n"
  },
  {
    "path": "tests/all-for-theme.nix",
    "content": "{\n  lib,\n  callPackage,\n  spotify,\n  spicetify-cli,\n  ...\n}: theme: let\n  spiceLib = callPackage ../lib {};\n  spicePkgs = callPackage ../pkgs {};\n\n  # use every app and every extension\n  flatten = lib.attrsets.mapAttrsToList (_: value: value);\n  apps = flatten (builtins.removeAttrs spicePkgs.apps [\"override\" \"overrideDerivation\"]);\n  extensions = flatten (builtins.removeAttrs spicePkgs.extensions [\"_lib\" \"override\" \"overrideDerivation\"]);\n\n  config-xpui = spiceLib.xpuiBuilder {\n    inherit extensions apps theme;\n    cfgXpui = spiceLib.types.defaultXpui;\n    cfgColorScheme = null;\n    cfg = {};\n  };\nin\n  spiceLib.spicetifyBuilder {\n    inherit spotify config-xpui extensions apps theme;\n    spicetify = spicetify-cli;\n  }\n"
  },
  {
    "path": "tests/apps.nix",
    "content": "{\n  lib,\n  callPackage,\n  spicetify-cli,\n  spotify,\n  ...\n}: let\n  spiceLib = callPackage ../lib {};\n  spicePkgs = callPackage ../pkgs {};\n\n  flatten = lib.attrsets.mapAttrsToList (_: value: value);\n  apps = flatten (builtins.removeAttrs spicePkgs.apps [\"override\" \"overrideDerivation\"]);\n\n  theme = spicePkgs.themes.Default;\n\n  config-xpui = spiceLib.xpuiBuilder {\n    inherit apps theme;\n    cfgXpui = spiceLib.types.defaultXpui;\n    cfgColorScheme = null;\n    cfg = {};\n    extensions = [];\n  };\nin\n  spiceLib.spicetifyBuilder {\n    inherit spotify config-xpui apps theme;\n    spicetify = spicetify-cli;\n  }\n"
  },
  {
    "path": "tests/default.nix",
    "content": "{\n  callPackage,\n  lib,\n  stdenvNoCC,\n  emptyDirectory,\n  ...\n}: let\n  spicePkgs = callPackage ../pkgs {};\n  tryAllExtensionsAndAppsFor = callPackage ./all-for-theme.nix {};\n\n  themes = builtins.removeAttrs spicePkgs.themes [\"override\" \"overrideDerivation\"];\n  drvs =\n    (lib.attrsets.mapAttrsToList (_: value: tryAllExtensionsAndAppsFor value) themes)\n    ++ [(callPackage ./minimal-config.nix {})];\n  lnCommands = builtins.concatStringsSep \"\\n\" (map (drv: \"ln -sf ${drv} $out/\") drvs);\nin\n  stdenvNoCC.mkDerivation {\n    name = \"spicetify-tests\";\n    src = emptyDirectory;\n    dontBuild = true;\n\n    installPhase = \"mkdir -p $out\\n\" + lnCommands;\n  }\n"
  },
  {
    "path": "tests/minimal-config.nix",
    "content": "{\n  callPackage,\n  spicetify-cli,\n  spotify,\n  ...\n}: let\n  spiceLib = callPackage ../lib {};\n  spicePkgs = callPackage ../pkgs {};\n\n  extensions = with spicePkgs.extensions; [\n    fullAppDisplay\n    shuffle\n    hidePodcasts\n  ];\n\n  theme = spicePkgs.themes.catppuccin;\n\n  config-xpui = spiceLib.xpuiBuilder {\n    inherit extensions theme;\n    cfgXpui = spiceLib.types.defaultXpui;\n    cfgColorScheme = \"mocha\";\n    cfg = {};\n    apps = [];\n  };\nin\n  spiceLib.spicetifyBuilder {\n    inherit spotify config-xpui extensions theme;\n    spicetify = spicetify-cli;\n  }\n"
  }
]