[PATCH] naughty: set screen first and opacity afterwards

2009-04-11 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just noticed opacity for naughty was not working as expected. Anyway with changed order it works as suggested. However this wont fix other missbehaviours concerning composite managers like xcompmgr (no borders e.g.) - -lwi -BEGIN PGP

Re: [PATCH] naughty: set screen first and opacity afterwards

2009-04-11 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sometimes its better to attach something :F Leon Winter wrote: Hi, I just noticed opacity for naughty was not working as expected. Anyway with changed order it works as suggested. However this wont fix other missbehaviours concerning

Re: [PATCH] naughty: set screen first and opacity afterwards

2009-04-11 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this time it should be the right one Leon Winter wrote: sometimes its better to attach something :F Leon Winter wrote: Hi, I just noticed opacity for naughty was not working as expected. Anyway with changed order it works as suggested

Re: [PATCH] awful-xml-escaping.patch

2009-01-31 Thread Leon Winter
if this is too much overhead or not. Regards, Leon Winter -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmEn48ACgkQ3qn9m9SfDYcVwwCghS6zZLPMDugNh7F7PUANKiO9 lcMAoOrtOKYTjgxR/rZj52E2Gn6v5lo0 =tlaQ -END PGP

Re: [PATCH] awful-xml-escaping.patch

2009-01-31 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon Winter wrote: Julien Danjou wrote: At 1233085574 time_t, Matthew Wild wrote: The current routines for escaping XML in awful.util.[escape/unescape] are not too good, both in terms of performance and accuracy. They use multiple gsubs

[PATCH] awesomerc: open clients menu only once

2009-01-08 Thread Leon Winter
Hi, I always wondered why the clients menu (default rightclick on the tasklist) fires up a menu every time, so i could open it hundred time. I guess nobody wants that ;) Patch attached. Regards and Happy 2k9, Leon Winter From 6f0949e55468d3fb13296bcf603f4477cf3116b1 Mon Sep 17 00:00:00 2001

Re: [PATCH] awesomerc: open clients menu only once

2009-01-08 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien Danjou wrote: At 1231420035 time_t, Leon Winter wrote: I guess nobody wants that ;) Patch attached. Did you test it? Twice. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http

[Patches] naughty: fix version and announce GetServerInfo over DBUS

2008-12-19 Thread Leon Winter
in the version string anyway? Regards, Leon Winter From f024841b5fc5b96a6f3e341cb0772fcd86059fe9 Mon Sep 17 00:00:00 2001 From: Leon Winter leon.win...@informatik.uni-oldenburg.de Date: Fri, 19 Dec 2008 09:34:55 +0100 Subject: [PATCH] naughty: fix returning correct awesome version --- lib

[Patch] naughty/GetServerInfo: act according spec

2008-12-19 Thread Leon Winter
Hi, i just read the DBUS spec ( http://www.galago-project.org/specs/notification/0.4/x361.html ) and noticed my implementation is not working according to it. Patch attached. I also applied a :match(), to just return a string like 1.4; this will make gajim happy. Regards, Leon Winter From

Re: awful.menu general concept issue

2008-12-18 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julien Danjou wrote: At 1229612705 time_t, Leon Winter wrote: b) patch the C side to check for mouse-over/leave events if menus/widgets hide b) is the right solution. How about that: diff --git a/wibox.c b/wibox.c index 9c0f8b5..87e2433

Re: [PATCH] awful.menu: use bg_image instead of imagebox

2008-12-18 Thread Leon Winter
Julien Danjou wrote: At 1229325688 time_t, Leon Winter wrote: +if icon.width tonumber(data.h) then +icon = icon:crop_and_scale(0,0,icon.height,icon.width,data.h,data.h) Pictures may not be square. Patch attached. Anyway this saves us only 2 SLOC, but also the mouse

Re: [PATCH] awful.menu: use bg_image instead of imagebox

2008-12-18 Thread Leon Winter
Julien Danjou wrote: At 1229325688 time_t, Leon Winter wrote: +if icon.width tonumber(data.h) then +icon = icon:crop_and_scale(0,0,icon.height,icon.width,data.h,data.h) Pictures may not be square. Patch attached. Anyway this saves us only 2 SLOC, but also the mouse

Re: [PATCH] awful.menu: use bg_image instead of imagebox

2008-12-18 Thread Leon Winter
Julien Danjou wrote: At 1229325688 time_t, Leon Winter wrote: +if icon.width tonumber(data.h) then +icon = icon:crop_and_scale(0,0,icon.height,icon.width,data.h,data.h) Pictures may not be square. 16px on default because most icons are 16px. Regards, Leon Winter

Re: [PATCH] Fixed DBus version string

2008-12-18 Thread Leon Winter
: ✔ Yes; worst case is the glyph is hidden or displayed as unknown character. However I personally really dont care about a fancy character ;) Since awesome supports unicode (client titles etc.) the userbase probably has unicode set up. Regards, Leon Winter -BEGIN PGP SIGNATURE- Version: GnuPG

[PATCH] awful.layout.set for non active tag

2008-12-14 Thread Leon Winter
Hi, i just noticed it is not possible to set the layout for a non active tag without switching to him and change layout. Patch attached. Regards, Leon Winer From 498c0b3233badc143f1b0f677d39d871c1d5ac46 Mon Sep 17 00:00:00 2001 From: Leon Winter leon.win...@informatik.uni-oldenburg.de Date: Sun

Re: [PATCH] awful.layout.set for non active tag

2008-12-14 Thread Leon Winter
Leon Winter wrote: Hi, i just noticed it is not possible to set the layout for a non active tag without switching to him and change layout. Patch attached. Regards, Leon Winer Gregor beated me, so here is a better patch :D Regards, Leon Winter From

[PATCH] awful.menu: use bg_image instead of imagebox

2008-12-14 Thread Leon Winter
Regards, Leon Winter From 09ff8bcb1ce3b9cd00476de8875e651b15816fa6 Mon Sep 17 00:00:00 2001 From: Leon Winter leon.win...@informatik.uni-oldenburg.de Date: Sun, 14 Dec 2008 19:50:05 +0100 Subject: [PATCH] awful.menu: use bg_image instead of imagebox --- lib/awful/menu.lua.in | 27

Re: [PATCH] awful.menu: use bg_image instead of imagebox

2008-12-14 Thread Leon Winter
Leon Winter wrote: Hi, i just wondered how complicated awful.menu is designed. Since we have .bg_image we can KISS :P Patch attached ;) However there is a bug in awful.menu (and was before the patch aswell): Click on an item in the menu, then reopen the menu and point over the item

[PATCH] naughty: support for categories via mapping

2008-12-10 Thread Leon Winter
Hi, the next enhancement for naughty to support more of the dbus notification specs. Regards, Leon Winter From b2dbad702cb6b85a406dfecf9b8c2e0c6781b12a Mon Sep 17 00:00:00 2001 From: Leon Winter [EMAIL PROTECTED] Date: Wed, 10 Dec 2008 18:55:18 +0100 Subject: [PATCH] naughty: support

[PATCH] naughty: introducing urgency levels and presets

2008-11-26 Thread Leon Winter
seconds notify-send -t 2000 hey Patch is also available via: http://www.morpgnet.org/~leon/naughty_dbus_urgency_level_and_presets.patch Thanks to jd for enhancing DBUS support :) Regards, Leon Winter -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla

Re: [PATCH] naughty: introducing urgency levels and presets

2008-11-26 Thread Leon Winter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon Winter wrote: Hi, as told in IRC here is my patch for naughty. It adds urgency level (DBUS) and maps them to according presets. I also added support for the DBUS expire field. Test with: # urgency level critical notify-send -u critical

[Patch] Beautiful - Using Regex instead of helper functions

2008-11-21 Thread Leon Winter
a linebreak as first char for a valid line, the regex would ignore the very first line of the theme file. To fix this I add a newline to the string and exec the regex after that. Patch is available under: http://www.morpgnet.org/~leon/beautiful_regex.patch Regards, Leon Winter -BEGIN PGP