Re: [RFC][PATCH] Assorted layouts and widget stuff

2013-01-02 Thread Arvydas Sidorenko
> local fixed = require("wibox.layout.fixed") >From the second patch this unused local should be removed. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] menubar: Handle .desktop files with multiple sections

2012-12-01 Thread Arvydas Sidorenko
> Thanks, merged. Should this be enough to fix FS#1057 or am I missing anything? Yes, it does fix the reported issue. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] menubar: Handle .desktop files with multiple sections

2012-12-01 Thread Arvydas Sidorenko
> I am trying to read and understand the specification. If I understand this > correctly, then a "Desktop Entry" group is required and this is what we are > really interested in. The only other kind of group that I have found are > "Actions" which e.g. is "Play/Pause/Previous/..." in the case of to

Re: [PATCH] Lua 5.1 compatible gmatch

2012-12-01 Thread Arvydas Sidorenko
> Why don't we just always use gmatch then? Shouldn't that work in both 5.1 and > 5.2? No need for distinguishing between the different versions here. Indeed. A new patch attached. 0001-Renamed-string.gfind-to-string.gmatch.patch Description: Binary data

[PATCH] Lua 5.1 compatible gmatch

2012-11-30 Thread Arvydas Sidorenko
Lua 5.1: string.gfind renamed to string.gmatch Lua 5.2: string.gfind removed Signed-off-by: Arvydas Sidorenko --- lib/menubar/utils.lua.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/menubar/utils.lua.in b/lib/menubar/utils.lua.in index e45a8bc..495314d 100644

Re: [PATCH] menubar: Handle .desktop files with multiple sections

2012-11-29 Thread Arvydas Sidorenko
> Thoughts on this one are welcome. I would change .desktop group name regexp to "^%s*%[([^%]]+)%]%s*$" since white spaces do come in once in a while. Towards the right direction, but still doesn't solve FS#1057. Overall I think I would ignore all groups except [Desktop Entry]. It would solve the p

Re: [PATCH] Expose wm_name to the user

2012-11-22 Thread Arvydas Sidorenko
> Wouldn't that be more of a bug in the .desktop files? Why should they only be > displayed in Gnome?! Freedesktop has specified 'OnlyShowIn' key for .desktop files No "Awesome" registered as a value though :-) -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: git head slow

2012-11-12 Thread Arvydas Sidorenko
Are you sure it was Awesome only which you updated? Is the CPU load 100% during those 2 seconds? -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: Request for better awesome standard config

2012-10-09 Thread Arvydas Sidorenko
> P.S.: No, I will not write a login manager. Awesome-style login manager sounds neat though, ehh? -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

[PATCH] common/util.h: dodgy non-__GNUC__ p_delete

2012-07-30 Thread Arvydas Sidorenko
of the compilers I am aware of will let you go through this without an error. And second of all, lets have one portable p_delete. Signed-off-by: Arvydas Sidorenko --- common/util.h | 24 ++-- 1 files changed, 6 insertions(+), 18 deletions(-) diff --git a/common/util.h b

Re: [PATCH] wallpaper.c: capability from within Awesome

2012-07-24 Thread Arvydas Sidorenko
On 07/24/2012 02:49 PM, Julien Danjou wrote: Uli said: root.wallpaper(gears.surface("/path/to/an/image")) So you should expect a Cairo surface as first argument. You can then use it to paint directly on the root window pixmap. No need to use Imlib2 to draw. Apparently surface() uses imlib2, fro

Re: [PATCH] wallpaper.c: capability from within Awesome

2012-07-24 Thread Arvydas Sidorenko
On 07/24/2012 12:10 PM, Julien Danjou wrote: On Tue, Jul 24 2012, Arvydas Sidorenko wrote: Sorry for not collaborating too much on that. What I wanted to achieve with this patch is to provide the lowest level code, which that something implemented on top of root.wallpaper() could rely on. I

[PATCH] wallpaper.c: capability from within Awesome

2012-07-24 Thread Arvydas Sidorenko
This is a very basic implementation of setting wallpaper from within Awesome. It uses libX11 and imlib2, thus everything works out of the box. The public function is set_wallpaper(), which currently just scales it to full screen. Signed-off-by: Arvydas Sidorenko --- CMakeLists.txt |1

Lets get rid of awsetbg?

2012-07-22 Thread Arvydas Sidorenko
lready did it's job. So the question I got is why don't we set the wallpaper from Awesome itself? We could use libX11 and imlib2, which Awesome already depends on. That would get rid of inconsistent behavior between different background setters and awsetbg could be removed at all. What d

[PATCH] Yet another lua call without prefixed module

2012-06-23 Thread Arvydas Sidorenko
Signed-off-by: Arvydas Sidorenko --- lib/awful/menu.lua.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index 66bc24e..fe1aefb 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -482,7 +482,7 @@ function

Re: 0001-Do-not-attempt-to-call-global-destroy.patch

2012-06-22 Thread Arvydas Sidorenko
On 06/23/2012 12:04 AM, Uli Schlachter wrote: Also, in half a year or so, all the broken places that are left can be used as a marker on code that no one uses. ;-) +1 -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: 0001-Do-not-attempt-to-call-global-destroy.patch

2012-06-22 Thread Arvydas Sidorenko
On 06/22/2012 11:19 PM, Uli Schlachter wrote: On 22.06.2012 20:02, Felix Bier wrote: Hello list, I got "attempt to call global destroy" from two locations in naughty.lua, which should be fixed with this patch. The first one can be triggered by spamming notifications, the second one appeared to m

Calling naughty.notify without specifing module

2012-06-17 Thread Arvydas Sidorenko
>From 55eb706b698c3b0c59559eff342d6ee59ec9e3f3 Mon Sep 17 00:00:00 2001 From: Arvydas Sidorenko Date: Sun, 17 Jun 2012 15:11:01 +0200 Subject: [PATCH] Calling naughty.notify without specifing module Lua 5.2 port bug, which shows up on notify-send Signed-off-by: Arvydas Sidorenko ---

Re: awesome git/master: Porting to lua 5.2

2012-06-16 Thread Arvydas Sidorenko
x27;m sure it's easy to fix. :) > >> [0] Well, I bet there will be at least one person who will ask what happened >> to >> it. However, this is git/master, so that little breakage should be >> bearable. > > We've seen worse, indeed. :) > > -- &g

Re: Lua 5.2 compatibility pull request

2012-06-12 Thread Arvydas Sidorenko
>>       Wrapped luaL_register > > Not merged, as you say in the commit message, there's a TODO point and > I'm not sure it works correctly then. That function has three commits which you have recognized. They suppose to be squashed, but I didn't know about rebase feature in git. >From now on will

Lua 5.2 compatibility pull request

2012-06-11 Thread Arvydas Sidorenko
The following changes since commit ec5ef674043742b79bc862cc4ff43f9ff0601431: Remove PREFIX, use CMAKE_INSTALL_PREFIX (2012-06-11 14:47:13 +0200) are available in the git repository at: https://github.com/Asido/AwesomeWM.git master Arvydas Sidorenko (14): Renamed luaL_reg to luaL_Reg

Re: Lua 5.2 port

2012-06-11 Thread Arvydas Sidorenko
On Mon, Jun 11, 2012 at 10:46 AM, Julien Danjou wrote: > Does that mean we can keep the Lua code running on 5.1 and 5.2 in the > end? > > -- >           Julien I'll make sure you do :) As a matter of fact the current patches could be merged right now. All changes are pretty much making Lua embedd

Re: Lua 5.2 port

2012-06-11 Thread Arvydas Sidorenko
On Mon, Jun 11, 2012 at 9:52 AM, Daniel Silverstone wrote: > On Mon, Jun 11, 2012 at 03:30:32AM +0200, Arvydas Sidorenko wrote: >> I ported Awesome to Lua v5.2. > > Pretty cool. > > Note that a lot of the Lua community is sticking with v5.1 for now.  It's > generall

Lua 5.2 port

2012-06-10 Thread Arvydas Sidorenko
4300 lines hack, which was done entirely for educational purpose. I'll spend the next day or two rewriting everything from scratch, then will talk what's good what's bad. Cheers Arvydas Sidorenko -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Splash windows are out of control

2012-05-25 Thread Arvydas Sidorenko
3rd round of patches. The first patch is updated version to not allow the clients move themselves out of the current screen. Previous version messed up client width/height resize. The second is the same as in the previous mail. 0001-Ignore-client-signals-to-move-itself-outside-current.patch Descr

splash windows are out of control

2012-05-21 Thread Arvydas Sidorenko
Currently the splash windows are out of control, appearing usually not on the screen the mouse/client is. I restricted the window geometries of XCB_CONFIGURE_REQUEST event to be changed only within the same window, otherwise the request gets ignored. I checked other WMs code and as far as I can see

[PATCH] Improved ZSH completion (#535)

2012-05-06 Thread Arvydas Sidorenko
After 3 years it finally arrives 0001-Improved-ZSH-completion-535.patch Description: Binary data

[PATCH 2/2] Original sky theme dwindle and spiral icons

2011-12-30 Thread Arvydas Sidorenko
: Arvydas Sidorenko --- themes/sky/layouts/dwindle.png | Bin 0 -> 1391 bytes themes/sky/layouts/spiral.png | Bin 0 -> 1750 bytes themes/sky/theme.lua.in|2 ++ 3 files changed, 2 insertions(+), 0 deletions(-) create mode 100644 themes/sky/layouts/dwindle.png create mode 100644

[PATCH] Added missing sky theme icons

2011-12-30 Thread Arvydas Sidorenko
The sky theme has no spiral and dwindle layout icons. Signed-off-by: Arvydas Sidorenko --- themes/sky/layouts/dwindle.png | Bin 0 -> 1230 bytes themes/sky/layouts/spiral.png | Bin 0 -> 3029 bytes themes/sky/theme.lua.in|3 +++ 3 files changed, 3 insertions(+), 0 del

[PATCH] new API function: maximize

2011-12-28 Thread Arvydas Sidorenko
mod4+enter. It maximizes the client to full screen without changing any of it's or layout properties. Signed-off-by: Arvydas Sidorenko --- lib/awful/client.lua.in | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/lib/awful/client.lua.in b/lib/

[PATCH 1/2] [PATCH] New layout suit: plumb

2011-12-28 Thread Arvydas Sidorenko
and got +1, hope you will like it. Signed-off-by: Arvydas Sidorenko --- awesomerc.lua.in |3 ++- lib/awful/layout/suit/init.lua.in |1 + lib/awful/layout/suit/plumb.lua.in | 30 ++ 3 files changed, 33 insertions(+), 1 deletions(-) create

[PATCH 2/2] [PATH] Plumb layout suit graphics

2011-12-28 Thread Arvydas Sidorenko
Created new layout suit graphics in themes/*/layouts/plumb.png and added a path to it in each theme.lua.in. Signed-off-by: Arvydas Sidorenko --- themes/default/layouts/plumb.png | Bin 0 -> 183 bytes themes/default/layouts/plumbw.png | Bin 0 -> 253 bytes themes/default/theme.

[PATCH] Implemented new API function awful.client.maximize

2011-08-18 Thread Arvydas Sidorenko
to create new public function awful.wibox.get_wiboxes. I wanted to include them in documention, but cannot see here luadoc/modules folder. This is my first commit here, so please be forgiving if I did something wrong :) Signed-off-by: Arvydas Sidorenko --- awesomerc.lua.in|1 + lib