You need declare a layout first befor using it:
local right_layout = wibox.layout.fixed.horizontal() --init an layout
with wibox widget
local layout = wibox.layout.align.horizontal() --init another layout
laout:set_right(right_layout)
On 2014年12月05日 06:42, Mohsen Pahlevanzadeh wrote:
Dear all,
Hello,
According to this page:
https://awesome.naquadah.org/wiki/Change_keyboard_maps ,
I add the following line to my rc.lua :
---------------------------------------
-- Add widget to your layout
right_layout:add(kbdcfg.widget)
--------------------------------------------
But i get the following errr:
--------------------------------------
attemp to index global right_layout(a nil value)
------------------------------------
I have awesome 3.5
Regards
Mohsen
-- To unsubscribe, send mail to [email protected].