All the other rofi settings I have set are working except for the theme. I don’t know if I have some syntax wrong, but nothing I try affects the theme.
Does anyone have a working example they could share so I could see where I am going wrong?
Something similar occur to me with neovim last day, please update your nix channels with nix-channel --update and then rebuild your config to see if the configs take effect.
There is a PR on the home manager related to rofi theming. I don’t use rofi, so I don’t know if this is actually helpful, but still sharing this hoping it might be
With 21.11 nixpkgs updated to a new Rofi version which deprecated some old theme syntax, which is why people like me (and presumably @noblman) are stuck having to figure out the new syntax
I’ve not yet gotten around to figuring it out yet, either, but I think there are multiple versions of the new syntax as well, and I’ve yet to find a proper definition of the one the current version takes.
I’m fairly sure this still applies. As long as your configuration is set up using nix and your home-manager isn’t on master (which presumably is the case if you’re building your theme with nix, though I guess you could do something weird like have a theme built with nix and then import it from a manually written config file?), the module will put the @theme in the wrong location, which will result in rofi not loading it properly.
Your theme is still “external” as far as rofi is concerned, the module just creates a theme named “custom” and tells rofi to load it using the same code path it loads “external” themes with.
I’ll need to take a deep dive into the upstream themes before defining a proper one though (and am half considering just keeping the actual definition outside of nix).