danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.23k stars 157 forks source link

stylix: wallpaper should be optional #200

Open tbaumann opened 11 months ago

tbaumann commented 11 months ago

I don't use the generative colour scheme, I mostly use stylix for the superb system wide theming together with a pre-defined colour scheme.

I find stylix.image should be optional when stylix.base16Scheme is used.

Arguably it should perhaps even be entirely optional. Instead of throwing a rather obscure error it should perhaps just not apply any theme or use a default one...

error: A definition for option `stylix.image' is not of type `path or package convertible to it'.

Or produce an error message specifying that stylix.image is not optional.

danth commented 11 months ago

We should probably support having null as the wallpaper and in that case simply disable anything which uses it.

rynskyi commented 2 weeks ago

Hey, devs! Any updates on this?

For anyone else who landed here looking for a fix, here's a quick workaround (for hyprland) you can try:

services.hyprpaper.enable = lib.mkForce false; 
stylix.targets.hyprpaper.enable = lib.mkForce false;
danth commented 2 weeks ago

This is not currently being worked on, but should not be a huge amount of work to implement.