that'll teach me not to test v2

This commit is contained in:
Izaya 2022-08-25 15:16:28 +10:00
parent ae04bc4375
commit a39a14c61b
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ function navbar.new(s)
screen = s
})
function rnavbar.reflow()
rnavbar.position = landscape and "left" or "bottom",
rnavbar.height = (portrait and navbar.iconSize) or nil,
rnavbar.width = (landscape and navbar.iconSize) or nil,
rnavbar.position = landscape and "left" or "bottom"
rnavbar.height = (portrait and navbar.iconSize) or nil
rnavbar.width = (landscape and navbar.iconSize) or nil
rnavbar:setup({
layout = landscape and wibox.layout.ratio.vertical or wibox.layout.ratio.horizontal, launcher_button, switcher_button, kb_button
})