Removed delay after applying machi layout
This commit is contained in:
		@@ -541,15 +541,8 @@ function module.create(data)
 | 
				
			|||||||
                            if to_apply then
 | 
					                            if to_apply then
 | 
				
			||||||
                                layout.machi_set_cmd(get_final_cmd(), tag)
 | 
					                                layout.machi_set_cmd(get_final_cmd(), tag)
 | 
				
			||||||
                                awful.layout.arrange(screen)
 | 
					                                awful.layout.arrange(screen)
 | 
				
			||||||
                                gears.timer{
 | 
					 | 
				
			||||||
                                    timeout = 1,
 | 
					 | 
				
			||||||
                                    autostart = true,
 | 
					 | 
				
			||||||
                                    singleshot = true,
 | 
					 | 
				
			||||||
                                    callback = cleanup,
 | 
					 | 
				
			||||||
                                }
 | 
					 | 
				
			||||||
                            else
 | 
					 | 
				
			||||||
                                cleanup()
 | 
					 | 
				
			||||||
                            end
 | 
					                            end
 | 
				
			||||||
 | 
					                            cleanup()
 | 
				
			||||||
                        end
 | 
					                        end
 | 
				
			||||||
                end)
 | 
					                end)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user