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:
Daniel Eklöf 2025-07-31 17:37:19 +02:00
parent 70d99a8051
commit b13a8f12d2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 151 additions and 12 deletions

View file

@ -74,6 +74,10 @@
* Sending SIGUSR1/SIGUSR2 to a `foot --server` process now causes
newly spawned client instances to use the selected theme, instead of
the original one.
* SIGUSR1/SIGUSR2 can now be sent to `footclient` processes, to change
the theme of that particular instance ([#2156][2156]).
[2156]: https://codeberg.org/dnkl/foot/issues/2156
### Deprecated