@linmob The nice thing about #sxmo / #swmo compared to phosh is that you can actually customize it pretty easily with hooks in your home directory.
https://git.sr.ht/~earboxer/dotfiles/commit/a3eea933d13650ee1828f6e08521d636208bb576
This makes the power button behave as expected, unless the menu is open.