On Nov 3, 2012 1:14 PM, "Claudio Kozický" <[email protected]> wrote:
> So I need to somehow detect, if the chromium window Awesome is about to
> move was autorun or not.  Came up with this - autorun chromium with a
> command like "echo 1 > .chromium-autorun && chromium", then when Awesome
> sees a newly spawned chromium window, it checks .chromium-autorun (it's
> a file) and if it finds "1" there, moves the chromium window to tag 3
> and deletes the .chromium-autorun file, therefore preventing multiple
> windows being moved. But the problem is that I have no idea how to make
> Awesoem check the file *before* moving the window and removing the file.
> Does anyone know how?

Use a callback instead of rule properties.

Reply via email to