Re: Awful rewrite

2009-11-26 Thread Cedric GESTES
On Thursday, November 26, 2009, Julien Danjou wrote: > At 1259273372 time_t, lukash wrote: >> We agreed on a class inheritance system that will allow the user to >> make his own classes inheriting from whatever he wants >> (textbox/imagebox/graph/tag/...) with the base model being something >> lik

Re: [PATCH] rules: placement and geometry

2009-09-15 Thread Cedric GESTES
n Danjou wrote: > At 1252937539 time_t, Cedric GESTES wrote: >> placement.get_percentage(value, min, max) ? > > And probably a set_geometry_percentage also? :) > > -- > Julien Danjou > // ᐰ   http://julien.danjou.info > // 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2F

Re: [PATCH] runorraise

2009-09-14 Thread Cedric GESTES
On Mon, Sep 14, 2009 at 12:06 PM, Julien Danjou wrote: > At 1252812066 time_t, Cedric GESTES wrote: > > I like the concept of "run or raise", but your implementation. It seems > there's too much duplicate with awful.rules. > > I guess this should be just a functi

Re: [PATCH] rules: placement and geometry

2009-09-14 Thread Cedric GESTES
On Mon, Sep 14, 2009 at 12:02 PM, Julien Danjou wrote: > At 1252848226 time_t, Cedric GESTES wrote: >> Would a awful.util.get_abs_or_percent(value, min, max) be nice? > > Sounds rather vague. > > Most of the awful.placement function can act on wiboxes too since they > al

Re: Plan E (was: [RFC] Titlebar code)

2009-09-14 Thread Cedric GESTES
This will allow a maximum of flexibility. We can regroup two or more clients into a wibox and arrange it with a layout, this is simple sublayout. Titlebar can be heavily customised. This solution seems very flexible to me. I love it :-) On Mon, Sep 14, 2009 at 3:48 PM, Julien Danjou wrote: > At

Re: [PATCH] rules: placement and geometry

2009-09-13 Thread Cedric GESTES
On Sun, Sep 13, 2009 at 2:46 PM, Julien Danjou wrote: > At 1252789547 time_t, Cedric GESTES wrote: >> Geometry can be set using percent. >> Placement can be called > > Well 2 things, 2 patches would have been better. :) > >> +--- Apply a gemetry property on a cli

Re: [PATCH] placement: centerx and centery

2009-09-13 Thread Cedric GESTES
On Sun, Sep 13, 2009 at 2:40 PM, Julien Danjou wrote: > At 1252789300 time_t, Cedric GESTES wrote: >> this add two new placement : centerx and centery > > What about center_{vertical,horizontal}? > Sounds more human. yes > > -- > Julien Danjou > // ᐰ   http://jul

Re: [PATCH] runorraise

2009-09-12 Thread Cedric GESTES
litle fixes. this patch replace the previous one On Sun, Sep 13, 2009 at 3:36 AM, Cedric GESTES wrote: > This module spawn application launched once then raise them. > awful.runorraise can apply a set of property on the spawned > application. > My inspiration for this module came f

Re: [PATCH] rules: placement and geometry

2009-09-12 Thread Cedric GESTES
amended patch including the fix of 0002-awful.rules-apply-positioning-after-sizing.patch This set the x and y properties after the width and height properties On Sat, Sep 12, 2009 at 11:05 PM, Cedric GESTES wrote: > Geometry can be set using percent. > Placement can be called

[PATCH] runorraise

2009-09-12 Thread Cedric GESTES
1f6a28ca12f74393f2bb9eb54379f27255b6dd33 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Sun, 13 Sep 2009 03:28:01 +0200 Subject: [PATCH] runorraise: import awful.runorraise. This module allow application to be launched once then raised. A set of property can be specified to apply on the spawned client Signed-off-by

[PATCH] rules: placement and geometry

2009-09-12 Thread Cedric GESTES
Geometry can be set using percent. Placement can be called From 0f3e6c70bbe61da481769f705e230f7b7f2c703b Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Sat, 12 Sep 2009 22:54:19 +0200 Subject: [PATCH] rules: rework for placement and geometry Signed-off-by: Cedric GESTES --- lib/awful

[PATCH] placement: centerx and centery

2009-09-12 Thread Cedric GESTES
this add two new placement : centerx and centery From 23ead20e647adaef33c86510577f4a40c382cbb6 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Sat, 12 Sep 2009 20:14:26 +0200 Subject: [PATCH] placement: import centerx and centery Signed-off-by: Cedric GESTES --- lib/awful/placement.lua.in

Re: Freedesktop menu

2009-09-08 Thread Cedric GESTES
On Tue, Sep 8, 2009 at 5:18 PM, Antonio Terceiro wrote: > Hello, > > Olivier Guéry escreveu isso aí: >> Hello, >> >> As an absolutly non-dev user (I’m physiotherapist… but more than 10 >> years linux user) I’m realy pleased to see project like obvious, >> shifty, doc and other to come around awesom

[PATCH] rules: define geometry properties

2009-09-07 Thread Cedric GESTES
rules: define geometry properties From b7f1a7479698565c6d61842c051c2d32e8f6d852 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Mon, 7 Sep 2009 17:18:21 +0200 Subject: [PATCH] rules: define geometry properties Signed-off-by: Cedric GESTES --- lib/awful/rules.lua.in |5 + 1 files

Re: [RFC] Titlebar code

2009-09-07 Thread Cedric GESTES
2 thinks I would like in awesome related to this. - empty clientwidget : this will allow to create tag with a fixed layout, and could allow to focus empty tag on another screen. (handling two screen without mouse is not trivial atm and require tweak and tricks here and there) - real tab: with the

Re: float and ontop windows can’t get focus

2009-09-04 Thread Cedric GESTES
do you tried the very last git version (after 1df4f1c6) ? because there was a bug with some rules matching when they dont have too. your rule works here. On Fri, Sep 4, 2009 at 3:19 PM, Olivier Guéry wrote: > Hello, > > I put this rule in my rc.lua : > > { rule = { class = "MPlayer" }, >      pr

[PATCH] fix titlebar

2009-09-04 Thread Cedric GESTES
sorry, fix a bug introduced with the customwidget. From a7848134a7f5fe945796f35ec497aedfe9070a98 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Fri, 4 Sep 2009 14:39:53 +0200 Subject: [PATCH] titlebar: fix title and appicon position in the layout Signed-off-by: Cedric GESTES --- lib/awful

Re: [PATCH] small fix for floating

2009-09-04 Thread Cedric GESTES
On Fri, Sep 4, 2009 at 1:47 PM, Julien Danjou wrote: > At 1252064589 time_t, Cedric GESTES wrote: >> A better solution is to check for nil in geometry? > > Yes. > > -- > Julien Danjou > // ᐰ   http://julien.danjou.info > // 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C

Re: [PATCH] small fix for floating

2009-09-04 Thread Cedric GESTES
tring "c:geometry(42)"]:1: bad argument #1 to 'geometry' (table expected, got number) W: awesome: luaA_dofunction:108: error while running function A better solution is to check for nil in geometry? On Fri, Sep 4, 2009 at 1:39 PM, Uli Schlachter wrote: > -BEGIN PGP SIGNE

Re: [PATCH] small fix for floating

2009-09-04 Thread Cedric GESTES
set before floating --awful.client.property.set(c, "floating_geometry", c:geometry()) awful.client.floating.set(c, true) end end) end) On Fri, Sep 4, 2009 at 1:34 PM, Julien Danjou wrote: > At 1252007132 time_t, Cedric GESTES wrote: >> dont set the

Re: tab and tablist widget

2009-09-03 Thread Cedric GESTES
with more than one widget is a tabbed frame the clientwidget is the #FS542 widget. This will allow fixed layout, proper titlebar, and first class tab support. what do you think about that? On Thu, Sep 3, 2009 at 8:06 PM, Cedric GESTES wrote: > I'am thinking about a frame client. A fra

[PATCH] small fix for floating

2009-09-03 Thread Cedric GESTES
dont set the geometry of a floating windows when the geometry is empty From 7e808dd0620a374a10248adc12a4070cf9c64602 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Thu, 3 Sep 2009 21:40:33 +0200 Subject: [PATCH] awful.client: dont set geometry on floating when geo is nil Signed-off-by

Re: tab and tablist widget

2009-09-03 Thread Cedric GESTES
ea? Do you have idea how to do that properly or maybe you already have secret plan? On Thu, Sep 3, 2009 at 1:45 PM, Cedric GESTES wrote: > Here is a git repository with my last work: > > http://gitorious.org/awesome/awesome/commits/master > > > > > here is the list

[PATCH] titlebar with customwidget

2009-09-03 Thread Cedric GESTES
support a simple widget parameter when creating a titlebar that allow user to put customs widgets in the titlebar. From f4ecaa16c8d30a58709f79824d0c05171e5fb2a4 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Thu, 3 Sep 2009 19:37:59 +0200 Subject: [PATCH] titlebar: add support for a custom

[PATCH] rules: dont match client without a property

2009-09-03 Thread Cedric GESTES
0:00:00 2001 From: Cedric GESTES Date: Thu, 3 Sep 2009 19:21:59 +0200 Subject: [PATCH] rules: if a client has not the property we search: dont match Signed-off-by: Cedric GESTES --- lib/awful/rules.lua.in |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/awful

tab and tablist widget

2009-09-03 Thread Cedric GESTES
Here is a git repository with my last work: http://gitorious.org/awesome/awesome/commits/master here is the list of patch and what they do: titlebar[experimental]: support a new tab button : not finished at the moment, intrusive and all... nevermind titlebar: add support for a custom widget

Re: Tablist widget integration

2009-08-31 Thread Cedric GESTES
it seems simple now and it works! thanks On Mon, Aug 31, 2009 at 6:00 PM, Julien Danjou wrote: > At 1251732588 time_t, Cedric GESTES wrote: >> I wonder how to get the titlebar code to specify the client it is >> linked with to the tablist_update function? >> The titlebar.upd

Tablist widget integration

2009-08-31 Thread Cedric GESTES
tablist_update function? The titlebar.update function have the information I need. thanks here is an experimental not usable tablist.lua (just for example): --- -- @author Cedric GESTES <cta...@gmail.com> -- @copyright 2009 Cedric

[PATCH] tab support

2009-08-27 Thread Cedric GESTES
Sep 17 00:00:00 2001 From: Cedric GESTES Date: Fri, 28 Aug 2009 03:20:35 +0200 Subject: [PATCH] tabulous : fixed, improved and imported again Signed-off-by: Cedric GESTES --- lib/tabulous.lua.in | 384 +++ 1 files changed, 384 insertions(+), 0

Re: [PATCH] rules: switch to a tag after setting a client in a tag

2009-08-27 Thread Cedric GESTES
I added missing html tag in the doc too, and corrected the rules for firefox :-) I hope it's ok now. You are right gmail is a 80 columns extremist, not a tools for bad coders! On Thu, Aug 27, 2009 at 12:11 PM, Julien Danjou wrote: > At 1251367785 time_t, Cedric GESTES wrote: >>

Re: [PATCH] rules: switch to a tag after setting a client in a tag

2009-08-27 Thread Cedric GESTES
where should i put the doc? On Thu, Aug 27, 2009 at 11:07 AM, Julien Danjou wrote: > Hi Cedric, > > At 1251308013 time_t, Cedric GESTES wrote: >> diff --git a/lib/awful/rules.lua.in b/lib/awful/rules.lua.in >> index 0591c25..0b066cf 100644 >> --- a/lib/awful/rule

[PATCH] update tasklist when a client is hidden

2009-08-26 Thread Cedric GESTES
>From 1f0dbb4389aec2c5b1e7416ed90ba8f83965eff4 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Wed, 26 Aug 2009 22:03:47 +0200 Subject: [PATCH] tasklist: update tasklist when a client is hidden Signed-off-by: Cedric GESTES --- lib/awful/widget/tasklist.lua.in |1 + 1 files changed

[PATCH] rules: switch to a tag after setting a client in a tag

2009-08-26 Thread Cedric GESTES
>From 654070df8c7f0a41395d34951db763f0b0e6fddd Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Wed, 26 Aug 2009 19:21:03 +0200 Subject: [PATCH] rules: add a switchtotag rule to select the tag after setting it for a client Signed-off-by: Cedric GESTES --- lib/awful/rules.lua.in |3 +++

[PATCH] rules: accept rule if regexp is ok or value is equal

2009-08-26 Thread Cedric GESTES
correct problem matching expression with - or special regexp character >From 5e23bcda4193af06010c36942c371563d7c432f1 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Wed, 26 Aug 2009 17:48:23 +0200 Subject: [PATCH] rules.lua : accept rule if regexp is ok or value is equal Signed-off