Hello everybody,

I want to add a widget between my text clock and my bat widget.
What I have done in rc.lua :
mywibox[s].widgets = {
        {
            mylauncher,
            mytaglist[s],
            mypromptbox[s],
            layout = awful.widget.layout.horizontal.leftright
        },
            mylayoutbox[s],
            s == 1 and mysystray or nil,
            mybattery,
            batterybar,
            mytextclock,
            mytasklist[s],
            layout = awful.widget.layout.horizontal.rightleft
    }
No matter where I put "batterybar," it appears between my taglist and my
promtbox. However if I exchange "mybattery," and "mytextclock," their
position is actually switched...
What am I doing wrong ?

Thank you for your help,

Louis

Reply via email to