This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
forked from pietdevries94/spicetify-nix
-
Notifications
You must be signed in to change notification settings - Fork 20
Expose an option to enable devtools #38
Comments
an alternative is to disable nix's sandboxing, and run {config, ...}: {
imports = [...]; # import spicetify-nix
nix.settings.use-sandbox = false;
programs.spicetify = {
... # rest of config
# you need to set HOME manually because the builder is a different user
extraCommands = "HOME=${config.home.homeDirectory} spicetify-cli enable-devtools";
}
} but this is not recommended because this requires that spotify be run atleast once before, breaking reproducibility. i recommend doing this, making whatever changes you want, then removing this again. |
@AgathaSorceress I was recommended to use this extension, and it works with no weirdness unlike the above approach. |
unfortunatly, neither of these solutions work for me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Spicetify CLI has an
spicetify enable-devtools
action that enables chromium devtools, seemingly by patching.cache/spotify/offline.bnk
, which is helpful when developing themes and CSS snippets. I'm not sure if just conditionally appending it to this line would be a good idea, or if there's a better way to do it, but I think it would be useful to have.The text was updated successfully, but these errors were encountered: