local M = {} M.list = { { key = "1", id = "1", name = "web" }, { key = "2", id = "2", name = "code" }, { key = "3", id = "3", name = "term" }, { key = "4", id = "4", name = "chat" }, { key = "5", id = "5", name = "media" }, { key = "9", id = "9", name = "misc" }, } for _, ws in ipairs(M.list) do hl.workspace_rule({ workspace = ws.id, monitor = "LVDS-1" }) end hl.workspace_rule({ workspace = "1", default = true }) hl.workspace_rule({ workspace = "special:scratch", on_created_empty = "wezterm start --always-new-process" }) hl.workspace_rule({ workspace = "w[tv1]s[false]", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "f[1]s[false]", gaps_out = 0, gaps_in = 0 }) return M