You are not logged in.

#1 2012-03-30 20:46:44

ioos
Member
Registered: 2011-01-25
Posts: 125

[SOLVED] Awesome WM 3.4 - How to use two panels? (top and bottom)

I'm having trouble understanding the lua configuration. I've looked through the awesome wiki and searched the Arch forums, but I still can't figure it out. For now, I'm just trying to move my task list to the bottom of the screen, while leaving the top panel pretty much stock. Does that mean that I need to create a second wibox? How do I add that to the same screen? (I only have one.)

Here's my current rc.lua:  http://pastebin.com/Yrk2Ze2R

I appreciate any guidance.

Last edited by ioos (2012-04-01 00:20:11)

Offline

#2 2012-03-30 23:49:01

intrntbrn
Member
From: Germany
Registered: 2011-12-01
Posts: 66

Re: [SOLVED] Awesome WM 3.4 - How to use two panels? (top and bottom)

is that awesome-git ? i would recommend using the non git version, because the syntax changed and nearly every tutorial doesnt work.

// init wiboxes

mywibox = {}
mywiboxbottom = {}

// create and add example widgets (you shouldnt use the same names, like u did)

    -- top wibox
    mywibox[s] = awful.wibox({ position = "top", screen = s })
    
        mywibox[s].widgets = {
            {
            mylauncher,
            mytaglist[s],
	    spacer,
            randomwidget,
	    randomicon,
            layout = awful.widget.layout.horizontal.leftright,
            },
	    mylayoutbox[s],
            mytextclock,			
            s == 1 or nil,
            layout = awful.widget.layout.horizontal.rightleft		         
    }


    -- bottom wibox
    mywiboxbottom[s] = awful.wibox({ position = "bottom", screen = s})
    
    
    mywiboxbottom[s].widgets = {
	-- s == 1 and mysystray or nil,
	mysystray,
        mytasklist[s],
        
        layout = awful.widget.layout.horizontal.rightleft
        
    }

Last edited by intrntbrn (2012-03-30 23:49:27)

Offline

#3 2012-04-01 00:19:38

ioos
Member
Registered: 2011-01-25
Posts: 125

Re: [SOLVED] Awesome WM 3.4 - How to use two panels? (top and bottom)

Thanks! That's exactly what I needed. I didn't realize how different the git version was. I've switched to the standard install and successfully implemented your changes.

Offline

#4 2013-08-05 10:35:20

molni
Member
From: Slovakia
Registered: 2007-06-19
Posts: 12

Re: [SOLVED] Awesome WM 3.4 - How to use two panels? (top and bottom)

I have a problem with this in version 3.5 (3.5 code differ from 3.4)

Ok, It's just working now, can't paste code here but maybe later.

Last edited by molni (2013-08-05 12:31:23)

Offline

Board footer

Powered by FluxBB