[rc/sway] bind XF86PowerOff to prompt for system exit action
authorAmin Bandali <amin@gnu.org>
Mon, 17 Sep 2018 15:37:44 +0000 (11:37 -0400)
committerAmin Bandali <amin@gnu.org>
Mon, 17 Sep 2018 15:37:44 +0000 (11:37 -0400)
commit11a97c6847ba346367987bae67c28ea3613c595a
tree672c7e40f7b007743ec4ae3673c5ad701aa09072
parent058cb2c7d3c91c41a76b4c20b71d4551db5b2653
[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)
rc.org