From: Amin Bandali Date: Mon, 17 Sep 2018 15:37:44 +0000 (-0400) Subject: [rc/sway] bind XF86PowerOff to prompt for system exit action X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/11a97c6847ba346367987bae67c28ea3613c595a?ds=sidebyside;hp=11a97c6847ba346367987bae67c28ea3613c595a [rc/sway] bind XF86PowerOff to prompt for system exit action - (l)ock - (e)xit sway - (s)uspend - (h)ibernate - (r)eboot - (S)hutdown need to inhibit systemd's handling of the power button using systemd-inhibit (or alternatively and less elegantly by modifying /etc/systemd/logind.conf, which i didn't want to do) ---