rektide | 8 Feb 18:26
Gravatar

Move client without hover

Hi awesome <at> naquadah.org'ists,

The relevant code I could find for moving windows was below:

clientbuttons = awful.util.table.join(
    awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
    awful.button({ modkey }, 1, awful.mouse.client.move),
    awful.button({ modkey }, 3, awful.mouse.client.resize))

How does the awful.mouse.client.move(c,snap) work? The api doc[1] says this for c,
"c: The client to move, or the focused one if nil."

I'm a Lua novice, but it looks like button is accepting a function handler. Button[2],
otoh, does not seem to describe the signal it emits to the handler. I thought perhaps
Rules[3] might inform me better, but I still don't know what the a.m.c.move call gets passed
for sure, can't find a reference.

[1] http://awesome.naquadah.org/doc/api/modules/awful.mouse.html#client.move
[2] http://awesome.naquadah.org/doc/api/modules/button.html
[3] http://awesome.naquadah.org/doc/api/modules/awful.rules.html

My desire is to modify Awesome such that mouse-move works on the currently focused window,
not the currently hovered over window. If anyone can point me towards the path to
enlightenment for how to accomplish this, I'd be much appreciated.

-rektide

Marco | 8 Feb 11:48

Re: Missing line numbers and more weirdness with vim

On 2012-02-07 Perry Hargrave <resixian <at> gmail.com> wrote:

> What locale do you have set?

I tried

LANG=en_GB.UTF-8 and
LANG=C

same result.

> You mentioned  certain files reproduce  it well, but don't  know a
> way to predict what  files going to do it. Is  it perhaps a syntax
> specific aid?

What do you mean by syntax? The vim syntax highlighting? It's turned
off. BTW: all files are text/plain.

> Since  gvim  is not  bugging  out,  but  all terminals  are,  have
> you  tried  a  different  shell? Perhaps  its  something  in  your
> bash/zsh/csh configuration?

I tried the system default settings.

> Can you chsh to something else and try it?

Yes, csh and bash. Both behave the same.

> Grasping at straws here...

(Continue reading)

Ondřej Grover | 7 Feb 21:05
Picon
Gravatar

Multi monitor for presentations

Hello,

Before you dismiss this mail as another "read xrandr(1)" type, give me
a chance to explain, please.
Once again I'm on the quest to find a WM suiting my needs. So far,
awesome works very well, the Lua API is quite usable and Shifty with
dynamic tags is nearly exactly what I miss in other WMs
(workpsace/group concept is too rigid and on-the-fly rename usually
not included).

But then one day I try to plug in a monitor when I'm about to give a
presentation. I prepared a special tag for it. Suddenly, all windows
stuff up on one, new workspace (Shifty's fault). OK, but even if I
retag my windows again, the new VGA screen has a different set of
tags, so I cannot display my presentation on VGA and notes +
presentation on laptop.  I knew that Awesome restarts on screen
geomtery change, but didn't comprehend such consequences.
So, my problem may come from these two things:

1) If  Awesome restarts on every screen change, what is the easiest
way to conserve the current taglist(s) an respective layouts with
Shifty? I can imagine that with vanilla Awesome I could put some if
defined test for taglist, but even then I'm not sure if that would
conserve the layouts. I would have to add another check for layouts
too I guess. What I'm looking for is some reference implementation. I
hope I won't have to fork Shifty and I'm just missing something.
So far I haven't found anything useful, maybe most people use Awesome
only in a static multi monitor setup.

2) Is it possible to share a tag pool among all screens? I've read
(Continue reading)

Nicolas G. Querol | 7 Feb 02:12
Picon
Gravatar

Vicious gmail widget

Hi, 

I began using the vicious gmail widget a few days ago, and was wondering if one could modify it to display (for
instance, in a tooltip) the sender's email address. I reckon it would be quite useful under some
circumstances, as email subjects are sometimes quite evasive (when not just blank, alas). As I am not a Lua
expert, I would appreciate if someone could give me some advice here.

Thanks,

--

-- 
Nicolas G. Querol | nicolas.gquerol(at)gmail.com

dodo | 5 Feb 13:54
Gravatar

fosdem

just out of curiosity .. is there some kind of an awesome user/dev
meeting at fosdem?

Marco | 5 Feb 12:08

Separator in menu

Dear list,

I'd like to draw a horizontal separator line in the menu to separate
groups of items? Is that possible? How?

Marco

Bearcat M. Sandor | 3 Feb 00:09
Gravatar

transparency not working on terminals with certain colors, and suggested composting managers

Folks,

I'm a happy Awesome user, but i do miss my transparent windows from 
compiz days. To that end i have the following in my luarc:

awful.util.spawn_with_shell("xcompmgr -CcFf -t-5 -l-5 -r10.2 -o.55 -D3 
-I-.015 -O-.03 &")

under awful.rules.rules i have:

		{ rule = { class = "urxvt" },
       properties = { opacity = 0.8 } },

What i don't understand is that only the terminal with the background 
set to !URxvt*background: #3B3B3B is transparent and not the one set to 
URxvt*background:  #3f3f3f

Does xcompmgr only make darker colors transparent?

An image of this is at http://imgur.com/Fhxp5

I posted my lua.rc here: 
https://raw.github.com/gist/1726334/2cd8fb50315bacbafb841ceeef512dec1f90a5c2/rc.lua

Also, is there another compositing manager i can use with awesome? I 
don't think the compositing manager of compiz can be used by itself can 
it, and  the cairo composite manager project looks dead.

Thanks,

(Continue reading)

Marco | 30 Jan 16:26

Transparent systray background

My wibox is partly transparent, but not the systray within
the  wibox. It  has an  ugly black  background. How  can I
apply transparency to the systray background?

I guess  I have to  modify the theme,  but I have  no idea
which values to add or to change.

Marco

Piotr Ozarowski | 30 Jan 11:20
Picon
Gravatar

awesome in Linux Action Show S04E20

FYI: http://www.jupiterbroadcasting.com/16411/awesome-window-manager-las-s20e04/

[/me didn't watch it yet]
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

--

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

Marco | 27 Jan 18:25

Resize tiling clients

I'm sorry for spamming the list,  but as a new user I face
some problems getting my configuration right.

Yes, that's exactly the question from the FAQ. I added the
code to my  rc.lua, but I still cannot change  the size of
the clients.

My  scenario:  I use  the  layout  “tile” and  open  three
terminals, one left  and two on the right. Now  I have two
separators  on the  screen, one  vertical and  one smaller
horizontal. Here is how it looks like:

   =================================================
   |                        |                      |
   |                        |                      |
   |                        |          2           |
   |                        |                      |
   |                        |                      |
   |           1            |======================|
   |                        |                      |
   |                        |                      |
   |                        |          3           |
   |                        |                      |
   |                        |                      |
   |                        |                      |
   =================================================

I  can change  the  width of  the  clients with  Mod4+h/l,
this  moves  the  vertical  separator.  But  how  to  move
the  horizontal   separator  between   client  2   and  3?
(Continue reading)

Alexander Yakushev | 27 Jan 09:04
Picon
Gravatar

Compositing manager makes all windows transparent

Hello everyone,

Today I for the first time tried to use a composite manager (to be able 
to use transparent wiboxes in git/master version, as Uli suggested). I 
started with xcompmgr and the wiboxes went transparent just fine... with 
all of my windows. Changing any settings in the xcompmgr command line 
does nothing, the windows stay transparent. Then I used cairo-compmgr, 
turned all transparency options off and it is still there. I use awesome 
v3.4-617-gc6e9208 run with --no-argb flag.

Funny thing is that when I try running xcompmgr in a Xephyr session, 
everything works just fine (wiboxes are transparent, windows are not). 
Same for cairo-compmgr.

Any ideas how can I fix that?

Best regards,
Alexander


Gmane