diff --git a/lib/layout-machi/editor.lua b/lib/layout-machi/editor.lua index 8dc1fac..64b431b 100644 --- a/lib/layout-machi/editor.lua +++ b/lib/layout-machi/editor.lua @@ -541,15 +541,8 @@ function module.create(data) if to_apply then layout.machi_set_cmd(get_final_cmd(), tag) awful.layout.arrange(screen) - gears.timer{ - timeout = 1, - autostart = true, - singleshot = true, - callback = cleanup, - } - else - cleanup() end + cleanup() end end)