# greetd — autologin straight into the kiosk Sway session, no greeter UI.
# Installed to /etc/greetd/config.toml by build-touch-panel-iso.sh, which substitutes
# @KIOSK_USERNAME@ with its own KIOSK_USERNAME variable on the way in.
#
# Same shape as hosts/thin-client/configs/greetd/config.toml — see that file's comment
# for why [default_session] (not [initial_session]) is what makes autologin permanent
# and self-healing after a crash or a `swaymsg exit`.

[terminal]
vt = 1

[default_session]
command = "/usr/local/bin/kiosk-session"
user = "@KIOSK_USERNAME@"
