treewide: simplify and standardize message convention (#796)

This commit is contained in:
NAHO 2025-01-25 20:23:25 +01:00 committed by GitHub
parent 58b54b664b
commit 5e8be7521e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View file

@ -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 = {

View file

@ -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
{