mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-04 12:52:06 -04:00
This will optionally include one or two files into the Niri conf for dms-greeter: - `/usr/share/greetd/niri_overrides.kdl` (for building into a system image) - `/etc/greetd/niri_overrides.kdl` (for local overrides) This enables a distro or a system administrator to easily add their own customizations to the dms-greeter Niri configuration. Note: Niri next includes https://github.com/YaLTeR/niri/pull/3022 which can make this a whole lot simpler: we're testing for the existence of files and optionally adding `include` lines within the dms-greeter shell script, but in the future it will be possible to simply use `include optional=true` which we can just append unconditionally. Lastly, I deduplicated the line that spawns the actual greeter by appending that unconditionally at the end.