doc: foot.ini: notifications are inhibited while we’re focused

Closes #328
This commit is contained in:
Daniel Eklöf 2021-02-14 11:22:07 +01:00
parent 689a4cc741
commit d92d0a60d0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -202,8 +202,9 @@ in this order:
_Note_: expect this feature to be *replaced* with proper
compositor urgency support once/if that gets implemented.
When set to *notify*, foot will emit a desktop notification (see
the *notify* option).
When set to *notify*, foot will emit a desktop notification using
the command specified in the *notify* option, but only if the foot
window does *not* have keyboard focus.
When set to *none*, no special action is taken when receiving *BEL*.
@ -222,11 +223,14 @@ in this order:
Command to execute to display a notification. _${title}_ and
_${body}_ will be replaced with the notification's actual _title_
and _body_ (message content).
Applications can trigger notifications in the following ways:
- OSC 777: *\\e]777;notify;<title>;<body>\\e\\\\*
Notifications are *inhibited* if the foot window has keyboard
focus.
Default: _notify-send -a foot -i foot ${title} ${body}_.
*url-launch*