mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
server/client: add support for sending SIGUSR to footclient
This patch adds the IPC infrastructure necessary to propagate SIGUSR1/SIGUSR2 from a footclient process to the server process. By targeting a particular footclient instance, only that particular instance changes theme. This is different from when targeting the server process, where all instances change theme. Closes #2156
This commit is contained in:
parent
70d99a8051
commit
b13a8f12d2
6 changed files with 151 additions and 12 deletions
|
|
@ -694,14 +694,14 @@ variables to unset may be defined in *foot.ini*(5).
|
|||
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)-
|
||||
- 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.
|
||||
You can also send SIGUSR1/SIGUSR2 to a footclient instance, see
|
||||
*footclient*(1) for details.
|
||||
|
||||
|
||||
# BUGS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue