Conversation
| } name value) | ||
| + "\n"; | ||
|
|
||
| toRasi = |
There was a problem hiding this comment.
it might be interesting to add such formats in the lib. ie wlib.formats.rasi if this format is used elsewhere
There was a problem hiding this comment.
Only rofi uses rasi, but there are some formats, like hyprlang used for all the hyprwm things
|
I guess this is not compatible with macos, I need to finish #19 and add a meta field afterwards so we can specify platforms and maintainers |
modules/rofi/module.nix
Outdated
| }; | ||
|
|
||
| config.flags = { | ||
| "-config" = config.pkgs.writeTextFile { |
There was a problem hiding this comment.
it would be nice if this textfile could be generated through a wlib.types.file option. so people could override the path if they want to have a config file outside the store (or read from an environment file)
There was a problem hiding this comment.
something like:
options."rofi.cfg" = lib.mkOption {
type = wlib.types.file config.pkgs;
default.content = toRasi ...;
}; config.flags."--config" = config."rofi.cfg".path;There was a problem hiding this comment.
yeah I'll implement it
|
pretty nice work! |
Add wrapper module for rofi