this method actually works universally for logout and is FreeDesktop compliant
Like i mention here in your byebye program
You should use loginctl to exit $USER sessions rather than hard killing the window manager process.
Like i mention here in your byebye program
You should use loginctl to exit $USER sessions rather than hard killing the window manager process.