This commit is contained in:
2026-08-17 19:41:51 +01:00
parent 8ce68821bc
commit 524d024e7a
3 changed files with 42 additions and 27 deletions
+15 -1
View File
@@ -86,7 +86,21 @@ hl.on('monitor.focused', function()
return
end
local layout = workspace.tiled_layout
local monitor = hl.get_active_monitor()
if monitor.description == 'BOE NE160QDM-NZ6' then
hl.workspace_rule { workspace = 'name:' .. tostring(workspace.name), layout = 'monocle' }
end
end)
hl.on('config.reloaded', function()
local workspace = hl.get_active_workspace()
if hl.get_active_special_workspace() then
workspace = hl.get_active_special_workspace()
end
if not workspace then
return
end
local monitor = hl.get_active_monitor()