2017-04-05 72 views
0

我wan't使在左側面板自動隱藏:真棒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) 

面板是可見的,但是當我進入鼠標將無法正常工作自動隱藏。

回答

0

我添加height參數的定義和現在的作品:

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