treewide: simplify and standardize message convention (#796)
This commit is contained in:
parent
58b54b664b
commit
5e8be7521e
2 changed files with 3 additions and 6 deletions
|
|
@ -21,7 +21,7 @@
|
|||
let
|
||||
cfg = config.programs.regreet;
|
||||
in
|
||||
lib.mkIf
|
||||
lib.optional
|
||||
(
|
||||
cfg.enable
|
||||
&&
|
||||
|
|
@ -29,9 +29,7 @@
|
|||
config.services.greetd.settings.default_session.command
|
||||
!= "${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${lib.getExe cfg.package}"
|
||||
)
|
||||
[
|
||||
"Stylix is not guaranteed to style regreet correctly when setting a custom command in `services.greetd.settings.default_session.command `. Note that in most cases no variables under `services.greetd` need to be manually set to ensure that ReGreet is functional."
|
||||
];
|
||||
"stylix: regreet: custom services.greetd.settings.default_session.command value may not work: ${config.services.greetd.settings.default_session.command}";
|
||||
programs.regreet = {
|
||||
settings.GTK.application_prefer_dark_theme = config.stylix.polarity == "dark";
|
||||
settings.background = {
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
if builtins.hasAttr imageScalingMode modeMap then
|
||||
{ mode = modeMap.${imageScalingMode}; }
|
||||
else
|
||||
lib.info
|
||||
"[stylix] wpaperd does not support '${imageScalingMode}' image scaling mode"
|
||||
lib.info "stylix: wpaperd: unsupported image scaling mode: ${imageScalingMode}"
|
||||
{ };
|
||||
in
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue