Arch Linux
Prerequisites
Section titled “Prerequisites”Install system dependencies:
pacman -S greetd cage corepackyay -S aylurs-gtk-shell1. Scaffold a new project
Section titled “1. Scaffold a new project”pnpm dlx @myxogastria0808/create-tadaima my-greeter --platform archcd my-greeterThis generates:
my-greeter/ .gitignore .oxfmtrc.json .oxlintrc.json LICENSE package.json scripts/ build.sh types.sh src/ app.tsx global.css components/ Greeter.tsx style.scss2. Set up dependencies and type definitions
Section titled “2. Set up dependencies and type definitions”pnpm run setupThis runs pnpm install (installs @myxogastria0808/tadaima from npm) and generates AGS type definitions.
3. Customize the UI
Section titled “3. Customize the UI”Edit src/components/Greeter.tsx to design your login screen. The generated template includes a minimal login form with Catppuccin Mocha styling.
For a step-by-step guide on using the @myxogastria0808/tadaima API, see Usage.
4. Build
Section titled “4. Build”pnpm run buildThis runs ags bundle src/app.tsx greeter and produces a greeter executable in the project root.
5. Install the greeter binary
Section titled “5. Install the greeter binary”Copy the built binary to a system-accessible location:
sudo cp ./greeter /usr/local/bin/my-greeter6. Configure greetd
Section titled “6. Configure greetd”Edit /etc/greetd/config.toml:
[terminal]vt = 1
[default_session]command = "dbus-run-session cage -s -d -- /usr/local/bin/my-greeter"user = "greeter"7. Create cache directory and enable greetd
Section titled “7. Create cache directory and enable greetd”sudo mkdir -p /var/cache/tadaimasudo chown greeter:greeter /var/cache/tadaimasudo systemctl enable greetdReboot and you should see your greeter on the login screen.