You are not logged in.
Hi,
Ive installed Awesome-git and vicious-git, and i have my rc.lua nice, but adding wigets causes it to crash.
heres my current rc.lua http://pastebin.com/Q3xRmrr1
adding this:
-- Initialize widget
batwidget = widget({ type = "textbox" })
-- Register widget
vicious.register(batwidget, vicious.widgets.bat, "$2", 61, "BAT0")
--------------------------------
-- Widgets that are aligned to the right
local right_layout = wibox.layout.fixed.horizontal()
if s == 1 then right_layout:add(wibox.widget.systray()) end
right_layout:add(batwidget)
right_layout:add(mytextclock)
right_layout:add(mylayoutbox[s])
i get an error about
attempt to call global 'widget' (a nil value)
Any ideas?
Offline
There is no widget(). You want wibox.widget.textbox(). I remember you from IRC, if you use -git you must accept responsability for things like this.
You need to install an RTFM interface.
Offline