#!/bin/sh
# regreet-session.sh — greetd session command: run ReGreet inside a cage kiosk.
#
# greetd runs this as the unprivileged `greeter` user. cage is a minimal
# wlroots/Wayland compositor; `-s` allows VT switching (so Ctrl+Alt+F-keys still
# reach a console). Env here tunes the greeter's look before ReGreet starts.
#
# Scaling: cage renders at output scale 1. Bump XCURSOR_SIZE for a larger cursor;
# uncomment GDK_SCALE to integer-scale the whole greeter (careful on mixed-DPI
# multi-monitor — it scales every output). Prefer regreet.toml's font_name for
# finer control.

export XCURSOR_SIZE=32
# export GDK_SCALE=2

exec cage -s -- regreet
