From 3f98e143ddcde01f721226d9895c9897faa179ec Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Wed, 6 Apr 2022 22:36:09 -0400 Subject: [PATCH] greetd: set shell for agreety --- srcpkgs/greetd/patches/fix-shell.patch | 17 +++++++++++++++++ srcpkgs/greetd/template | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/greetd/patches/fix-shell.patch diff --git a/srcpkgs/greetd/patches/fix-shell.patch b/srcpkgs/greetd/patches/fix-shell.patch new file mode 100644 index 000000000000..fbe416cbed8d --- /dev/null +++ b/srcpkgs/greetd/patches/fix-shell.patch @@ -0,0 +1,17 @@ +# $SHELL is not set, use /bin/sh because it's available +diff --git a/config.toml b/config.toml +index 3768a6e..c323af2 100644 +--- a/config.toml ++++ b/config.toml +@@ -6,9 +6,9 @@ vt = 1 + # The default session, also known as the greeter. + [default_session] + +-# `agreety` is the bundled agetty/login-lookalike. You can replace `$SHELL` ++# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh` + # with whatever you want started, such as `sway`. +-command = "agreety --cmd $SHELL" ++command = "agreety --cmd /bin/sh" + + # The user to run the command as. The privileges this user must have depends + # on the greeter. A graphical greeter may for example require the user to be diff --git a/srcpkgs/greetd/template b/srcpkgs/greetd/template index cf5f3c400b0c..0f5e9c88f501 100644 --- a/srcpkgs/greetd/template +++ b/srcpkgs/greetd/template @@ -1,7 +1,7 @@ # Template file for 'greetd' pkgname=greetd version=0.8.0 -revision=1 +revision=2 build_style=cargo conf_files="/etc/greetd/config.toml" hostmakedepends="pkg-config scdoc"