Add an option :opt:command_on_bell to run an arbitrary command when a bell occurs

Fixes #1660
This commit is contained in:
Kovid Goyal
2019-05-29 09:42:52 +05:30
parent ca2c419c9b
commit 4e9dabfb25
4 changed files with 37 additions and 11 deletions
+3
View File
@@ -513,6 +513,9 @@ o('bell_on_tab', True, long_text=_('''
Show a bell symbol on the tab if a bell occurs in one of the windows in the
tab and the window is not the currently focused window'''))
o('command_on_bell', 'none', option_type=to_cmdline, long_text=_('''
Program to run when a bell occurs.
'''))
# }}}
g('window') # {{{