Removed delay after applying machi layout
This commit is contained in:
parent
a7a3428a23
commit
e116e0249d
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user