On 15/05/25 13:37, Gleb Popov wrote:
On Thu, May 15, 2025 at 7:04 PM Renato Botelho <ga...@freebsd.org> wrote:

before-sleep <command>
      If built with ConsoleKit2 support, executes command before
      ConsoleKit2 puts the computer to sleep.

So it seems that ConsoleKit should be used and I don't see any
mentions of it in the relevant Handbook chapter. I think plugging
"ck-launch-session" somewhere into the command line that starts the
graphical session should help.

I've started sway by using `ck-launch-session sway` and confirmed session was created by running ck-list-sessions but it didn't help.

--
Renato Botelho

Reply via email to