80 Commits

Author SHA1 Message Date
2284ab017d
chore: remove config inconsistencies 2024-09-05 21:20:09 +02:00
dbbab78e23
format: let clang-format run ._.
(won't even talk about clang-tidy)
2024-09-05 20:26:58 +02:00
7ca864f1d9
feat: add LIDM_CONF config path override 2024-09-05 17:36:56 +02:00
730e6db100
fix: grammar (codespell) 2024-09-05 17:23:18 +02:00
462d1fd337
chore: remove unnecessary pam header uses
those actually cause issues when trying to cross-compile
2024-09-05 17:14:42 +02:00
1a8aa1a14e
fix: ui bugs introduced in last commit 2024-09-04 22:07:49 +02:00
grialion
64e101eafa fix: compiler warnings
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
2024-09-04 21:15:30 +02:00
a1167f7f5f
fix: make(-Wall) warnings 2024-08-27 14:37:17 +02:00
ca95d390c2
fix: build error on x64 2024-08-20 23:56:46 +02:00
Cereal
e0a0df80c0 added a missing newline to src/auth.c 2024-08-16 03:37:04 +01:00
fe4a52ecfa
chore: chvt_str into chvt.c 2024-08-07 00:14:19 +02:00
4de2720bed
small changes 2024-08-07 00:07:44 +02:00
grialion
e745b27a68 feat(chvt): use custom implementation instead of system()
Calling system() is vulnerable and shouldn't be used.
2024-08-06 17:11:18 +02:00
9d81c9df8b
feat: better handling
* setui/setgid/etc errors are recoverable now
* fix small print_errno arguments bug
* send TERM env var to session (if present)
2024-07-26 18:17:17 +02:00
a32e4a577f
feat: add dinit support 2024-07-26 16:40:46 +02:00
844687809b
fix: missing \n (added perror too) 2024-07-26 14:25:22 +02:00
12207ee4a9
fix: keep pam session alive 2024-07-25 14:25:11 +02:00
483445007b
fix: bug (it overlaps backwards, moving items >:(, why buggy copy sometimes?) 2024-07-25 02:03:17 +02:00
468ebf769e
fix: pam env, actually usable now
if ur in dinit, don't forget about turnstiled
2024-07-25 01:54:54 +02:00
6145973cca
oopsie: woopsie 2024-07-18 21:59:13 +02:00
080966978c
fix: env stuff 2024-07-16 09:21:53 +02:00
18a00ca264
remove: hardcoded ansi sequence 2024-07-15 00:02:35 +02:00
9f024edde7
done :) 2024-07-14 22:25:22 +02:00
0955b115e6 do config :) 2024-07-14 21:44:08 +02:00
f9bfc48a9f spain's gonna win btw 🇪🇸 2024-07-14 20:21:17 +02:00
6398d1b206 navigation: wtf I'm doing 2024-07-13 16:56:34 +02:00
6b2d76c9b8 all: at this point just read readme 😭
spaghetti code
equivalent spaghetti readme
spaghetti commit (wait no, this is actually descriptive)
2024-07-13 12:19:02 +02:00
490a370546 feat: add session types 2024-07-11 00:09:29 +02:00
07d2842be0 feat: add users and sessions discovery
- also add clangd multi-file intellisense
2024-07-10 23:25:50 +02:00
4d8faa5b5f init structure 2024-07-10 16:42:25 +02:00