You are not logged in.
I am migrating to Awesome WM.
I've tried different ways to use vicious with no success.
Relevant lines in rc.lua
require("vicious")
...
...
datewidget = widget({ type = "imagebox"})
vicious.register(datewidget, vicious.widgets.date, "%b %d, %R", 60)
...
...
mywibox[s].widgets = {
{
archicon,
mytaglist[s],
mypromptbox[s],
layout = awful.widget.layout.horizontal.leftright
},
datewidget,
mylayoutbox[s],
s == 1 and mysystray or nil,
mytasklist[s],
layout = awful.widget.layout.horizontal.rightleft
}This causes Awesome to fall back in default config.
Offline
Did you try running awesome -k to check for syntax errors?
Offline
Err, vicious.widgets.date returns text - you should have 'datewidget = widget({ type = "textbox"})
Offline
Did you try running awesome -k to check for syntax errors?
I'll try and post the results, thanks.
Offline
Err, vicious.widgets.date returns text - you should have 'datewidget = widget({ type = "textbox"})
Sorry indeed it was "textbox" I misstyped.
For example I have:
uptimewidget = widget({ type = "textbox" })
vicious.register(uptimewidget, vicious.widgets.uptime, "$2:$3", 61)I tried awesome -k and it says I have no error in syntax. The only way I have for awesome to read my rc.lua fine is comment those lines.
Offline
I am migrating to Awesome WM.
I've tried different ways to use vicious with no success.
require("vicious")
You installed vicious from git, not a stable release. It was ported to Lua 5.2 a few days ago, and you want to do as the README says:
local vicious = require("vicious")
You need to install an RTFM interface.
Offline
I am migrating to Awesome WM.
I've tried different ways to use vicious with no success.
require("vicious")You installed vicious from git, not a stable release. It was ported to Lua 5.2 a few days ago, and you want to do as the README says:
local vicious = require("vicious")
Thank you, that solved the problem.
Offline