You are not logged in.
Hi guys,
I'm running a Arch with an Awesome 3.5.9 and i'm trying to include some
widgets. But nothing is gonna be working.
What I did:
1. Installed Awesome and Vicious with pacman
2. logged in as a normal user not as root, I created my rc.lua in my
home folder with cp /etc/xdg/awesome/rc.lua ~/.config/awesome/
3. at the top of my rc.lua I added
vicious = require("vicious")
4. If I start easy I have now to add for a date textbox:
-- Initialize widget
datewidget = wibox.widget.textbox()
-- Register widget
vicious.register(datewidget, vicious.widgets.date, "%b %d, %R",
60)
But then what? Where do I have to add it in my rc.lua exactly? There are
some Tutorials saying that I have to tell awesome where it has tu put
it, which color,... But they are not giving details about it.
I got my informations from here:
https://awesomewm.org/wiki/Vicious
Offline
If you look in the default rc.lua, there's a textclock widget already coded. Put your widget code there. Further down, the widgets are placed in the "wibox" (widget box, I guess).
The awesome wiki also has a page with some sample configuration files that you can essentially copy: https://awesomewm.org/wiki/User_Configuration_Files.
Offline
If you look in the default rc.lua, there's a textclock widget already coded. Put your widget code there.
Should I place it there, or replace it with the default textclock?
Offline