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.
* Adding a way to use the start-hyprland wrapper when it's needed from Hyprland 0.53 it's recommended because offers more security if happens a fail
* Deleting unnecessary things and doing verifications
* fix pre-commit
* Changing to not depend on hyprctl to obtain version and avoid posible problems
---------
Co-authored-by: bbedward <bbedward@gmail.com>
* Adding a way to use the start-hyprland wrapper when it's needed from Hyprland 0.53 it's recommended because offers more security if happens a fail
* Deleting unnecessary things and doing verifications
* fix pre-commit
---------
Co-authored-by: bbedward <bbedward@gmail.com>
* ci: change to prek for pre-commit
* refactor: fix shellcheck warnings for the scripts
* chore: unify whitespace formatting
* nix: add prek to dev shell