diff --git a/doc/CONFIGURATION.md b/doc/CONFIGURATION.md index 65400ac..4f754f0 100644 --- a/doc/CONFIGURATION.md +++ b/doc/CONFIGURATION.md @@ -124,10 +124,10 @@ The syntax is the following: ### Agent -| Name | Type | Description | -|-------|-----------|-----------------------------------------------------------------------------------------------------| -| `env` | Attribute | An environment variable for the command. For multiple environment variables use multiple `env` tags | -| `cmd` | Attribute | Agent command, associated with `env` tags in the same agent element | +| Name | Type | Description | +|-------|-----------|-----------------------------------------------------------------------------------------------------------------| +| `env` | Attribute | Environment variable for the command. For multiple environment variables use multiple `env` tags. | +| `cmd` | Attribute | Agent command, associated with `env` tags in the same agent element. Multiple/chained `cmd` elements supported. | ### Example: @@ -141,6 +141,8 @@ The syntax is the following: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus HOME=/home/scox gnome-screensaver-command --lock + sleep 5 + pkill -SIGSTOP -u 1000 beep-media-player --pause @@ -150,6 +152,8 @@ The syntax is the following: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus HOME=/home/scox + pkill -SIGCONT -u 1000 + sleep 5 gnome-screensaver-command --deactivate