That's my configuration. I suppose it can be useful. -------------------- ~/.i3/config -------------------- # power-mode mode "power" { bindsym s exec sudo /usr/sbin/pm-suspend bindsym h exec sudo /usr/sbin/pm-hibernate
# back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } ------------------------------------------------------ -------------------- /etc/sudoers -------------------- %sudo ALL=(ALL:ALL) ALL, NOPASSWD: /usr/sbin/pm-hibernate -------------------- /etc/sudoers --------------------
pgp_9lMUH9l7t.pgp
Description: PGP signature