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

2009-09-14 Thread lukash
messing with the layouts that Gregor sent, now I'm not sure I should go on, as it seems it will be replaced soon now, and the basic layouts are working anyway.. I really need to go to sleep, hope I'm making some sense and its gonna be useful to somebody :) Cheers! lukash -- To unsubscribe

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

2009-09-15 Thread lukash
On Tue, 15 Sep 2009 00:06:19 +0200 (CEST) lukash lukk...@email.cz wrote: Lastly, if clients and widgets have common properties inherited from windows, how will these properties be handled on, for example, the icon widget in the example above, ie. in a widget inside a widget? Seems like

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

2009-09-15 Thread lukash
On Tue, 15 Sep 2009 14:34:13 +0200 (CEST) Julien Danjou jul...@danjou.info wrote: [...] Ok, I surrender :) I know I know nothing... Just keep it awesome! :) thanks lukash -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

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

2009-09-17 Thread lukash
things? If you wanna resize the client inside, you'd do it changing the layout itself. Right? lukash -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

[RFC PATCH] widget layouts rewrite + vertical

2009-09-25 Thread lukash
is only supposed to put them in a table, not care about the arguments or anything. Any comments, suggestions and improvements are welcome. Test file included, do go on and play with it a bit :D lukash From 099ec5b4342b0d1f1ac3f7088beb821661160934 Mon Sep 17 00:00:00 2001 From: Gregor Best g

Re: [RFC PATCH] widget layouts rewrite + vertical

2009-09-26 Thread lukash
of all the tables above) could be overridden by the user, because for vertical panel they obviously need to be different. But that's probably for another thread. I can do the rewrite to layouts and maybe I'll figure something out on the way. cheers lukash -- To unsubscribe, send mail to awesome

Re: [PATCH] widget layouts rewrite and consequential modifications

2009-10-05 Thread lukash
On Mon, 05 Oct 2009 17:57:10 +0200 (CEST) Julien Danjou jul...@danjou.info wrote: It is more complicated :) If you make resizing to all available space default, and put this horizontal.leftright into a vertical.topdown, horizontal.leftright would take all vertical space and nothing

Re: [PATCH] widget layouts rewrite and consequential modifications

2009-10-09 Thread lukash
for those keys and the geometries get shifted, messing up all widgets for no apparent reason and making it hard to pinpoint what has gone wrong. I can do this too, but could use some hint.. I just had a quick look and didn't find an obvious way. - Merge patch 1 and 2. Will do.. Cheers lukash

Re: [PATCH] widget layouts rewrite and consequential modifications

2009-10-10 Thread lukash
in the layouts. Any suggestions welcome :) For now, I'd go the numeric way for the layouts, while there should be some generic solution to this introduced later on, maybe in the awful rewrite, if it happens :) lukash -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] widget layouts rewrite and consequential modifications

2009-10-10 Thread lukash
On Sat, 10 Oct 2009 09:23:29 +0200 (CEST) Julien Danjou jul...@danjou.info wrote: Sounds reasonable. Ok. Don't waste your time on the C part, it's going to be killed at some point. Ok, I hope it will be soon... because it will really be a confusing bug. lukash PS: sorry for the tripple

[RFC] widget attribute unification

2009-10-11 Thread lukash
) Imagebox properties: - image Textbox properties: - text - wrap - ellipsize - bg_image \ - bg_align |- prone to be removed if layouts can replace it - bg_resize / Systray: (nothing) I can do it :) please comment... lukash PS: Also, I'm not sure about moving progressbar/graph from C to Lua

Re: how to code against awesome libs

2009-10-24 Thread lukash
running, there is awesome-client binary that allows you to pass Lua commands to awesome. cheers lukash -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: how to code against awesome libs

2009-10-24 Thread lukash
On Sat, 24 Oct 2009 12:17:43 +0200 (CEST) Gregor Best g...@intepi.net wrote: On Sat, Oct 24, 2009 at 11:57:39AM +0200, lukash wrote: On Sat, 24 Oct 2009 11:41:54 +0200 (CEST) Daniel Kreischer d.t.kreisc...@web.de wrote: As I am actually running awesome, I wonder what would be the expected

Re: how to code against awesome libs

2009-10-24 Thread lukash
in the rc.lua (conceptionally and practically (see #668)). Then you could use DBUS to send the notifications. That would have the advantage of not being dependent on awesome, every notification utility could display your notifications. @lukash: How do I put it in the action handler without

Re: how to code against awesome libs

2009-10-25 Thread lukash
on that project linked in the comments and extend it so that awesome can use it too ;) With that done, your daemon can be finished pretty quickly :) Alternatively, you can take the awesome's D-Bus implementation and make a lib of it. Have fun :) lukash -- To unsubscribe, send mail to awesome-devel

[PATCH] update naughty to new widget layouts

2009-10-26 Thread lukash
Hi, I managed to miss this in the layouts patch serie. If there is no icon in a notification, the textbox will be indexed at 2 and therefore won't work...this got me for the second time, tricky. I tried to fix this with table.insert, but for some reason it didn't work on the widgets table,

[PATCH] few formal fixes for the layouts

2009-10-27 Thread lukash
Hi, thanks to psychon and farhaven for pointing it out and helping me with this. There was one global variable in place of a local one and the hackish way of requiring the grid layout is now a bit less hackish. cheers lukashFrom 1758d829d354ab34dc96fb6eb2e6295edabc7a55 Mon Sep 17 00:00:00 2001

[PATCH] fix the width of horizontal.center, etc.

2009-10-28 Thread lukash
Hi all, this is the hopefully final fix to the horizontal.center width inside a vertical.topdown with width (in vertical, width is height :) set etc. (combinations are many, the same actually happens if you put horizontal.rightleft in there, which previous fix didn't handle). It simply always

[PATCH] taglist: use margin instead of padding tag name with spaces

2009-10-28 Thread lukash
Hi, attached patch removes needless padding of the tag name with spaces and uses textbox:margin() to set the padding of 4 so that it looks the same as before. cheers lukashFrom 1e5d7fe4278f3c73baa189d9bfa51dfaea54acb3 Mon Sep 17 00:00:00 2001 From: Lukas Hrazky lukk...@email.cz Date: Wed, 28 Oct

Re: [RFC] New wibox API (image)

2009-11-26 Thread lukash
... Is it feasible to have this on every out of 40 wiboxes though? no performance impact? Also, on the video, I can't see the red box through the green one, is it unfinished/bug or some limitation? Excellent job though! This could maybe work as a fallback to real compositing later? cheers lukash

Re: [RFC + PATCH] awful.widget: add progressbar ticks property

2010-03-22 Thread lukash
Hi, I also like ticks, ++ from me too :) And I'm still of the opinion to let the user tune the params. No algorithm would be perfect and a lot of users would end up setting their own values anyway, IMHO. Thanks! lukash On Mon, 22 Mar 2010 19:11:24 +0100 (CET) Adrian C. an...@sysphere.org

Re: [RFC] Bringing the ugly to awesome (new widget system)

2010-08-28 Thread lukash
if you could think of a better way. I can provide you my rc.lua if interested. cheers lukash [1] http://omploader.org/iNWQ3bA signature.asc Description: PGP signature

Re: [RFC] Bringing the ugly to awesome (new widget system)

2010-08-28 Thread lukash
, clear. If you don't agree, it doesn't really matter what name you give it... But it should not be a negative name as jd said. just my €200 :) lukash signature.asc Description: PGP signature

Re: [RFC] Bringing the ugly to awesome (new widget system)

2010-08-28 Thread lukash
On Sat, 28 Aug 2010 12:20:04 +0200 (CEST) Julien Danjou jul...@danjou.info wrote: On Sat, Aug 28 2010, lukash wrote: If you don't agree, it doesn't really matter what name you give it... But it should not be a negative name as jd said. `core' is potentially a bad name; we should

Re: [RFC] Bringing the ugly to awesome (new widget system)

2010-09-10 Thread lukash
On Fri, 10 Sep 2010 12:58:29 +0200 (CEST) Uli Schlachter psyc...@znc.in wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 28.08.2010 11:11, lukash wrote: [...] I can provide you my rc.lua if interested. I think I got everything working now. The diffs are ugly and undercommented

Re: [PATCH 5/8] {tag,task}list: add update_function and base_widget constructor arguments

2013-01-05 Thread lukash
On Sat, 05 Jan 2013 21:17:00 +0100 Uli Schlachter psyc...@znc.in wrote: On 05.01.2013 16:12, Lukáš Hrázký wrote: The arguments are optional, making it possible to use a custom function to create the {tag,task}list layout. The base_widget arguments can be used to override the base layout of

Re: [PATCH 4/8] wibox.layout.align: make the middle widget really centered

2013-01-05 Thread lukash
On Sat, 05 Jan 2013 21:27:13 +0100 Uli Schlachter psyc...@znc.in wrote: On 05.01.2013 16:12, Lukáš Hrázký wrote: Centers the middle widget in the align layout in the remaining space left by the widgets on the sides. [...] I'm still not really convinced by this. However, since we don't

Re: [PATCH 4/8] wibox.layout.align: make the middle widget really centered

2013-01-06 Thread lukash
On Sun, 06 Jan 2013 11:47:21 +0100 Uli Schlachter psyc...@znc.in wrote: Hi, On 05.01.2013 16:12, Lukáš Hrázký wrote: [...] diff --git a/lib/wibox/layout/align.lua.in b/lib/wibox/layout/align.lua.in index d4a9517..9c3d1bf 100644 --- a/lib/wibox/layout/align.lua.in +++

Re: [PATCH 4/8] wibox.layout.align: make the middle widget really centered

2013-01-10 Thread lukash
On Thu, 10 Jan 2013 16:59:16 +0100 Uli Schlachter psyc...@znc.in wrote: On 05.01.2013 16:12, Lukáš Hrázký wrote: Centers the middle widget in the align layout in the remaining space left by the widgets on the sides. [...] diff --git a/lib/wibox/layout/align.lua.in

Re: [PATCH 2/2] wibox.widget.textbox: return 0 height if width is 0 from fit()

2013-01-20 Thread lukash
On Sat, 19 Jan 2013 18:51:27 +0100 Uli Schlachter psyc...@znc.in wrote: On 19.01.2013 16:06, Lukáš Hrázký wrote: A hack around abusing the fact that width of a textbox is 0 when its empty, while it's height is still set according to the font. Signed-off-by: Lukáš Hrázký lukk...@email.cz

Re: [PATCH 4/8] wibox.layout.align: make the middle widget really centered

2013-03-13 Thread lukash
On Wed, 13 Mar 2013 22:32:29 +0100 Uli Schlachter psyc...@znc.in wrote: Evening, On 10.01.2013 17:28, lukash wrote: On Thu, 10 Jan 2013 16:59:16 +0100 Uli Schlachter psyc...@znc.in wrote: [...] Another ARGH: This breaks client moving via clicking on its titlebar

Re: [PATCH] Fixed an issue with wibox-layout-align

2014-01-05 Thread lukash
Hi guys, On Sun, 05 Jan 2014 14:28:14 +0100 Uli Schlachter psyc...@znc.in wrote: Hi, [...] Also, previously, the widget was centered in the space that was left over from the first and third widget and now it is centered inside of the align layout. That was my intention. It

Re: [PATCH] Fixed an issue with wibox-layout-align

2014-01-11 Thread lukash
Ok, after trying out John's rc, I definitely see there is a problem. This problem does not manifest in my rc, because it actually doesn't alternatively nest horizontal vs. vertical layouts without including a fixed one every other nesting level to set some constraints. John's patches only break

Re: [PATCH] Fixed an issue with wibox-layout-align

2014-01-11 Thread lukash
... and attachments :( On Sat, 11 Jan 2014 23:09:26 +0100 lukash lukk...@email.cz wrote: Ok, after trying out John's rc, I definitely see there is a problem. This problem does not manifest in my rc, because it actually doesn't alternatively nest horizontal vs. vertical layouts without