swayidle 1.6 - no "before-sleep" support 05 February 2020, 12:03:14 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?
Re: swayidle 1.6 - no "before-sleep" support Reply #1 – 05 February 2020, 13:15:01 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
Re: swayidle 1.6 - no "before-sleep" support Reply #2 – 05 February 2020, 13:31:01 Are you using the artix package from Galaxy, or the one from the arch 'community' (or compiled from source)?
Re: swayidle 1.6 - no "before-sleep" support Reply #3 – 05 February 2020, 16:53:45 Quote from: dnkl – on 05 February 2020, 13:31:01Are you using the artix package from Galaxy, or the one from the arch 'community' (or compiled from source)?Hmm I believe I installed galaxy
Re: swayidle 1.6 - no "before-sleep" support Reply #4 – 05 February 2020, 17:04:17 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#L464I.e there's an issue with how the latest version of swayidle (1.6-1) in galaxy was compiled.
Re: swayidle 1.6 - no "before-sleep" support Reply #5 – 05 February 2020, 17:10:22 Funny thing for me it says both are installed galaxy and community Quote from: dnkl – on 05 February 2020, 17:04:17Well, I checked the sources, and this particular error message is only emitted inside an #ifdef: https://github.com/swaywm/swayidle/blob/d423eed84f5a62c6d82a7013a37810045fd35314/main.c#L464I.e there's an issue with how the latest version of swayidle (1.6-1) in galaxy was compiled.
Re: swayidle 1.6 - no "before-sleep" support Reply #6 – 05 February 2020, 17:27:50 Pacman -Ss will tag both variants as installed. Pacman -Qi should tell you which one it really is.
Re: swayidle 1.6 - no "before-sleep" support Reply #7 – 05 February 2020, 17:48:34 I see the issue. This needs to have elogind as a make dependency. Thanks for reporting this. Last Edit: 05 February 2020, 17:54:18 by Dudemanguy
Re: swayidle 1.6 - no "before-sleep" support Reply #8 – 05 February 2020, 17:54:55 Quote from: Dudemanguy – on 05 February 2020, 17:48:34I see the issue. This needs to have elogind as a make dependency. Thanks for reporting this.Great! Thanks!
Re: swayidle 1.6 - no "before-sleep" support Reply #9 – 05 February 2020, 18:05:33 Just pushed a new version to galaxy, so you should be able to get it on the next mirror sync.
Re: swayidle 1.6 - no "before-sleep" support Reply #10 – 06 February 2020, 09:13:24 Works great. Thanks for the super quick fix!