mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 14:35:58 +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
|
## 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 (`$`):
|
||||||
|
|
Loading…
Reference in a new issue