Add --exit and --reconfigure

This commit is contained in:
Johan Malm 2022-10-06 21:54:49 +01:00 committed by Consolatis
parent 8c139e4185
commit 3e1a800c14
2 changed files with 38 additions and 1 deletions

View file

@ -24,6 +24,10 @@ kill -s <signal> $LABWC_PID
killall -s <signal> labwc
```
Each running instance of labwc sets the environment variable `LABWC_PID` to
its PID. This is useful for sending signals to a specific instance and is what
the `--exit` and `--reconfigure` options use.
# OPTIONS
*-c, --config* <config-file>
@ -35,9 +39,15 @@ killall -s <signal> labwc
*-d, --debug*
Enable full logging, including debug information
*-e, --exit*
Exit the compositor
*-h, --help*
Show help message and quit
*-r, --reconfigure*
Reload the compositor configuration
*-s, --startup* <command>
Run command on startup