令人敬畏的wm面板自动隐藏将无法正常工作

时间:2017-04-05 19:41:42

标签: awesome-wm

我不想在左侧制作面板自动隐藏:

s.lbox = awful.wibar({ position = "left", screen = s, width = 2, type = "desktop", visible = true })
s.lbox:setup {
        layout = wibox.layout.fixed.vertical,

        {
            layout = wibox.layout.fixed.vertical,
            launcher01,
            launcher02,
            launcher03,
            launcher04,
            launcher05,
            launcher06,
            launcher07,
            launcher08,
            launcher09,
            launcher10,
        }
    }

   s.lbox:connect_signal("mouse::enter", function(w) 
        w:geometry({ width = 32 })
    end)

面板可见但在我输入鼠标时无法自动隐藏。

1 个答案:

答案 0 :(得分:0)

我已将height参数添加到定义中,现在可以正常运行:

s.lbox = awful.wibar({ position = "left", screen = s, width = 2, height = 760, type = "desktop", visible = true })