Re: cherry-pick c623734632010e4601ca4e369851bc79ab7f706f to 3.4.x

2012-09-25 Thread Anurag Priyam
On Tue, Sep 25, 2012 at 1:15 PM, Uli Schlachter psyc...@znc.in wrote: On 17.09.2012 16:00, Anurag Priyam wrote: The online documentation can't be fixed without making a release, right? So maybe someone could cherry-pick c623734632010e4601ca4e369851bc79ab7f706f to 3.4.x -- whatever the next

Re: attemp to call nill value error in newest awesome documentation example

2012-09-17 Thread Anurag Priyam
}, `, function () local urxvt = function (c) return awful.rules.match(c, {class = URxvt}) end for c in awful.client.cycle(urxvt) do c.minimized = false end end), [...] Use awful.client.iterate instead. -- Anurag Priyam -- To unsubscribe, send mail

cherry-pick c623734632010e4601ca4e369851bc79ab7f706f to 3.4.x

2012-09-17 Thread Anurag Priyam
From awes...@naquadah.org (subject: attemp to call nill value error in newest awesome documentation example): Anurag Priyam anurag08pri...@gmail.com wrote: On Mon, Sep 17, 2012 at 2:03 AM, wojtek danilo wojtek.danilo@gmail.com wrote: I compled from source the newest awesome wm (without

Re: tasklist labels

2012-09-04 Thread Anurag Priyam
On Mon, Sep 3, 2012 at 8:33 PM, Daniel qu...@hack.org wrote: Any chance of (in lua) adding some function for regex search-and-replace in tasklist's labels? And what would you accomplish with that? -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: [RFC] Move cursor to middle of screen using awful.screen.focus()

2012-08-23 Thread Anurag Priyam
a big screen (24). I am in favor of this patch, together with removing sloppy focus as the default. Sloppy-focus is not intuitive. No desktop environment defaults to sloppy focus. In fact, I don't there is an option to enable sloppy-focus on any. -- Anurag Priyam -- To unsubscribe, send mail

Re: [RFC] Move cursor to middle of screen using awful.screen.focus()

2012-08-22 Thread Anurag Priyam
On Wed, Aug 22, 2012 at 9:51 PM, Ignas Anikevicius anikevic...@gmail.com wrote: I have written a small patch, which changes the behaviour, so that we have the mouse repositioned to the centre of the screen. Could we have Where is the patch? -- Anurag Priyam -- To unsubscribe, send mail

fix run_or_raise on lua 5.2

2012-08-04 Thread Anurag Priyam
`iterate` method call in `awful.client.run_or_raise` was missing a receiver. Fix attached. -- Anurag Priyam 0001-run_or_raise-fix-for-lua-5.2-upgrade.patch Description: Binary data

Re: [ANN] Definitely Awesome - the latest news about awesome wm

2012-05-14 Thread Anurag Priyam
On Mon, May 14, 2012 at 7:05 PM, Alexander Yakushev unlo...@bytopia.org wrote: Awesome Weekly #11 is out: http://definitely-awesome.posterous.com/awesome-weekly-11 The link points to awesome weekly 10. Awesome Weekly # 11: http://definitely-awesome.posterous.com/awesome-weekly-11 -- Anurag

Re: Who is interested in

2012-05-14 Thread Anurag Priyam
On Mon, May 14, 2012 at 7:11 PM, Christopher R. Parr foss...@gmail.com wrote: helping me create a community portal for the most awesome window manager? You may want to have a look at [Definitely Awesome][1]. [1]: http://definitely-awesome.posterous.com/ -- Anurag Priyam -- To unsubscribe

Re: border actions

2012-05-14 Thread Anurag Priyam
dockable property on a client with `awful.client.dockable.set(c, true)` and move it around with mouse, awesome snaps it to edges if you are 8px close to one. `awful.mouse` does the magic, so lib/awful/mouse/init.lua could be a good place to look for help. -- Anurag Priyam -- To unsubscribe, send mail

Re: [PATCH] Menubar enhancements

2012-05-12 Thread Anurag Priyam
will attach it to the module. --- -- Meh around everywhere! -- br/ -- pMeh! -- ... -- /p module('meh') That said, if psychon is ok with your patch, I have no intentions of bothering you either :). -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: split rc.lua in separate files?

2012-05-10 Thread Anurag Priyam
achieve this? You can checkout https://github.com/ierton/awesomerc-ierton. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: [PATCH] Menubar enhancements

2012-05-07 Thread Anurag Priyam
. +--- Generate a pattern matching expression that ignores case. Those are from Ignas' original patch. Look carefully, there is an extra '-' in the lines added. 3 dashes exposes that function's documentation to luadoc. -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr

Re: Theme.lua location

2012-05-06 Thread Anurag Priyam
On Sun, May 6, 2012 at 2:00 PM, Uli Schlachter psyc...@znc.in wrote: On 06.05.2012 04:20, Anurag Priyam wrote: Uli, what's with the `colstr` variable?  It doesn't seem to be used anywhere.  Same for the `if c:get_type()` block.  Doesn't look like anything is being done with the rgba values

Re: hide menu on mouse click outside it (was: Re: [patch] awful.menu [...])

2012-05-06 Thread Anurag Priyam
ping! On Mon, Apr 23, 2012 at 12:22 AM, Anurag Priyam anurag08pri...@gmail.com wrote: On Tue, Apr 3, 2012 at 11:13 AM, Anurag Priyam anurag08pri...@gmail.com wrote: On Wed, Feb 29, 2012 at 3:59 PM, Uli Schlachter psyc...@znc.in wrote: Anyone out there who opens up a popup menu, then clicks

Re: Theme.lua location

2012-05-05 Thread Anurag Priyam
[+CC: Uli] On Sun, May 6, 2012 at 6:35 AM, Anurag Priyam anurag08pri...@gmail.com wrote: On Sun, May 6, 2012 at 4:25 AM, Gerald Klein j...@zognet.com wrote: /usr/share/awesome/lib/wibox/init.lua:136 attempt to index local 'c' (a nil value) Do you have bg_focus and bg_normal keys in your

Re: [PATCH] awful.client: un-hide the client when it regains focus

2012-05-05 Thread Anurag Priyam
. Let's ignore my broken patch attempt in-between. There you go. The raw patch was tested so I didn't test this one (also, I am running Unity :P at the moment and don't want to close all my apps and start awesome). -- Anurag Priyam 0001-unset-hidden-state-when-a-client-regains-focus.patch

Re: [PATCH] awful.client: un-hide the client when it regains focus

2012-05-05 Thread Anurag Priyam
it to test new awesome configs, because the Xephyr support for multiple screens is a little buggy. Hope it makes life easier ;) That's neat. Thanks :). -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] awful.client: un-hide the client when it regains focus

2012-05-01 Thread Anurag Priyam
) Hey, I'm home for summer break. Just got an Internet connection here :). Will get back to you on the patch later tonight or tomorrow (IST). -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: unagi compositing manager

2012-04-27 Thread Anurag Priyam
On Fri, Apr 27, 2012 at 12:50 PM, Uli Schlachter psyc...@znc.in wrote: attached patch for unagi fixes this issue. The summary could as well be awesome git/master is doing weird things that no one else does. :-) Works great. Thanks :). -- Anurag Priyam -- To unsubscribe, send mail

Re: unagi compositing manager

2012-04-26 Thread Anurag Priyam
  that _NET_WM_WINDOW_OPACITY (through xprop)... On Thu, Apr 26, 2012 at 12:03 PM, Uli Schlachter psyc...@znc.in wrote: You can find the _NET_WM_WINDOW_OPACITY via xprop -frame. [...] $ xprop -frame _NET_WM_WINDOW_OPACITY(CARDINAL) = 2791728741 -- Anurag Priyam -- To unsubscribe, send mail to awesome

Re: hide menu on mouse click outside it (was: Re: [patch] awful.menu [...])

2012-04-22 Thread Anurag Priyam
On Tue, Apr 3, 2012 at 11:13 AM, Anurag Priyam anurag08pri...@gmail.com wrote: On Wed, Feb 29, 2012 at 3:59 PM, Uli Schlachter psyc...@znc.in wrote: Anyone out there who opens up a popup menu, then clicks somewhere else and expects the menu to stay open? If yes, speak up now or stay quiet

Re: hide menu on mouse click outside it (was: Re: [patch] awful.menu [...])

2012-04-22 Thread Anurag Priyam
On Wed, Apr 4, 2012 at 12:30 AM, Uli Schlachter psyc...@znc.in wrote: On 03.04.2012 08:22, Anurag Priyam wrote: Also, how can I pass a normal cursor to mousegrabger?  I don't wan't the cursor to change -- looks silly. There is a list of mouse cursors in common/xcursor.c. I guess you want

Re: [PATCH] Fix issue with awful.menu keygrabber collisions

2012-04-21 Thread Anurag Priyam
(grabbers, 1, g) Why not insert at the last position and assume the tail of the table to be the head of the stack? http://www.lua.org/pil/19.2.html -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [PATCH] Fix issue with awful.menu keygrabber collisions

2012-04-21 Thread Anurag Priyam
On Sat, Apr 21, 2012 at 1:19 PM, Uli Schlachter psyc...@znc.in wrote: On 21.04.2012 09:09, Anurag Priyam wrote: Say I run two grabbers one after the other.  If the second grabber returns false, the event will be dispatched to the first one without removing the second one from the stack

Re: hide menu on mouse click outside it (was: Re: [patch] awful.menu [...])

2012-04-03 Thread Anurag Priyam
On Tue, Apr 3, 2012 at 11:13 AM, Anurag Priyam anurag08pri...@gmail.com wrote: [...] I can fix it.  I need to determine that mouse was clicked outside menu.  So maybe I can attach a handler to 'press' signal on mouse, but if it was not clicked on any visible menu (not sure how to determine

Re: [patch] run or raise

2012-04-02 Thread Anurag Priyam
On Mon, Apr 2, 2012 at 2:53 PM, Uli Schlachter psyc...@znc.in wrote: Oh. Looking forward to the patch. :P Attached. I must hold a record for maximum iterations before a patch gets in :-|. -- Anurag Priyam 0001-rename-the-iterator-methods-named-cycle-to-iterate-a.patch Description: Binary

Re: [patch] run or raise

2012-04-02 Thread Anurag Priyam
. Can't have it in callbacks because it is executed only when the client starts. Also note the redundancy of the filter function with the condition in awful.rules.apply. Thoughts? -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

hide menu on mouse click outside it (was: Re: [patch] awful.menu [...])

2012-04-02 Thread Anurag Priyam
Dug this up for context: On Thu, Mar 1, 2012 at 9:38 PM, Uli Schlachter psyc...@znc.in wrote: On 01.03.2012 10:52, Anurag Priyam wrote: On Wed, Feb 29, 2012 at 3:59 PM, Uli Schlachter psyc...@znc.in wrote: Anyone out there who opens up a popup menu, then clicks somewhere else and expects

Re: hide menu on mouse click outside it (was: Re: [patch] awful.menu [...])

2012-04-02 Thread Anurag Priyam
On Tue, Apr 3, 2012 at 11:13 AM, Anurag Priyam anurag08pri...@gmail.com wrote: So I put in `gears.debug.dump(mouse.buttons, 'buttons')` in the callback to mousegrabber the first thing and guess what I get each time after first mouse click: buttons : table: 0xb93c30    1 : true (boolean

Re: [PATCH] awful.client: use dockable.get in focus.filter to determine dock or not

2012-04-01 Thread Anurag Priyam
:). Hard way to learn the use of a feature/function, eh? -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: [patch] run or raise

2012-04-01 Thread Anurag Priyam
[+CC: Benjamin Stava bennam...@gmail.com] On Mon, Apr 2, 2012 at 1:30 AM, Uli Schlachter psyc...@znc.in wrote: On 31.03.2012 13:40, Anurag Priyam wrote: Fixed a bug. I diff'd the two patches. I wouldn't quite call that a bug, but ok. :-P Left that way, it would have become a bug :P

unselect a tag

2012-03-31 Thread Anurag Priyam
doesn't seem to take care of this. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: [patch] awful.client.jumpto

2012-03-31 Thread Anurag Priyam
On Wed, Mar 7, 2012 at 6:01 PM, Uli Schlachter psyc...@znc.in wrote: On 07.03.2012 10:54, Anurag Priyam wrote: I simply split `awful.client.urgent.jumpto` to get this;  needed it in my rc.lua. I'm not really happy with the luadoc, but since you catched me in a tired moment (and are one

Re: [PATCH] awful.client: use dockable.get in focus.filter to determine dock or not

2012-03-31 Thread Anurag Priyam
On Sat, Mar 31, 2012 at 5:43 PM, Anurag Priyam anurag08pri...@gmail.com wrote: Otherwise, setting a client dockable from rc.lua using awful.client.dockable.set doesn't work as expected. Oops! Had forgotten to attach patch. And in the mean time I found another one on the same lines. -- Anurag

Re: layout troubles

2012-03-19 Thread Anurag Priyam
if I open other apps like editors or whatever it's fine. Anyone have any idea what this is? Happened to me a few days back. The problem was automatically resolved after a system upgrade. I am running Chrome 19.0.1068.1 dev now. So maybe upgrading to the latest Chrome helps? -- Anurag Priyam

github mirror

2012-03-19 Thread Anurag Priyam
Hi, I setup a mirror on Github: https://github.com/yeban/awesome; updated automatically on a daily basis. -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: Switching Colorschemes on the fly?

2012-03-13 Thread Anurag Priyam
(properly) because of an error in the theme. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Set clients allways master

2012-03-13 Thread Anurag Priyam
On Mon, Mar 12, 2012 at 5:38 PM, Денис nispe...@gmail.com wrote: [...] And dialog-windows appears allways as slaves? https://awesome.naquadah.org/wiki/FAQ#How_to_start_clients_as_slave_windows_instead_of_master.3F -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr

Re: More problems with menu keygrabbing

2012-03-11 Thread Anurag Priyam
keygrabbing as soon as the item is clicked? I need to understand the issue better and experiment a bit. If it is not urgent, I would like to postpone it till the coming weekend. -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: Awesome - The name!

2012-03-07 Thread Anurag Priyam
a huge difference. Most of the time 'wm' (and 'window manager') is anyway used in conjunction with 'awesome' in the same document. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Awesome - The name!

2012-03-07 Thread Anurag Priyam
On Wed, Mar 7, 2012 at 2:48 PM, Anurag Priyam anurag08pri...@gmail.com wrote: I have never been very happy about the name, including awful and naughty.  But because of the way full text search (and hence Google) works, I don't think that adding a 'wm' to it is gonna make a huge difference

[patch] awful.client.jumpto

2012-03-07 Thread Anurag Priyam
I simply split `awful.client.urgent.jumpto` to get this; needed it in my rc.lua. -- Anurag Priyam From 67a6ebb39623a083d60ab515bd52eeb8cd66bdce Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Wed, 7 Mar 2012 03:39:45 +0530 Subject: [PATCH] introducing

Re: keygrabber api

2012-03-04 Thread Anurag Priyam
. -- Anurag Priyam From b30a297bf7459cc2e7b042e9071484abe4c024c1 Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Thu, 1 Mar 2012 15:43:29 -0500 Subject: [PATCH 1/2] awful.menu: remove superfluous return true from keygrabber's callback Returning true from the callback

Re: keygrabber api

2012-03-04 Thread Anurag Priyam
On Sun, Mar 4, 2012 at 4:11 PM, Uli Schlachter psyc...@znc.in wrote: I guess that fixed your earlier issue? :-) It did :). Thanks! -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: keygrabber api

2012-03-02 Thread Anurag Priyam
On Fri, Mar 2, 2012 at 11:47 AM, Uli Schlachter psyc...@znc.in wrote: On 21.02.2012 16:47, Anurag Priyam wrote: [...] Lua's C stack based API is not very intuitive (or maybe I haven't got a hang of it yet).  Hope I have got it right.  The patch does seem to work here. This patch broke

Re: [patch] awful.menu: enable keyboard navigation by default

2012-03-01 Thread Anurag Priyam
On Wed, Feb 29, 2012 at 3:59 PM, Uli Schlachter psyc...@znc.in wrote: On 26.02.2012 05:56, Anurag Priyam wrote: [...] Here is the correct patch, tested on both values (keygrabber = true/false) this time.  But before this patch is applied, we should perhaps consider removing keygrabber support

Re: gradients in master

2012-02-29 Thread Anurag Priyam
On Wed, Feb 29, 2012 at 2:57 PM, Uli Schlachter psyc...@znc.in wrote: On 26.02.2012 05:01, Anurag Priyam wrote: [...] +    elseif type(col) == table then +        local t = col.type `type` is a core Lua function.  I wonder if it is a good practice to use it is a variable name in our code

Re: [ANN] Definitely Awesome - the latest news about awesome wm

2012-02-25 Thread Anurag Priyam
On Sun, Feb 26, 2012 at 3:10 AM, Alexander Yakushev yakushev.a...@gmail.com wrote: Well, here it is: definitely-awesome.posterous.com [...] What do you think? Wow! Thanks for doing this Alex. We can also call it AWN for fun :) (like LWN). -- Anurag Priyam -- To unsubscribe, send mail

Re: gradients in master

2012-02-25 Thread Anurag Priyam
in our code. Might it be a better idea to redefine the standard `type` as `__type` instead? -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: gradients in master

2012-02-25 Thread Anurag Priyam
On Sun, Feb 26, 2012 at 9:31 AM, Anurag Priyam anurag08pri...@gmail.com wrote: On Fri, Feb 17, 2012 at 10:24 PM, Uli Schlachter psyc...@znc.in wrote: You might be interested in the following commit: commit 2216b6a341ddb840200ea85207f8a59a5b3d61a6 Author: Uli Schlachter psyc...@znc.in Date

Re: [patch] awful.menu: enable keyboard navigation by default

2012-02-25 Thread Anurag Priyam
On Tue, Feb 21, 2012 at 10:45 PM, Anurag Priyam anurag08pri...@gmail.com wrote: On Tue, Feb 21, 2012 at 10:33 PM, Daniel Silverstone dsilv...@digital-scurf.org wrote: [...] local keygrabber = (args.keygrabber == nil) and true or args.keygrabber That might work better for you Thanks Daniel

Re: Menu inside a module

2012-02-21 Thread Anurag Priyam
('beautiful') or after? Does requiring before require('beautiful') help? -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: keygrabber api

2012-02-21 Thread Anurag Priyam
On Mon, Feb 20, 2012 at 7:39 PM, Uli Schlachter psyc...@znc.in wrote: On 19.02.2012 14:56, Anurag Priyam wrote: It feels silly to return true from the callback to keygrabber.run to keep grabbing. [] Pointers?  I would like to change it if possible. keygrabber.run() saves the given

Re: keygrabber api

2012-02-21 Thread Anurag Priyam
). No problems :). -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

[patch] awful.menu: enable keyboard navigation by default

2012-02-21 Thread Anurag Priyam
mean, people take navigating menus from keyboard for granted, courtsey whatever window manager or desktop environment they had been using before, right? Hence the patch. What do you think? -- Anurag Priyam From 0ea140f0031d9105f5144f3f098a8670578ed59e Mon Sep 17 00:00:00 2001 From: Anurag Priyam

Re: [patch] awful.menu: enable keyboard navigation by default

2012-02-21 Thread Anurag Priyam
with a desired falsehood on the left of the 'or' local keygrabber = (args.keygrabber == nil) and true or args.keygrabber That might work better for you Thanks Daniel. I will resend it tomorrow. Need to study for tomorrow's exam now. -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel

keygrabber api

2012-02-19 Thread Anurag Priyam
very limited examples of keygrabber in action. Or is it because the limitation of Lua's C API? I can't really make out from the code how/when the callback is called and where is its return value checked for. Pointers? I would like to change it if possible. -- Anurag Priyam -- To unsubscribe

Re: View next/prev non-empty tag

2012-02-17 Thread Anurag Priyam
On Fri, Feb 17, 2012 at 2:33 PM, Daniel qu...@hack.org wrote:    local num_tags = #screen[s]:tags() local num_tags = #(screen[s]:tags()) Might help? Also you may have to use `capi.screen` instead. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: [patch] filter tables

2012-02-17 Thread Anurag Priyam
, revised 2nd patch. -- Anurag Priyam From 2a2c65a5c5ba932cbe0f1238bf93973f46659db4 Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Fri, 17 Feb 2012 02:32:28 +0530 Subject: [PATCH 2/2] add awful.client.cycle to iterate through clients that match a given condition A common

Re: [patch] filter tables

2012-02-17 Thread Anurag Priyam
On Fri, Feb 17, 2012 at 8:41 PM, Anurag Priyam anurag08pri...@gmail.com wrote: Also: Urgh, really have to add br / inside of code examples? :-( Yeah.  Otherwise all code comes up on the same line in the final HTML out.  This is the most important reason for which I want to see markdown

Re: [patch] filter tables

2012-02-17 Thread Anurag Priyam
. Thanks for the luadoc :). Sadly, cherry pick into 3.4 failed, so this won't end up in 3.4.12 (no, I will not manually fix up stuff). It conflicts because modeline changed in c2ea920ca016a8f19d464fd8a961ad45afcce8b3 !! PFA, the same patches based on 3.4 branch. -- Anurag Priyam From

Re: Switch focus to window by absolute index?

2012-02-16 Thread Anurag Priyam
-chrome} for _, c in ipairs(clients) do if (awful.rule.match(c, property) then return c end end -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Autostart application on specific tag (not permanent with awful.rules.rules)

2012-02-16 Thread Anurag Priyam
-putting ALL further terminal windows there makes no sense. Easiest would be no rules + go to screen 2 tag 4 to launch your first terminal :-|. When I had multiple tags, I used to 'summon' the same terminal (running tmux for tabs) on whatever workspace I was on. -- Anurag Priyam -- To unsubscribe

Re: Autostart application on specific tag (not permanent with awful.rules.rules)

2012-02-16 Thread Anurag Priyam
, it must be the first terminal to be -- invoked, so we move it to a tag c:tags({tags[2][4]}) end }, Sorry, I can't test it because I use one tag only. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Autostart application on specific tag (not permanent with awful.rules.rules)

2012-02-16 Thread Anurag Priyam
with: { rule = { instance = foo }, ... } Opening three terminals by hand and launching the clients inside is what I do now, I just wanted to simplify this. And you can directly run a command with `-e` switch: urxvt -name irssi -e irssi -- Anurag Priyam -- To unsubscribe, send mail to awesome

Re: Switch focus to window by absolute index?

2012-02-16 Thread Anurag Priyam
) local i = start repeat i = awful.util.cycle(#clients, i + 1) if (awful.rule.match(clients[i], property) then return clients[i] end until i == start -- full cycle end Untested. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

[patch] filter tables

2012-02-16 Thread Anurag Priyam
from awful.widget.tasklist? If you like the idea I will document the functions, write proper commit message and re-send the patches. -- Anurag Priyam From 397d3a41f158d433be5199b828c622f89f1552b0 Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Fri, 17 Feb 2012 02:30

Re: [patch] filter tables

2012-02-16 Thread Anurag Priyam
On Fri, Feb 17, 2012 at 4:01 AM, Anurag Priyam anurag08pri...@gmail.com wrote: [...] However, most of the times starting to iterate from the currently focused client helps, so I can iterate through Chrome instances in order starting from the one focused. I started off wanting to make this task

Re: [patch] cycle through marked clients

2012-02-06 Thread Anurag Priyam
On Tue, Feb 7, 2012 at 2:23 AM, Uli Schlachter psyc...@znc.in wrote: On 05.02.2012 22:30, Anurag Priyam wrote: This was discussed sometime back on the users list: http://comments.gmane.org/gmane.comp.window-managers.awesome/7290. I wonder if it would be of general interest. He, almost a year

[patch] cycle through marked clients

2012-02-05 Thread Anurag Priyam
Priyam From 3cf63102f9d74e72c1e621045234dfb92378d952 Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Sun, 5 Feb 2012 17:59:25 +0530 Subject: [PATCH] awful.client: add helper method to cycle through marked clients Signed-off-by: Anurag Priyam anurag08pri...@gmail.com --- lib

Re: Missing line numbers and more weirdness with vim

2012-01-26 Thread Anurag Priyam
On Fri, Jan 27, 2012 at 9:05 AM, Perry Hargrave resix...@gmail.com wrote: Do you get the problem with vim -u NONE Or with gvim? -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Awesome wm in Kindle Touch!

2012-01-24 Thread Anurag Priyam
it. But as far as I know, they are trying to change that. Let's help them out. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Awesome wm in Kindle Touch!

2012-01-24 Thread Anurag Priyam
On Wed, Jan 25, 2012 at 8:45 AM, Anurag Priyam anurag08pri...@gmail.com wrote: We could be collectively engineering the user interface of Kindle. Not just the user interface but also the software feature set depending on the hardware capabilities. Of course, there are a lot of parameters

Re: Awesome wm in Kindle Touch!

2012-01-24 Thread Anurag Priyam
then :-|. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: tooltip bug?

2012-01-15 Thread Anurag Priyam
and 3rd to account for the changes you just made. I am still sending the original series in case you decide my approach is better and want to revert your commit -- I decided to put the `by_ccord` in `awful.screen` as `awful.screen.getbycoord`. -- Anurag Priyam From

Re: tooltip bug?

2012-01-15 Thread Anurag Priyam
/awesome/lib/wibox/init.lua:213 error: /usr/local/share/awesome/lib/awful/placement.lua:110: bad argument #2 to '?' (number expected, got userdata) -- Anurag Priyam From a6235a16e264303bbdb12b977c3273ad105f2a32 Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Sun, 15 Jan 2012

Re: tooltip bug?

2012-01-15 Thread Anurag Priyam
index, not screen object, right? Search and replace error? Yep :-|. My tooltip was working, so that lowered my guards too. Fixed in the attached patch. git fetch origin isn't returning anything. You messaged too early? Or server issues? -- Anurag Priyam From

Re: tooltip bug?

2012-01-15 Thread Anurag Priyam
On Sun, Jan 15, 2012 at 9:56 PM, Anurag Priyam anurag08pri...@gmail.com wrote: Fixed in the attached patch. Author: Anurag Priyam anurag08pri...@gmail.com Date:   Sun Jan 15 16:27:47 2012 +0530 awful.placement: can now operate on any object with a set geometry So the utility

Re: tooltip bug?

2012-01-14 Thread Anurag Priyam
On Fri, Jan 13, 2012 at 10:20 PM, Uli Schlachter psyc...@znc.in wrote: On 13.01.2012 15:17, Anurag Priyam wrote: [...] That essentially means awful.tooltip and awful.mouse.finder are broken (in git master). Doesn't look like it has anything to do with my particular setup. I will see if I can

Re: tooltip bug?

2012-01-13 Thread Anurag Priyam
On Thu, Jan 12, 2012 at 8:04 PM, Uli Schlachter psyc...@znc.in wrote: On 12.01.2012 10:27, Anurag Priyam wrote:     self.wibox.screen = mouse.screen [...] How would you explain that? Meh. You are using git master. commit 08cd44dda71b2c62d441941c50c64e1165975d7b Author: Uli Schlachter psyc

Re: [RFC] documentation system (was: [PATCH] gears.colors)

2012-01-13 Thread Anurag Priyam
On Fri, Jan 13, 2012 at 1:14 PM, Uli Schlachter psyc...@znc.in wrote: On 11.01.2012 14:30, Anurag Priyam wrote: I am not sure how exactly to proceed, but here is the general idea: [...] * figure out how to integrate into awesome's build system This last step can be skipped. I'd volunteer

tooltip bug?

2012-01-12 Thread Anurag Priyam
: ... in tooltip.show 1 nil nil ... How would you explain that? -- Anurag Priyam -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Re: gradients in master

2012-01-11 Thread Anurag Priyam
On Wed, Jan 11, 2012 at 11:20 AM, Anurag Priyam anurag08pri...@gmail.com wrote: How would the following, 3.4.x code, translate to master: [...] -- but what about gradients ?? cpugraph:set_gradient_angle(0) cpugraph:set_gradient_colors({ beautiful.fg_end_widget,    beautiful.fg_center_widget

Re: gradients in master

2012-01-11 Thread Anurag Priyam
On Wed, Jan 11, 2012 at 5:05 PM, Uli Schlachter psyc...@znc.in wrote: On 11.01.2012 09:50, Anurag Priyam wrote: [...] cpugraph:set_color(linear:0,0:8,14:0,#FF5656:0.5,#88A175:1,#AECF96) nice to know you managed to fight through that mess. Now that you saw the evil, any ideas how this syntax

Re: [PATCH] gears.colors: expose docs for 2 functions

2012-01-11 Thread Anurag Priyam
On Wed, Jan 11, 2012 at 12:28 PM, Anurag Priyam anurag08pri...@gmail.com wrote: gears.color: expose documentation for create_(linear|radial)_pattern functions Spotted a few more quirks in gears.color's documentation when looking for a way to define gradients for graph and progressbar widgets: 1

[RFC] documentation system (was: [PATCH] gears.colors)

2012-01-11 Thread Anurag Priyam
On Wed, Jan 11, 2012 at 4:01 PM, Anurag Priyam anurag08pri...@gmail.com wrote: gears.color docs: replace literal '' and '' with respective HTML entities I remember, I had sent a similar patch earlier too. It was to fix markup for awful.menu's documentation. Such patches are indicative

Re: ANN: Menubar - decent application menu for Awesome

2012-01-10 Thread Anurag Priyam
you, I shamelessly amend public commits when it comes to my configuration files. [1]: https://awesome.naquadah.org/wiki/Awesome_3.4_to_git_master [2]: https://github.com/yeban/awesomerc/ [3]: https://github.com/yeban/awesomerc/commit/b18c69d073c6c50dce1e3f681b2b37d81a1b7b9b -- Anurag Priyam

gradients in master

2012-01-10 Thread Anurag Priyam
about gradients ?? cpugraph:set_gradient_angle(0) cpugraph:set_gradient_colors({ beautiful.fg_end_widget,    beautiful.fg_center_widget, beautiful.fg_widget }) ``` I looked into gears.color, but I am unable to make much sense of it. -- Anurag Priyam -- To unsubscribe, send mail to awesome

[PATCH] fix errors in awful.tooltip docs

2012-01-10 Thread Anurag Priyam
occurrences of 'K'. -- Anurag Priyam From bebe1ad4e9ee0b8f72fcb161ef60ce21217c82cd Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Tue, 10 Jan 2012 15:52:11 +0530 Subject: [PATCH] awful.tooltip docs: replace references to undefined variable 'K' with 'myclock' Most

[PATCH] gears.colors: expose docs for 2 functions

2012-01-10 Thread Anurag Priyam
gears.color: expose documentation for create_(linear|radial)_pattern functions The documentation for these functions were hidden (intentionally?) from luadoc because of misspelt @class and @name tags. Fixed the spelling, so luadoc can do its job. [...] -- Anurag Priyam From

Re: Wallpaper widgets

2012-01-05 Thread Anurag Priyam
Anurag Priyam anurag08pri...@gmail.com wrote: On Fri, Dec 16, 2011 at 11:43 PM, Alexander Yakushev yakushev.a...@gmail.com wrote: I use transparent wiboxes instead of conky. Here's how it look (top screenshot): http://www.linux.org.ru/gallery/6455144.png . So, how exactly is it done

[PATCH] client property hints in tasklist

2012-01-05 Thread Anurag Priyam
Started using awesome from git master few hours back. Couldn't help notice the sweet, client property hints (for ontop, floating and stuff) in the tasklist :). Attached are two minor improvements that I think will make it even better. -- Anurag Priyam From

Re: [PATCH] client property hints in tasklist

2012-01-05 Thread Anurag Priyam
in one corner. So I used a bullet first, but it was hardly noticeable. Hence the square. Do you think a bullet would be better? Could you change the first patch, turn [▪] into ▪ in the second patch and re-send? In a while. Thanks for the review :). -- Anurag Priyam -- To unsubscribe, send

Re: [PATCH] client property hints in tasklist

2012-01-05 Thread Anurag Priyam
On Thu, Jan 5, 2012 at 11:14 PM, Anurag Priyam anurag08pri...@gmail.com wrote: On Thu, Jan 5, 2012 at 10:46 PM, Uli Schlachter psyc...@znc.in wrote: Could you change the first patch, turn [▪] into ▪ in the second patch and re-send? In a while. There you go. Though, I would still argue

Re: [PATCH] client property hints in tasklist

2012-01-05 Thread Anurag Priyam
sticky, but instead on some other signal later. Thanks :). -- Anurag Priyam From 740e5a16befaeb7efc8ac9a68036555435b25648 Mon Sep 17 00:00:00 2001 From: Anurag Priyam anurag08pri...@gmail.com Date: Fri, 6 Jan 2012 00:54:33 +0530 Subject: [PATCH] tasklist: indicate sticky clients with a solid

Re: Wallpaper widgets

2012-01-04 Thread Anurag Priyam
the default, top wibox, I want clients to draw over this new transparent wibox of mine, so it looks like a part of the wallpaper. -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Feeding output to naughty

2012-01-02 Thread Anurag Priyam
({text = '$(mpc current)'}) | awesome-client -- Anurag Priyam -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Wallpaper widgets

2011-12-16 Thread Anurag Priyam
On Fri, Dec 16, 2011 at 11:43 PM, Alexander Yakushev yakushev.a...@gmail.com wrote: I use transparent wiboxes instead of conky. Here's how it look (top screenshot): http://www.linux.org.ru/gallery/6455144.png . Is that todo list sort of thing on the right from org-mode? -- Anurag Priyam

Re: no-input window possible???

2011-12-13 Thread Anurag Priyam
the no input on/off dynamically. Just wanted to +1 this. It would be a nice feature to have (unless we have it already). I could use such a window to display lyrics of the currently playing song unobtrusively. Earlier, I used to display lyrics in a tooltip for my mpd widget. -- Anurag Priyam

  1   2   3   >