Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function tiling.goToLayout(name)
end

function tiling.toggleFloat(floatfn)
local win = window:focusedWindow()
local win = window.focusedWindow()
local id = win:id()
excluded[id] = not excluded[id]

Expand Down Expand Up @@ -60,7 +60,7 @@ end
function tiling.cycle(direction)
local space = getSpace()
local windows = space.windows
local win = window:focusedWindow() or windows[1]
local win = window.focusedWindow() or windows[1]
local direction = direction or 1
local currentIndex = fnutils.indexOf(windows, win)
local layout = space.layout
Expand All @@ -86,7 +86,7 @@ end
function tiling.promote()
local space = getSpace()
local windows = space.windows
local win = window:focusedWindow() or windows[1]
local win = window.focusedWindow() or windows[1]
local i = fnutils.indexOf(windows, win)
if not i then return end

Expand Down