overlay window rules and binds
This commit is contained in:
@@ -54,6 +54,17 @@ local function select_window(n)
|
||||
workspace = hl.get_active_workspace()
|
||||
end
|
||||
local windows = hl.get_windows({workspace = workspace})
|
||||
|
||||
-- fuckass language doesn't have normal for loops
|
||||
local i = 1
|
||||
while i <= #windows do
|
||||
if windows[i].pinned then
|
||||
table.remove(windows, i)
|
||||
else
|
||||
i=i+1
|
||||
end
|
||||
end
|
||||
|
||||
table.sort(
|
||||
windows,
|
||||
function (a, b)
|
||||
|
||||
Reference in New Issue
Block a user