~kennylevinsen/greetd-devel

gtkgreet: Fix --command argument for builds without layer-shell v1 APPLIED

Aleksei Bavshin: 1
 Fix --command argument for builds without layer-shell

 1 files changed, 1 insertions(+), 1 deletions(-)
#399991 .build.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kennylevinsen/greetd-devel/patches/19640/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH gtkgreet] Fix --command argument for builds without layer-shell Export this patch

---
 gtkgreet/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtkgreet/main.c b/gtkgreet/main.c
index 2e7aa30..003ad00 100644
--- a/gtkgreet/main.c
+++ b/gtkgreet/main.c
@@ -20,8 +20,8 @@ static GOptionEntry entries[] =

#ifdef LAYER_SHELL
  { "layer-shell", 'l', 0, G_OPTION_ARG_NONE, &use_layer_shell, "Use layer shell", NULL},
  { "command", 'c', 0, G_OPTION_ARG_STRING, &command, "Command to run", "sway"},
#endif
  { "command", 'c', 0, G_OPTION_ARG_STRING, &command, "Command to run", "sway"},
  { "background", 'b', 0, G_OPTION_ARG_STRING, &background, "Background image to use", NULL},
  { NULL }
};
-- 
2.28.0
Applied, thanks!