From b2da42f929323fd9cc1b3f1f36100899aebc4320 Mon Sep 17 00:00:00 2001 From: trianta <56975502+Trimutex@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:54:46 -0500 Subject: [PATCH] wiki: add exec-shutdown (#770) --- pages/Configuring/Keywords.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/Configuring/Keywords.md b/pages/Configuring/Keywords.md index 4be9830..db73b4d 100644 --- a/pages/Configuring/Keywords.md +++ b/pages/Configuring/Keywords.md @@ -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 (`$`):