You are not logged in.

#1 2012-05-20 19:58:28

xhc
Member
Registered: 2012-02-01
Posts: 113

awesome wm - panel always beyond the window- how?

windows can hide panel ... how to make it always beyond to the window?

Last edited by xhc (2012-05-24 09:07:49)


#Awesome window manager

Offline

#2 2012-05-20 21:03:59

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: awesome wm - panel always beyond the window- how?

Do you have a screenshot you can share?

Offline

#3 2012-05-21 01:07:16

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: awesome wm - panel always beyond the window- how?

1. Set the ontop property of the wibox to true
http://awesome.naquadah.org/doc/api/mod … html#wibox

2. Uncomment awful.placement.no_offscreen in your manage singal handler
http://awesome.naquadah.org/doc/api/mod … _offscreen

3. Salute the sun
http://www.silverblades-suitcase.com/da … _green.jpg

Last edited by anrxc (2012-05-21 01:10:52)


You need to install an RTFM interface.

Offline

#4 2012-05-21 07:40:37

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: awesome wm - panel always beyond the window- how?

1. I made it by editing rc.lua:

-- Create the wibox
    mywibox[s] = awful.wibox({ position = "top", ontop = true, screen = s })

2. u think this? I have this deafult, but u think making windows no possible to move them behind corners of screen?

client.add_signal("manage", function (c, startup)
    -- Add a titlebar
    -- awful.titlebar.add(c, { modkey = modkey })

    -- Enable sloppy focus
    c:add_signal("mouse::enter", function(c)
        if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
            and awful.client.focus.filter(c) then
            client.focus = c
        end
    end)

    if not startup then
        -- Set the windows at the slave,
        -- i.e. put it at the end of others instead of setting it master.
        -- awful.client.setslave(c)

        -- Put windows in a smart way, only if they does not set an initial position.
        if not c.size_hints.user_position and not c.size_hints.program_position then
            awful.placement.no_overlap(c)
            awful.placement.no_offscreen(c)
        end
    end
end)

3. I already saluted to Ré


#Awesome window manager

Offline

#5 2012-05-23 20:28:00

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: awesome wm - panel always beyond the window- how?

making windows no possible to move them behind corners of screen?

Newly opened floating windows will not be placed over the wibox. In your case with wibox.ontop they would
be placed below the wibox, making it even worse.


You need to install an RTFM interface.

Offline

#6 2012-05-23 20:33:40

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: awesome wm - panel always beyond the window- how?

hmm .. newly opened floating windows are placed under the wibox... it will be better beyond the wibox ... now are windows hide by wibox...


#Awesome window manager

Offline

Board footer

Powered by FluxBB