updated several things, added keybinds, working on workspace rules for
large monitors
This commit is contained in:
29
monitors.lua
Normal file
29
monitors.lua
Normal 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
|
||||
Reference in New Issue
Block a user