coastalwhite / lemurs

A customizable TUI display/login manager written in Rust 🐒
Apache License 2.0
652 stars 26 forks source link

$XAUTHORITY pointing to non existing file #204

Open h-leth opened 3 weeks ago

h-leth commented 3 weeks ago

XAUTHORITY is pointing to $HOME/.config/.Xauthority which is non existing, atleast for me running Xmonad and Plasma under X11.

https://github.com/coastalwhite/lemurs/blob/9bc429735c2b5284c68cecb6e9789a4eabf3a83a/src/post_login/env_variables.rs#L89

https://github.com/coastalwhite/lemurs/blob/9bc429735c2b5284c68cecb6e9789a4eabf3a83a/src/post_login/x.rs#L86-L91

There is a section about xorg-xauth on the Arch Wiki that has some infomation

Had some issue with the environment variable not being correct trying to enable locking my system using systemd sleep hook.

I've open a pull request, if this seems right