repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
hypr/modules/workspaces.lua
Rawlocal 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" },
}
for _, ws in ipairs(M.list) do
hl.workspace_rule({ workspace = ws.id, monitor = "LVDS-1" })
end
hl.workspace_rule({ workspace = "2", layout = "scrolling", layout_opts = { direction = "right" } })
hl.workspace_rule({ workspace = "3", layout = "scrolling", layout_opts = { direction = "right" } })
return M