Re: set a floating client to be always on top

2009-10-01 Thread Javier Barroso
On Thu, Oct 1, 2009 at 11:40 PM, James Pearson wrote: > On Fri, Sep 11, 2009 at 1:42 AM, Javier Barroso > wrote: >> >> I'm having trouble with sticky propierty. >> >> I probe with 2 different configs (awful.client.sticky.set (c,..)) y >> c.sticky=true : >> $ diff -C3  /etc/xdg/awesome/rc.lua .con

Re: set a floating client to be always on top

2009-10-01 Thread James Pearson
On Fri, Sep 11, 2009 at 1:42 AM, Javier Barroso wrote: > I'm having trouble with sticky propierty. > > I probe with 2 different configs (awful.client.sticky.set (c,..)) y > c.sticky=true : > $ diff -C3 /etc/xdg/awesome/rc.lua .config/awesome/rc.lua > *** /etc/xdg/awesome/rc.lua 2009-05-18 11:

Re: set a floating client to be always on top

2009-09-11 Thread Javier Barroso
Hi, On Thu, Sep 10, 2009 at 3:11 PM, Rob wrote: > Near your floatapps table, put another one in, like this: > > topapps = { >    "xterm" = true > } > > Then in your client manage hook mabobby: > > if topapps[cls] or topapps[inst] then >     c.ontop = true > end > (assuming you have inst = c.insta

Re: set a floating client to be always on top

2009-09-10 Thread Adrian C.
On Thu, 10 Sep 2009, James Pearson wrote: Of course, this puts _all_ floating apps always-on-top (if I'm understanding it correctly). My initial thought is that I'd like to retain the ability to make any app floating, ontop, stickied, or any combination thereof. I had a simpler piece of code

Re: set a floating client to be always on top

2009-09-10 Thread James Pearson
On Thu, Sep 10, 2009 at 3:22 PM, Adrian C. wrote: > On Thu, 10 Sep 2009, James Pearson wrote: > > So, I pretty much copy+pasted the part of the hook that deals with >> floating apps: >> >> if stickiedapps[cls] ~= nil then >>> >> > This seems overly complicated introducing a new table and all

Re: set a floating client to be always on top

2009-09-10 Thread Adrian C.
On Thu, 10 Sep 2009, James Pearson wrote: So, I pretty much copy+pasted the part of the hook that deals with floating apps: if stickiedapps[cls] ~= nil then This seems overly complicated introducing a new table and all... and in addition you have to take care of the awful.client.floati

Re: set a floating client to be always on top

2009-09-10 Thread James Pearson
On Wed, Sep 9, 2009 at 11:04 PM, saiddy wrote: > > there is a "always on top" button on the title bar.push it. > I don't have titlebars... On Thu, Sep 10, 2009 at 6:11 AM, Rob wrote: > Near your floatapps table, put another one in, like this: > > topapps = { >"xterm" = true > } > > Then in

Re: set a floating client to be always on top

2009-09-10 Thread Rob
Near your floatapps table, put another one in, like this: topapps = { "xterm" = true } Then in your client manage hook mabobby: if topapps[cls] or topapps[inst] then c.ontop = true end (assuming you have inst = c.instance and cls = c.class) This checks to see if the client's class or inst

set a floating client to be always on top

2009-09-09 Thread James Pearson
Is this possible in awesome, currently? I didn't see anything on it from looking around (although awesome's name makes it damn difficult to search), and I couldn't think of an easy way to script it. -- James Pearson -- The best way to predict the future is to invent it. - Alan Kay