* chore(organization): allow nested header and c files
* feat: add shell login "middleware" & etc:
* lidm now calls `bash` (or other shells, depends on PACKAGE cfg) in
login mode as a session wrapper to source most env (can be disabled)
* this fixes a lot of env problems with all `/etc/profile` and more
Extra:
* implemented a musl compatible version of `execvpe` and now lidm should
search for PATH everywhere it needs to
* `search_path` now also checks if the found binary is properly
executable
* lidm now uses `confstr` for a decent PATH default if none is found
* logs are unbuffered for cases where debug logs appear empty (exit
without handlers moment)
* chore: one-time evaluate certain makefile vars
---------
Co-authored-by: grialion <48643945+grialion@users.noreply.github.com>
* add support for fido keybind
* add to themes
* fix clang format
* Update ui.c
* docs: add misc stuff about the yubikey
---------
Co-authored-by: javalsai <jvssxxi@gmail.com>
Instead of restricting the length of the hostname field to the size of
the column, the hostname is allowed to utilize all space that is not
taken up by the time string.
Co-authored-by: Darius Kellermann <kellermann@pm.me>
* fix some formatter and linter issues
* make clang-tidy/clang-format fail with error status and output in github error format
* docs, add kmscon thing
* and some CI stuff
- config now is more toml like
- no need to declare all fields, it implements defaults
- no yanderedev code, introspection babbyyy 😎
- desktop and config files parser semi-unification
- misc tweaks all over (mainly allocation failures handling)
Fix compiler warnings by
- replacing raw write() calls with printf()
- error checking chdir()
- printing '\x1b[H\x1b[J' instead of calling system(clear)
- using sys/reboot.h to power off and reboot instead of using system