moonarch/defaults/etc/greetd/niri-greeter.kdl
nevaforget 0a266510e0 i18n: migrate all German text to English
Enforce the repo convention that committed text is English.
Translates ABOUTME headers, code comments, log/error messages,
shell prompts, and documentation across all files.
CLAUDE.md files remain in German per policy.
2026-03-28 14:53:23 +01:00

60 lines
950 B
Plaintext

// 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
}