【问题标题】:Awesome wm panel autohide won't work很棒的 wm 面板自动隐藏不起作用
【发布时间】:2017-04-07 16:45:31
【问题描述】:

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

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)

面板是可见的,但当我输入鼠标时不会自动隐藏。

【问题讨论】:

    标签: awesome-wm


    【解决方案1】:

    我已将height 参数添加到定义中,现在可以使用:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多