Trying to figure out Enpass
This commit is contained in:
@@ -48,6 +48,9 @@ local function setup_monitors()
|
|||||||
if hl.get_workspaces()[j].id > 0 and monitor_count == 2 then
|
if hl.get_workspaces()[j].id > 0 and monitor_count == 2 then
|
||||||
hl.dispatch(hl.dsp.focus({ workspace = "name:Home_" .. j }))
|
hl.dispatch(hl.dsp.focus({ workspace = "name:Home_" .. j }))
|
||||||
end
|
end
|
||||||
|
for k, window in pairs(hl.get_windows({ workspace = j })) do
|
||||||
|
hl.dispatch(hl.dsp.window.move({ window = window, workspace = "name:Home_1", follow = true }))
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user