doc: foot: document SIGUSR1/SIGUSR2

This commit is contained in:
Daniel Eklöf 2025-07-30 12:25:13 +02:00
parent 6eedc88d70
commit 3b8d59f476
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -689,6 +689,21 @@ variables may be defined in *foot.ini*(5).
In addition to the variables listed above, custom environment
variables to unset may be defined in *foot.ini*(5).
# Signals
The following signals have special meaning in foot:
- SIGUSR1: switch to color theme 1 (i.e. use the *[colors]* section).
- SIGUSR2: switch to color theme 2 (i.e. use the *[colors2]* section)-
Note: you can send SIGUSR1/SIGUSR2 to a *foot --server* process too,
in which case all client instances will switch theme. Furthermore, all
future client instances will also use the selected theme.
Sending SIGUSR1/SIGUSR2 to a footclient instance is currently not
supported.
# BUGS
Please report bugs to https://codeberg.org/dnkl/foot/issues