material-shell/material-awesome

how to remove the top-panel to bottom

Closed this issue · 1 comments

i can not find like (string : Either “left”, right", “top” or “bottom”)string = "top"

It's because the top bar is positioned with coordinates !

in layout/top-panel.lua

local panel =
    wibox(
    {
      ontop = true,
      screen = s,
      height = dpi(48),
      width = s.geometry.width - offsetx,
      x = s.geometry.x + offsetx,
      y = s.geometry.y,
      stretch = false,
      bg = beautiful.background.hue_800,
      fg = beautiful.fg_normal,
      struts = {
        top = dpi(48)
      }
    }
  )

You want to change the y = s.geometry.y to something like y = s.geometry.y + s.geometry.height - dpi(48)