Greetd is a minimal and flexible login manager daemon that makes no assumptions about what you want to launch.
Designates what TTY to run greetd on.
[terminal]
vt = 1
The default session is the command to run when greetd initializes. I’ll be using cage since it’s meant to run a single application, perfect for this purpose.
[default_session]
command = "cage -s -- regreet"
user = "greeter"
Regreet configuration to set my GTK theme.
[GTK]
font_name = "Cantarell 16"
theme_name = "adw-gtk3"
[commands]
reboot = [ "systemctl", "reboot" ]
poweroff = [ "systemctl", "poweroff" ]
* {
background: #<<base(i="00")>>;
color: #<<base(i="05")>>;
}
#entry {
background: #<<base(i="01")>>;
}
This allows greetd to unlock the gnome-keyring on startup.
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
auth optional pam_gnome_keyring.so
account include system-local-login
session include system-local-login
session optional pam_gnome_keyring.so auto_start