check outputs dpms state
This commit is contained in:
@@ -116,10 +116,7 @@ def check_tree():
|
||||
num = num_active_outputs()
|
||||
if num != common.outputs_num:
|
||||
if num < common.outputs_num:
|
||||
print("Number of outputs decreased:", num)
|
||||
restart()
|
||||
else:
|
||||
print("Number of outputs increased", num)
|
||||
print("Number of outputs changed:", num)
|
||||
Gdk.threads_add_timeout(GLib.PRIORITY_DEFAULT_IDLE, common_settings["restart-delay"], restart)
|
||||
|
||||
for item in common.taskbars_list:
|
||||
|
Reference in New Issue
Block a user