that'll teach me not to test v2
This commit is contained in:
parent
ae04bc4375
commit
a39a14c61b
6
init.lua
6
init.lua
@ -45,9 +45,9 @@ function navbar.new(s)
|
|||||||
screen = s
|
screen = s
|
||||||
})
|
})
|
||||||
function rnavbar.reflow()
|
function rnavbar.reflow()
|
||||||
rnavbar.position = landscape and "left" or "bottom",
|
rnavbar.position = landscape and "left" or "bottom"
|
||||||
rnavbar.height = (portrait and navbar.iconSize) or nil,
|
rnavbar.height = (portrait and navbar.iconSize) or nil
|
||||||
rnavbar.width = (landscape and navbar.iconSize) or nil,
|
rnavbar.width = (landscape and navbar.iconSize) or nil
|
||||||
rnavbar:setup({
|
rnavbar:setup({
|
||||||
layout = landscape and wibox.layout.ratio.vertical or wibox.layout.ratio.horizontal, launcher_button, switcher_button, kb_button
|
layout = landscape and wibox.layout.ratio.vertical or wibox.layout.ratio.horizontal, launcher_button, switcher_button, kb_button
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user