mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-24 18:07:01 +00:00
More conf docs
This commit is contained in:
parent
f7fe59dfbe
commit
0070e0a58a
2 changed files with 20 additions and 4 deletions
|
|
@ -315,7 +315,6 @@ type_map = {
|
|||
'window_margin_width': positive_float,
|
||||
'tab_bar_margin_width': positive_float,
|
||||
'window_padding_width': positive_float,
|
||||
'visual_bell_duration': positive_float,
|
||||
'enable_audio_bell': to_bool,
|
||||
'enabled_layouts': to_layout_names,
|
||||
'remember_window_size': to_bool,
|
||||
|
|
|
|||
|
|
@ -93,12 +93,10 @@ o, g, all_groups = option_func(all_options, {
|
|||
],
|
||||
|
||||
'cursor': [_('Cursor customization'), ],
|
||||
|
||||
'scrollback': [_('Scrollback'), ],
|
||||
|
||||
'mouse': [_('Mouse'), ],
|
||||
|
||||
'performance': [_('Performance tuning')],
|
||||
'bell': [_('Terminal bell')],
|
||||
})
|
||||
type_map = {o.name: o.option_type for o in all_options.values()}
|
||||
# }}}
|
||||
|
|
@ -267,3 +265,22 @@ very high speed mouse/high keyboard repeat rate, you may notice some slight inpu
|
|||
If so, set this to no.'''))
|
||||
|
||||
# }}}
|
||||
|
||||
g('bell') # {{{
|
||||
|
||||
o('enable_audio_bell', True, long_text=_('''
|
||||
Enable/disable the audio bell. Useful in environments that require silence.'''))
|
||||
|
||||
o('visual_bell_duration', 0.0, option_type=positive_float, long_text=_('''
|
||||
Visual bell duration. Flash the screen when a bell occurs for the specified number of
|
||||
seconds. Set to zero to disable.'''))
|
||||
|
||||
o('window_alert_on_bell', True, long_text=_('''
|
||||
Request window attention on bell.
|
||||
Makes the dock icon bounce on macOS or the taskbar flash on linux.'''))
|
||||
|
||||
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'''))
|
||||
|
||||
# }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue