aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-10-07 17:42:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-10-07 17:42:06 +0000
commit3d1fa4bcc37f0dbb6aa537b5a93876b26ce41d58 (patch)
tree6d3a2e71373f4b09e8b8a867f674410c7018f5a0 /doc
parentMerge branch 'mouse-modifiers-regression' (diff)
parentnotify: add the notify-focus-inhibit config option (diff)
Merge branch 'notify-focus-inhibit'
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 6bc93cc4..26116d62 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -279,11 +279,17 @@ in this order:
- OSC 777: *\\e]777;notify;<title>;<body>\\e\\\\*
- Notifications are *inhibited* if the foot window has keyboard
- focus.
+ By default, notifications are *inhibited* if the foot window
+ has keyboard focus. See _notify-focus-inhibit_.
Default: _notify-send -a ${app-id} -i ${app-id} ${title} ${body}_.
+*notify-focus-inhibit*
+ Boolean. If enabled, foot will not display notifications if the
+ terminal window has keyboard focus.
+
+ Default: _yes_
+
*selection-target*
Clipboard target to automatically copy selected text to. One of
*none*, *primary*, *clipboard* or *both*. Default: _primary_.
@@ -316,8 +322,10 @@ in this order:
*notify*
When set to _yes_, foot will emit a desktop notification using
the command specified in the *notify* option whenever *BEL* is
- received and the window does *not* have keyboard focus. Default:
- _no_
+ received. By default, bell notifications are shown only when the
+ window does *not* have keyboard focus. See _notify-focus-inhibit_.
+
+ Default: _no_
*command*
When set, foot will execute this command when *BEL* is received.