mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
wiki: add exec-shutdown (#770)
This commit is contained in:
parent
1c75fe8f08
commit
b2da42f929
1 changed files with 6 additions and 2 deletions
|
@ -26,13 +26,17 @@ three_param_keyword = A, B, # OK
|
|||
|
||||
## Executing
|
||||
|
||||
You can execute a shell script on startup of the compositor or every time
|
||||
the config is reloaded.
|
||||
You can execute a shell script on:
|
||||
- startup of the compositor
|
||||
- every time the config is reloaded.
|
||||
- shutdown of the compositor
|
||||
|
||||
`exec-once = command` will execute only on launch
|
||||
|
||||
`exec = command` will execute on each reload
|
||||
|
||||
`exec-shutdown = command` will execute only on shutdown
|
||||
|
||||
## Defining variables
|
||||
|
||||
You can define your own custom variables using a dollar sign (`$`):
|
||||
|
|
Loading…
Reference in a new issue