updated several things, added keybinds, working on workspace rules for

large monitors
This commit is contained in:
venus
2026-06-24 18:40:53 -05:00
parent bff9e48dfe
commit 95db385700
5 changed files with 62 additions and 19 deletions

29
monitors.lua Normal file
View File

@@ -0,0 +1,29 @@
-- -- Define the workspace rules table
-- local workspace_rules = {}
-- -- Forcing workspaces 1 through 5 to use the master layout on the ultrawide
-- for w = 1, 5 do
-- table.insert(workspace_rules, string.format("%d, monitor:DP-1, layout:master", w))
-- end
-- -- Keeping the global default layout for these workspaces on the secondary screen
-- for w = 6, 10 do
-- table.insert(workspace_rules, string.format("%d, monitor:HDMI-A-1", w))
-- end
-- -- Inject them into your config wrapper
-- hl.config({
-- workspace = workspace_rules
-- })
-- Initialize the workspace array inside the config table if it doesn't exist
hl.config.workspace = hl.config.workspace or {}
-- Forcing workspaces 1 through 5 to use the master layout on the ultrawide
for w = 1, 5 do
table.insert(hl.config.workspace, string.format("%d, monitor:DP-1, layout:master", w))
end
-- Keeping the global default layout for these workspaces on the secondary screen
for w = 6, 10 do
table.insert(hl.config.workspace, string.format("%d, monitor:HDMI-A-1", w))
end