Merge 1648ab53d0
into b0b624705e
This commit is contained in:
commit
8f8691f461
|
@ -194,9 +194,9 @@ def on_start_break(break_obj):
|
||||||
if utility.DESKTOP_ENVIRONMENT == 'gnome':
|
if utility.DESKTOP_ENVIRONMENT == 'gnome':
|
||||||
skip_break = is_idle_inhibited_gnome()
|
skip_break = is_idle_inhibited_gnome()
|
||||||
else:
|
else:
|
||||||
skip_break = is_active_window_skipped_wayland(True)
|
skip_break = is_active_window_skipped_wayland(False)
|
||||||
else:
|
else:
|
||||||
skip_break = is_active_window_skipped_xorg(True)
|
skip_break = is_active_window_skipped_xorg(False)
|
||||||
if dnd_while_on_battery and not skip_break:
|
if dnd_while_on_battery and not skip_break:
|
||||||
skip_break = is_on_battery()
|
skip_break = is_on_battery()
|
||||||
return skip_break
|
return skip_break
|
||||||
|
|
Loading…
Reference in New Issue