Daniel Thwaites

Results 349 comments of Daniel Thwaites

It would be simpler if there was only one option, with a function to create a still image from it. If the value is already a still image then this...

Is it possible to use a submodule type within an enum? If so, we could replace the list with a submodule having those extra options.

On further thought, we could represent all wallpapers as an attrset: ```nix { type = "image"; file = ./image.png; } ``` ```nix { type = "animation"; file = ./video.mp4; }...

Custom types are the best solution I can come up with. Let's go ahead with that.

This does get enabled automatically when Stylix is installed on NixOS and the GTK target is enabled: https://github.com/danth/stylix/blob/5f7b55cc690b5ca02d1dc19175cab2ccdd408811/modules/gtk/nixos.nix#L9 Perhaps this should be moved to a general module as dconf is...

This is something I've thought about before - we could have a function to load a scheme from a file, and another to generate one based on a given image...

I'm also in favor of the custom types, but it would be nice if we had a way to generate documentation for them

(As mentioned on Matrix) I think we should calculate polarity based on the background colour when it's needed for a module, as this will support handmade schemes too. So if...

Hi, are you able to rebase this on commit b36fb34a9c8fb728c7efe5dbbb222bb23dcaa967 or later such that I can run it through a testbed? That would be much appreciated.

The previous implementation based on `kdeglobals` also themed desktop elements on KDE such as window decorations and panels (when it was working correctly). This does not appear to be possible...