greetd: set shell for agreety, change default vt
This commit is contained in:
parent
caba67c635
commit
22d695afc1
13
srcpkgs/greetd/patches/change-default-vt.patch
Normal file
13
srcpkgs/greetd/patches/change-default-vt.patch
Normal 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]
|
17
srcpkgs/greetd/patches/fix-shell.patch
Normal file
17
srcpkgs/greetd/patches/fix-shell.patch
Normal 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
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'greetd'
|
# Template file for 'greetd'
|
||||||
pkgname=greetd
|
pkgname=greetd
|
||||||
version=0.8.0
|
version=0.8.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
conf_files="/etc/greetd/config.toml"
|
conf_files="/etc/greetd/config.toml"
|
||||||
hostmakedepends="pkg-config scdoc"
|
hostmakedepends="pkg-config scdoc"
|
||||||
|
|
Loading…
Reference in a new issue