On Sun, 27 Jan 2013 11:55:28 +0100
Petro <[email protected]> wrote:

> Hi all.
> I wanted a hint about a possibility of certain behaviour in awesome. I
> have browser (I use Firefox now but uzbl looks promising for such
> things) and emacs bound to appear in different tabs. I want to
> implement the following sequence. from browser an emacs instance is
> started (via some script), then the emacs tab become active, after
> emacs is closed, the tab with browser is active again.
> 
> Is it possible to implement? Can I control tags from a command line?
> May be there is another way to do it?
> 
> Thanks.
> Petro

You can send arbitrary Lua to Awesome to run by piping commands to
awesome-client, for example this selects the second tag on the first
screen with awesome 3.5:

    echo 'local tag = require("awful.tag"); tag.viewonly(tags[1][2])' \
        | awesome-client

Should be easy to do if you can leave all the switching to the
(shell?) script.

Cheers,
Bryan

-- 
To unsubscribe, send mail to [email protected].

Reply via email to