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
Message #149 received at 75270 <at> debbugs.gnu.org (full text, mbox):
Hi,
muradm <mail <at> muradm.net> writes:
> * gnu/services/base.scm (<greetd-gtkgreet-sway-session>): New record,
> represents `gtkgreet` greeter session configuration.
> * doc/guix.texi (Base Services): Document new `gtkgreet` greeter.
Nitpick: I'd use straight quote in GNU Change Log messages; back quotes
are very much Markdown :-).
[...]
> +(define make-greetd-gtkgreet-sway-session-sway-config
> + (match-lambda
> + (($ <greetd-gtkgreet-sway-session>
You should use a regular lambda + the Guix-provided 'match-record'
syntax.
> + sway sway-config gtkgreet gtkgreet-style command)
> + (let ((gtkgreet-bin (file-append gtkgreet "/bin/gtkgreet"))
> + (swaymsg-bin (file-append sway "/bin/swaymsg")))
> + (mixed-text-file
> + "gtkgreet-sway-config"
> + (if sway-config "include " "")
> + (if sway-config sway-config "")
> + (if sway-config "\n" "")
Seems these if block can be grouped as one.
> + "xwayland disable\n"
> + "exec \"" gtkgreet-bin " -l"
> + (if gtkgreet-style " -s " "")
> + (if gtkgreet-style gtkgreet-style "")
Likewise.
The rest LGTM.
Could you send a v6 revision of the whole series?
--
Thanks,
Maxim
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.