aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-07-30 10:25:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-07-30 10:36:32 +0000
commit3b8d59f4760070801e197aea1c7d6dc6392aafdf (patch)
tree00a573176a9efa4b7b8efaf2432fa4cb67599eb3
parentserver: sigusr1/2: update conf object with the "new" theme (diff)
doc: foot: document SIGUSR1/SIGUSR2
-rw-r--r--doc/foot.1.scd15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index f868c12c..2aef83ca 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -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