Run command on occurrence of a event.
(submodule) or (list of (attribute set)) convertible to it
{ }
{ "before-sleep" = "${pkgs.swaylock}/bin/swaylock -fF"; "lock" = "lock"; }