With swayidle-1.6 I'm now getting: "before-sleep not supported: swayidle was compiled with neither systemd not elogind support".
I'm guessing this isn't intentional?
I am using it and I don’t get no error. You can look at my sway config and see how mine is. https://GitHub.com/ndowens/sway_wm I am also using that version
Are you using the artix package from Galaxy, or the one from the arch 'community' (or compiled from source)?
Hmm I believe I installed galaxy
Well, I checked the sources, and this particular error message is only emitted inside an #ifdef: https://github.com/swaywm/swayidle/blob/d423eed84f5a62c6d82a7013a37810045fd35314/main.c#L464
I.e there's an issue with how the latest version of swayidle (1.6-1) in galaxy was compiled.
Funny thing for me it says both are installed galaxy and community
Pacman -Ss will tag both variants as installed. Pacman -Qi should tell you which one it really is.
I see the issue. This needs to have elogind as a make dependency. Thanks for reporting this.
Just pushed a new version to galaxy, so you should be able to get it on the next mirror sync.
Works great. Thanks for the super quick fix!