InioX / matugen

A material you color generation tool
GNU General Public License v2.0
285 stars 14 forks source link

Suggestion: nixOS module for configuration file instead of one-time usage #60

Open DaniD3v opened 5 months ago

DaniD3v commented 5 months ago

I want to imperatively select my wallpaper (with rofi). I figured that the nixOS module would act like most home-manager modules and simply let me configure the matugen.toml file instead of launching the command once with the supplied args.

Is there any chance we'll get a module that can write the configuration file instead? Nix modules for toml files are relatively easy to write. For reference take a look at the starship hm-module.

InioX commented 5 months ago

Hi,

I'll take a look at this in a few days when I get my pc back.

DaniD3v commented 4 months ago

Are you still planning to do this? I could PR if you don't have time.

InioX commented 4 months ago

Hi, I apologize for not giving any updates.

A PR would be appreciated, since some pc parts still didn't arrive and my laptop will still take a week minimum to fix.