GNU bug report logs -
#75270
[PATCH 0/3] services: greetd: Improve greeter configurations.
Previous Next
Reported by: muradm <mail <at> muradm.net>
Date: Wed, 1 Jan 2025 22:49:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
muradm <mail <at> muradm.net> skribis:
> "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> writes:
>
>>> -@item @code{sway-configuration} (default: #f)
>>> -File-like object providing an additional Sway configuration file
>>> to be
>>> -prepended to the mandatory part of the configuration.
>>> +@item @code{sway-config} (default: @code{(plain-file
>>> "greetd-wlgreet-sway-config" "")})
>>> +Extra configuration for sway to be included before executing
>>> greeter.
>>
>> Could you retain the name of the existing field sway-configuration?
>> Using abbreviations is uncommon in Guix, I think,
>> [...]
>> Also sway-configuration is used in many examples in the Guix
>> manual.
>
> I'm not sure if it is so strict, there are a lot of places where
> 'config' is used. Is there a guideline for naming?
It is rather strict, yes. The guideline here would be:
https://guix.gnu.org/manual/devel/en/html_node/Formatting-Code.html
Specifically Riastradh's Lisp Style Rules.
As for changing the name of configuration fields: this is something to
avoid because it breaks user configurations. See the guidelines under
“Services” at:
https://guix.gnu.org/manual/devel/en/html_node/Deprecation-Policy.html
HTH!
Ludo’.
This bug report was last modified 160 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.