Closed svrana closed 3 years ago
Thanks for the detailed feedback! I'll look into this this week and will keep you updated.
The problem was pretty silly.
There were a few booleans which set themselves, such as:
injectCss = boolToString (isDribblish || injectCss);
If you're using Dribblish, it never entered the loop, because of the "early return". I also fixed another issue I came across when testing your config and I can proudly tell that you're settings "work on my machine".
Have fun with your spiced up Spotify!
Confirmed that my desktop is now completely solarized :)
Thanks for the fixes! Interesting, guess I was zeroing in on boolToString, but it was the expression passed to it that's problematic..
You thought about trying to get this in nixpkgs? spicetify made it in recently.. but there' s no module around it, so it doesn't do much.. I like the approach you took here overriding the post install process of spotify. I wonder if that would be something acceptable upstream or if there's other things that I'm not seeing that you think might not make it acceptable?
To be honest, I have no clue if this code is up to par with the standards of Nix. I haven't noticed that Spicetify was added to the repo. I'll look at that for further steps in possibly upstreaming this package!
Was added here. There must be a similar type of program-- one that goes in and modifies the contents of the deployables of another, but I just can't think of one atm that might show us an approach that's already accepted. Happy to help in any way, by starting a discussion in nixpkgs, or doing the port, or anything. I can't be the only new nix user who will find this useful!
Thanks again!
Thanks for the suggestion. I'll start with making a pull request soon. When I do, I'll make sure to notify you ;)
Was added here. There must be a similar type of program-- one that goes in and modifies the contents of the deployables of another, but I just can't think of one atm that might show us an approach that's already accepted. Happy to help in any way, by starting a discussion in nixpkgs, or doing the port, or anything. I can't be the only new nix user who will find this useful!
Thanks again!
It's been a few months, but I'm currently working on getting a version of this in nixpkgs. You can check the progress here https://github.com/NixOS/nixpkgs/pull/111946
Encountering this error when attempting to use spicetify-nix to install spotify with the SolarizedDark theme.
Installation is using a package that I'm including from home-manage on nixos 20.09 (just copied the config from your spotify.nix from your nixos-configuration). Dribbblish does work and is a big improvement, but SolarizedDark would match my color scheme so shooting for that one. SolarizedDark theme is simpler with just a user.css and color.ini.
Here's what I'm working with:
I'm staring at boolToString and just not seeing the problem! User error perhaps?