Add a timeout: delay_exit_on_zero_displays
Outputs may disappear momentarily and come back later. To prevent i3 from exit when no output is available momentarily, add a timeout delay_exit_on_zero_displays.
This commit is contained in:
@ -203,6 +203,10 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
|
||||
if (config.workspace_urgency_timer == 0)
|
||||
config.workspace_urgency_timer = 0.5;
|
||||
|
||||
/* Set default zero displays exit delay to 500ms */
|
||||
if (config.zero_disp_exit_timer_ms == 0)
|
||||
config.zero_disp_exit_timer_ms = 500;
|
||||
|
||||
parse_configuration(override_configpath, true);
|
||||
|
||||
if (reload) {
|
||||
|
Reference in New Issue
Block a user