// ABOUTME: Niri configuration for the Moongreet login greeter. // ABOUTME: Started by greetd — minimal config without keybinds for security. input { keyboard { xkb { layout "de" } numlock } touchpad { tap natural-scroll } mouse { accel-profile "flat" } } cursor { xcursor-theme "Sweet-cursors" } layout { gaps 0 focus-ring { off } border { off } } // Start moongreet and quit niri once moongreet exits. // Retry loop ensures niri shuts down even on early moongreet crashes. spawn-sh-at-startup "moongreet; while ! niri msg action quit --skip-confirmation 2>/dev/null; do sleep 0.5; done" // Maximize greeter window window-rule { open-maximized true } hotkey-overlay { skip-at-startup } prefer-no-csd animations { off } binds { // No keybinds — prevents access to terminals or other actions }