local M = {} M.list = { { key = "1", name = "web" }, { key = "2", name = "code" }, { key = "3", name = "term" }, { key = "4", name = "chat" }, { key = "5", name = "media" }, { key = "9", name = "misc" }, { key = "0", name = "scratch" }, } for _, ws in ipairs(M.list) do hl.workspace_rule({ workspace = "name:" .. ws.name, monitor = "LVDS-1" }) end hl.workspace_rule({ workspace = "name:web", 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