Open e-tho opened 11 months ago
Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting.
* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
Don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.
I'm having the same issue on NixOS on the unstable channel.
just remove stale bots they are stupid and this is an actual issue that should be fixed are there any workaround btw at the moment
Yeah the workaround is to not use nested sets, like so:
extraConfig = {
modi = "drun,run,window,ssh";
display-run = "open:";
display-drun = "open:";
drun-display-format = "{name}";
parse-known-hosts = false;
};
The above works, however trying
extraConfig = {
modi = "drun,run,window,ssh";
run,drun = {
display-name = "open:";
};
drun-display-format = "{name}";
parse-known-hosts = false;
};
does not.
thanks a lot it works
This only works in this particular case, as it is not currently possible to set settings per mode in extraConfig
.
The module should anyway be revised to dissociate settings
and extraConfig
, as most home-manager modules do.
Please add a thumbs-up to this issue if you encounter the same - it's the best way to prioritize its handling.
Heads-up: I don't use rofi anymore so I am not interested in working on this feature.
I will probably remove myself from the maintainer list for rofi, but if someone wants to work in this PR I would like to ask to just go and remove me as a maintainer (and also add yourself as the maintainer since the module needs someone).
My workaround is to just embed the text directly using mkLiteral
. The attr key has to start with //
to become a comment in the final file.
extraConfig = {
display-drun = "DRun";
modi = ["drun" "run" "ssh"];
"// lol" = config.lib.formats.rasi.mkLiteral ''
drun {
parse-system: true;
parse-user: true;
scan-desktop: true;
}
// '';
};
Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting.
* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
Don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.
Are you following the right branch?
Is there an existing issue for this?
Issue description
Multiple Rofi parameters can benefit from nested sets, for example when defining parameters by mode.
Currently, if I try to build with this configuration
error
The option home-manager.users.username.programs.rofi.extraConfig.filebrowser.directory' does not exist
occurs.Here's the type of
extraConfig
:(attribute set of (string or signed integer or boolean or (Rasi literal string) or list of (string or signed integer or boolean or (Rasi literal string)))) or string
from Rofi documentation:
Maintainer CC
@thiagokokada
System information