mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 06:15:03 +02:00
oopsie: woopsie
This commit is contained in:
parent
080966978c
commit
6145973cca
@ -87,7 +87,7 @@ This is also GPLv3 bcs I was too lazy to look for the "do anything I don't care"
|
||||
# Contributors
|
||||
Special thanks to:
|
||||
* ChatGPT, in times of slow laptops where pages take ages to load, a single tab connected to a bunch of burning cloud GPUs feeding corporate hype is all you need to get quick answers for your questions, as long as you know how to filter AI crap ofc.
|
||||
* My lack of gf, can't imagine this project being possible if somebody actually cared about me daily.
|
||||
* [My lack of gf](https://www.instagram.com/reel/C8sa3Gltmtq/?igsh=NO_ZUCKERBERG__FUCK_OFF_YOUR_FINGERPRINGTING_QUERY__OBVIOUSLY_STANDS_FOR_INSTAGRAM_SHARE_ID_FFS), can't imagine this project being possible if somebody actually cared about me daily.
|
||||
|
||||
# Milestones
|
||||
* If this ~~video~~ **repo** gets to 100 ~~likes~~ **stars**, I'll make an arch aur package and properly document installation on multiple init systems.
|
||||
|
@ -79,7 +79,7 @@ void moarEnv(char* user, struct session session, struct passwd *pw) {
|
||||
setenv("XDG_SESSION_TYPE", xdg_session_type, true);
|
||||
|
||||
char* buf;
|
||||
size_t bsize = snprintf(NULL, 0, "/run/user/%d", pw->pw_uid);
|
||||
size_t bsize = snprintf(NULL, 0, "/run/user/%d", pw->pw_uid) + 1;
|
||||
buf = malloc(bsize);
|
||||
snprintf(buf, bsize, "/run/user/%d", pw->pw_uid);
|
||||
setenv("XDG_RUNTIME_DIR", buf, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user