Matching multiple classes/names with awful.rules

2011-02-24 Thread Yuri D'Elia
I was trying to tidy my rc file, reducing the number of rules. In theory (reading through awful/rules.lua), this: awful.rules.rules = { { rule = { class = { a, b} }, properties = { floating = true } } } should match either a or b, but it doesn't. Neither does name. Both attributes expect a

Re: Matching multiple classes/names with awful.rules

2011-02-24 Thread Gwenhael Le Moine
Actually... Looking at the docs/code, I find this example: { rule_any = { class = { MPlayer, Nitrogen }, instance = { xterm } },  properties = { floating = true } } Did you mean to use rule_any? That works. And all this time I just assumed it wasn't possible... Now, wouldn't it make sense

Re: Matching multiple classes/names with awful.rules

2011-02-24 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 24.02.2011 17:46, Gwenhael Le Moine wrote: Actually... Looking at the docs/code, I find this example: { rule_any = { class = { MPlayer, Nitrogen }, instance = { xterm } }, properties = { floating = true } } Did you mean to use rule_any?

Re: Matching multiple classes/names with awful.rules

2011-02-24 Thread Gwenhael Le Moine
Now, wouldn't it make sense to just rename 'rule_any' to rule and drop the old rule? After all current 'rule' is just one use-case of the more general rule_any, no? here a quick patch to keep only rule_any as rule: From c5571b970e17c886b7308c7f3982bc6295d7e5de Mon Sep 17 00:00:00 2001 From:

Re: Matching multiple classes/names with awful.rules

2011-02-24 Thread Gwenhael Le Moine
Nope, that won't work without breaking stuff. You'd have to use { rule = { class = { MPlayer } } instead of { rule = { class = Mplayer } } Also, with that change the semantic of { rule = { class = MPlayer, instance = xterm } } would change. With current rule =, both have to match,

Re: libreoffice on dual-screen causes other screen to switch on scroll/menu

2011-02-24 Thread Tomás Solar Castro
Ng Oon-Ee ngoo...@gmail.com escribió: Hi all, Using libreoffice 3.3.0.4 on Arch Linux 64-bit, awesome 3.4.9 If you have a dual-screen, open libreoffice on the 2nd screen, on a different tag from whatever is on your first screen (try tag 1 on screen 1, tag 2 on screen 2) Scroll or click on

Re: libreoffice on dual-screen causes other screen to switch on scroll/menu

2011-02-24 Thread Ng Oon-Ee
On Thu, 2011-02-24 at 22:00 -0300, Tomás Solar Castro wrote: Ng Oon-Ee ngoo...@gmail.com escribió: Hi all, Using libreoffice 3.3.0.4 on Arch Linux 64-bit, awesome 3.4.9 If you have a dual-screen, open libreoffice on the 2nd screen, on a different tag from whatever is on your first

Re: libreoffice on dual-screen causes other screen to switch on scroll/menu

2011-02-24 Thread Tomás Solar Castro
Did you try with a floating window? -- Enviado desde mi teléfono Android con K-9 Mail. Disculpa mi brevedad -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: libreoffice on dual-screen causes other screen to switch on scroll/menu

2011-02-24 Thread Ng Oon-Ee
On Thu, 2011-02-24 at 22:17 -0300, Tomás Solar Castro wrote: Did you try with a floating window? With a floating window scrolling does not trigger the switch, but clicking on the menus still does. It seems the soffice binary creates a WM_CLIENT_LEADER window, I presume this window must

How to restore or cycle thru minimized applications

2011-02-24 Thread Martín Cigorraga
Hi list, I think someone post something related to this some time ago but I can't really remember. Also, I'm pretty new to Awesome -which is awesome in fact- so may be I'm missing something... My problem is after minimizing any application (Mod + n) I can't restore it with the keyboard nor cycle

Re: How to restore or cycle thru minimized applications

2011-02-24 Thread Matt Spear
I believe a commit was just added: https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=685 Cheers! Matt Spear batman...@gmail.com On Thu, Feb 24, 2011 at 10:48 PM, Martín Cigorraga martosurf7...@gmail.com wrote: Hi list, I think someone post something related to this some time ago

Re: libreoffice on dual-screen causes other screen to switch on scroll/menu

2011-02-24 Thread Torsten Andre
Am 25.02.2011 01:46, schrieb Ng Oon-Ee: Hi all, Using libreoffice 3.3.0.4 on Arch Linux 64-bit, awesome 3.4.9 If you have a dual-screen, open libreoffice on the 2nd screen, on a different tag from whatever is on your first screen (try tag 1 on screen 1, tag 2 on screen 2) Scroll or click on