javalsai
0b2d0bdf03
fixes: improve login environment handling ( #114 )
...
* 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 >
2026-02-07 17:12:03 +01:00
javalsai
7e7a297e2e
feat: support Xorg & better auth logic ( #80 )
...
Co-authored-by: grialion <48643945+grialion@users.noreply.github.com >
2026-01-19 21:17:45 +01:00
creations
a7a1f42f0a
feat: add support for fido yubikeys ( #89 )
...
* 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 >
2025-12-13 21:37:58 +01:00
grialion
b3c8d3cbea
feat: exec parser for desktop entries ( #78 )
...
Feature-rich Exec= parser implementation for .desktop files
* backslash stripping (e.g '\ ' -> ' ')
* percentage stripping (e.g '%u' -> '', '%%' -> '%')
* quote string handling (e.g 'arg1 "arg 2"' -> "arg1", "arg 2")
The current implementation strips all "percentage codes", instead
of handling them.
Argument count is limited at 100.
---------
Co-authored-by: javalsai <jvssxxi@gmail.com >
2025-08-26 21:19:25 +02:00
javalsai
8f0213db74
misc batch of fixes before v1.2.3 ( #65 )
...
* 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
2025-07-20 21:50:12 +02:00
Ar1gin
8fc6bff60f
fix: hostname truncation ( #63 )
...
Co-authored-by: javalsai <javalsai@proton.me >
2025-07-16 14:19:58 +02:00
grialion
3f264a66b9
fix(util.h): use standard system header
...
Use standard sys/time.h instead of libc specific header bits/types/... for musl compatibility
2025-07-09 23:07:32 +02:00
javalsai
689c962cc9
fix: necessary code changes for nix configurability
2025-07-06 05:13:09 +02:00
javalsai
65bbb7d1b4
Merge branch 'master' into update_rate
2025-07-04 19:33:43 +02:00
javalsai
5f7e412408
Merge branch 'master' into feat-help-version-menu
2025-07-04 19:25:59 +02:00
javalsai
3fb74ece44
style: indent preprocessor directives
2025-07-04 15:23:22 +02:00
javalsai
19a1355b06
dev: automatic version.h generation
...
also added compiler information as a feature
2025-07-04 15:22:22 +02:00
javalsai
9c022c5813
feat(cfg): add ellipsis to config
2025-07-04 04:48:20 +02:00
javalsai
ba836e5cd4
feat: add refresh_rate option for clock
2025-07-04 03:30:29 +02:00
javalsai
9f905622a2
chore: dry and modularize a bit
2025-07-04 01:43:32 +02:00
grialion
afd23657c0
feat: help, version menu
2025-07-04 00:15:14 +02:00
javalsai
bceb13b844
feat: save user and session as strings
2025-06-29 18:50:35 +02:00
rmntgx
f0e962ad50
fix: create directory
2025-06-29 11:51:42 +05:00
rmntgx
16d1325f96
style: formatting and linter satisfaction
2025-06-29 10:56:31 +05:00
rmntgx
4a83e5d825
feature: saving previous selection
2025-06-29 10:20:00 +05:00
javalsai
cd1f44ec41
feat: support custom format dates
2025-06-21 03:10:29 +02:00
javalsai
938166366f
lint: fix code for clang-tidy
2025-06-21 01:29:43 +02:00
javalsai
6d30e889d5
fix: language & format
2025-06-21 00:54:36 +02:00
javalsai
e7ef64cd16
feat: ithnk full utf8 support & ui 100% consistent
2025-06-21 00:52:30 +02:00
javalsai
787b412005
feat: utf8 support & partial ui.c refactor
2025-06-20 21:31:49 +02:00
javalsai
5174f0b2bf
feat: modernize config
...
- 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)
2025-06-13 14:05:19 +02:00
javalsai
7db89e973d
debug: add a logging module
2025-06-11 16:47:16 +02:00
javalsai
cbb3aa3910
dev: remove strcln in favor of strdup
2025-06-11 16:17:00 +02:00
javalsai
2bdb57390d
lint: satisfy some nullability annotations
2025-06-11 14:40:21 +02:00
javalsai
bb1ca09fd8
lint(format): change format rules a bit
2025-06-10 23:44:40 +02:00
javalsai
22c3f7c896
feat|perf: generic&efficient desktop&config parser
2025-06-10 23:44:09 +02:00
javalsai
a846c1b4c9
lint(tidy): some clang-tidy work
2025-06-10 23:32:55 +02:00
javalsai
7d76687833
lint: apply new style
2025-06-06 20:46:55 +02:00
javalsai
d6a348c543
Merge branch 'master' into code-formatting
2025-06-06 20:44:39 +02:00
javalsai
04a102a7bb
perf: better and efficient vec impl
2025-06-06 19:39:44 +02:00
rmntgx
0b02a2cef2
format: satisfy linter
2025-05-17 21:56:27 +00:00
javalsai
f34a71195e
chore: use size_t for indexing and iterating
2024-12-25 20:22:28 +01:00
javalsai
e13a8ff79c
fix: #includes 👀
2024-12-25 20:16:25 +01:00
javalsai
4c7d221a17
dev: use #includes according to error's concerns
2024-12-25 20:00:09 +01:00
javalsai
0ba5519937
feat: add behavior.{source,user_source} for custom env
2024-12-25 19:25:09 +01:00
javalsai
d30d5a8884
grammar 👍
2024-10-19 17:52:33 +02:00
javalsai
a0b68491ba
chore: implement vectors
...
also seems to address several of these:
https://github.com/javalsai/lidm/issues/3#issuecomment-2423933131
not sure about the issue itself, might be permission stuff
2024-10-19 17:50:50 +02:00
javalsai
01ddd62852
chore: make specific vector (heap stack) impl
2024-10-18 21:54:39 +02:00
javalsai
2284ab017d
chore: remove config inconsistencies
2024-09-05 21:20:09 +02:00
javalsai
dbbab78e23
format: let clang-format run ._.
...
(won't even talk about clang-tidy)
2024-09-05 20:26:58 +02:00
javalsai
fe4a52ecfa
chore: chvt_str into chvt.c
2024-08-07 00:14:19 +02:00
javalsai
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
javalsai
9f024edde7
done :)
2024-07-14 22:25:22 +02:00
javalsai
0955b115e6
do config :)
2024-07-14 21:44:08 +02:00