local M = {} function M.layout_bind(bind_table) return function () local ws = hl.get_active_special_workspace() or hl.get_active_workspace() if not ws then return end local dsp_fun = bind_table[ws.tiled_layout] or bind_table['default'] if dsp_fun then hl.dispatch(dsp_fun) end end end return M