greetd: set shell for agreety, change default vt

This commit is contained in:
cinerea0 2022-04-11 10:01:49 -04:00 committed by Echo
parent caba67c635
commit 22d695afc1
3 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,13 @@
diff --git a/config.toml b/config.toml
index 3768a6e315..2a933309b4 100644
--- a/config.toml
+++ b/config.toml
@@ -1,7 +1,7 @@
[terminal]
# The VT to run the greeter on. Can be "next", "current" or a number
# designating the VT.
-vt = 1
+vt = 7
# The default session, also known as the greeter.
[default_session]

View file

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

View file

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