greetd-5.roff(5)
| greetd(5) | File Formats Manual | greetd(5) |
NAME
greetd - configuration file
DESCRIPTION
greetd uses a simple TOML configuration file to define its behavior.
CONFIGURATION
The configuration is divided into sections. Sections are delimited like so:
[section_name] config_key = value
Configuration keys can be integer literals, or quote-delimited strings. The configuration sections are described below.
terminal
This section contains terminal configuration.
vt = num|"next"|"current"
If using the current or a specific VT, you must ensure that there are no other users of that VT. If using systemd with autovt and getty, conflict avoidance can be handled in the service unit with "Conflicts=getty@ttyN.service", where N is the VT number.
Use of a specific VT with appropriate conflict avoidance is recommended.
general
This section contains general configuration that does not fit in other sections nor deserved its own section.
source_profile = true|false
default_session
This section describes the default session, also referred to as the greeter.
command = command-line
See greetd-ipc(7) for information on how a greeter can create sessions.
user = user
initial_session
This optional section describes the initial session, commonly referred to as "auto-login".
command = command-line
user = user
EXAMPLES
Regular setup with agreety and sway
[terminal] vt = 1 [default_session] command = "agreety -c sway"
Auto-login
[terminal] vt = 1 [default_session] command = "agreety -c sway" [initial_session] command = "sway" user = "john"
AUTHORS
Maintained by Kenny Levinsen <contact@kl.wtf>. For more information about greetd development, see https://git.sr.ht/~kennylevinsen/greetd.
SEE ALSO
greetd(1) greetd-ipc(7)
| 2021-03-19 |
