Andres Freund | 1 Mar 02:32 2011
Picon

[PATCH] Correct typo causing awful.client.restore not to restore a client if all clients are minimized

---
 lib/awful/client.lua.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in
index a0d7942..0ab5f13 100644
--- a/lib/awful/client.lua.in
+++ b/lib/awful/client.lua.in
 <at>  <at>  -644,7 +644,7  <at>  <at>  end
 --  <at> param s The screen to use.
 --  <at> return True if some client was restored.
 function restore(s)
-    local s = s or (capi.client.focus and capi.client.focus.screen) or 
mouse.screen
+    local s = s or (capi.client.focus and capi.client.focus.screen) or 
capi.mouse.screen
     local cls = capi.client.get(s)
     local tags = tag.selectedlist(s)
     local mcls = {}
--

-- 
1.7.1

Uli Schlachter | 1 Mar 16:09 2011
Picon

Re: [PATCH] Correct typo causing awful.client.restore not to restore a client if all clients are minimized


Am 01.03.2011 02:32, Andres Freund wrote:
> ---
>  lib/awful/client.lua.in |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in
> index a0d7942..0ab5f13 100644
> --- a/lib/awful/client.lua.in
> +++ b/lib/awful/client.lua.in
>  <at>  <at>  -644,7 +644,7  <at>  <at>  end
>  --  <at> param s The screen to use.
>  --  <at> return True if some client was restored.
>  function restore(s)
> -    local s = s or (capi.client.focus and capi.client.focus.screen) or 
> mouse.screen
> +    local s = s or (capi.client.focus and capi.client.focus.screen) or 
> capi.mouse.screen
>      local cls = capi.client.get(s)
>      local tags = tag.selectedlist(s)
>      local mcls = {}

Thanks, pushed.

Uli

--

-- 
Buck, when, exactly, did you lose your mind?
Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her.
(Continue reading)

Seblu | 1 Mar 21:03 2011
Picon

Re: tile.top behaviour with more than one slave column

On Tue, Mar 1, 2011 at 12:38 AM, Seblu <seblu <at> seblu.net> wrote:
> Hello list,
>
> I'm wondering why awful.layout.suit.tile.top behaviour is not opposite
> of  awful.layout.suit.tile.bottom.
> By default, my awesome config don't set new window as master (using
> awful.client.setslave(c) in manage)
> The following comment is in config file "-- i.e. put it at the end of
> others instead of setting it master."
>
>
> In awful.layout.suit.tile.bottom mode:
>  with one slave column, each window i start is inserted bottom left. It's ok.
>  with two slave columns, each window i start is inserted bottom left
> in the last slave column.
>
> In awful.layout.suit.tile.top mode,
>  with one slave colum, each window i start is inserted top right. It's ok.
>  with two slave columns, each window i start is inserted in the first
> slave colum (and not the last)
>
> Same difference between left and right mode.
>
> Can someone englighten me about why with 2 slaves colums new windows
> is not inserted in last column?
ok i found the logic. Screen is split in two, master panel / slave
panel. Inside slave panel, tiling is always done with the same algo.
Do you think a patch which make slave windows folowing the sense of
the top/bottom/left  should be useful?

(Continue reading)

mokasin | 2 Mar 09:45 2011

Re: GNOME shell + awesome

On 08.02.2011 15:41, Skjddsjkkj Kjdsjksdkjsd wrote:
> A few questions:
> 2) the network manager applet doesn't appear unless I run killall
> nm-applet && nm-applet, eventhough it's running. Any ideas?

You mean the nm isn't in the gnome-panel?
I guess awesome registers a notification area just before gnome, so
there is a conflict between them. But it should be on one or the
other, the wibox' or the gnome-panel's systray.

AFAIK there is no possibility to disable awesome's notification area?
Just to deactivate the widget didn't do it.

Yury Bulka | 3 Mar 00:36 2011
Picon

rc.lua automatic clean-up

Hello, my question my not be really awesome-related, but still want to
ask it here. I'm wondering if there is some program like the 'indent'
for C, but for lua, to be used with rc.lua to make it more clean and
better formatted. If so, it'd be nice to add it to wiki. Thank you!

Blacklemon67 | 3 Mar 00:50 2011
Picon

Re: rc.lua automatic clean-up

A quick google search yeilded this: 
http://www.programmersheaven.com/download/53800/download.aspx
the comments say it's buggy, but it might be worth a shot

Jörg Thalheim | 3 Mar 18:53 2011
Picon

Re: rc.lua automatic clean-up

The Emacs editor is excellent in indent your code right. A mode for lua separately avaible.
Throw batch mode you can do  this automatic:
http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html

Maybe somebody here on the mailing list can compose a little snippet for your special problem.

2011/3/3 Yury Bulka <yurkobb <at> gmail.com>
Hello, my question my not be really awesome-related, but still want to
ask it here. I'm wondering if there is some program like the 'indent'
for C, but for lua, to be used with rc.lua to make it more clean and
better formatted. If so, it'd be nice to add it to wiki. Thank you!

--
To unsubscribe, send mail to awesome-unsubscribe <at> naquadah.org.

Yury Bulka | 3 Mar 22:54 2011
Picon

Re: rc.lua automatic clean-up

On Thu, Mar 03, 2011 at 06:53:54PM +0100, Jörg Thalheim wrote:
> The Emacs editor is excellent in indent your code right. A mode for lua
> separately avaible.
> Throw batch mode you can do  this automatic:
> http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html
> 
> Maybe somebody here on the mailing list can compose a little snippet for
> your special problem.
> 
> 2011/3/3 Yury Bulka <yurkobb <at> gmail.com>
> 

Thank you, I'll try.

--

-- 
To unsubscribe, send mail to awesome-unsubscribe <at> naquadah.org.

Adam Nielsen | 5 Mar 02:49 2011
Picon

Can you remove the wallpaper entirely?

Hi all,

Since I always have windows covering up my desktop I don't like to have any 
wallpaper set (don't like wasting memory!)

Normally I run "xsetroot -solid black" to set the "wallpaper" to black, 
however I am unable to work out how to do this automatically at startup with 
Awesome.  If I add an awful.util.spawn_with_shell command to the end of rc.lua 
it appears to work, but then moments later the default Awesome background is 
set again.

awsetbg doesn't seem to have any options for setting a colour rather than an 
image, so I'm not sure how to get what I'm after.

Any suggestions?

Thanks,
Adam.

will floyd | 5 Mar 03:36 2011
Picon

Re: Can you remove the wallpaper entirely?

Hi all,

Since I always have windows covering up my desktop I don't like to have any wallpaper set (don't like wasting memory!)

Normally I run "xsetroot -solid black" to set the "wallpaper" to black, however I am unable to work out how to do this automatically at startup with Awesome.  If I add an awful.util.spawn_with_shell command to the end of rc.lua it appears to work, but then moments later the default Awesome background is set again.

awsetbg doesn't seem to have any options for setting a colour rather than an image, so I'm not sure how to get what I'm after.

Any suggestions?

Thanks,
Adam.

awesetbg is called from .config/awesome/themes/theme.lua, and you can change or remove the command there.  this works for me:

theme.wallpaper_cmd = { "xsetroot -solid black" }

Gmane