wiki: add exec-shutdown (#770)

This commit is contained in:
trianta 2024-09-07 14:54:46 -05:00 committed by GitHub
parent 1c75fe8f08
commit b2da42f929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,13 +26,17 @@ three_param_keyword = A, B, # OK
## Executing ## Executing
You can execute a shell script on startup of the compositor or every time You can execute a shell script on:
the config is reloaded. - startup of the compositor
- every time the config is reloaded.
- shutdown of the compositor
`exec-once = command` will execute only on launch `exec-once = command` will execute only on launch
`exec = command` will execute on each reload `exec = command` will execute on each reload
`exec-shutdown = command` will execute only on shutdown
## Defining variables ## Defining variables
You can define your own custom variables using a dollar sign (`$`): You can define your own custom variables using a dollar sign (`$`):