Hi,

On 29.01.2013 02:40, Sean Goodwin wrote:
> I'm trying to find a way to retrieve the current selected tag for a given
> screen. If screen 1 was on tag 3, this function/whatever would return 3.
> You get the idea. Is there anyway to do this?

$ echo 'local awful = require("awful") ; return
awful.util.table.hasitem(awful.tag.gettags(1), awful.tag.selected(1))' |
awesome-client
   double 4
$ echo 'local awful = require("awful") ; return
awful.util.table.hasitem(awful.tag.gettags(2), awful.tag.selected(2))' |
awesome-client
   double 1

Cheers,
Uli
-- 
Bitte nicht mit dem verbleibenden Auge in den Laser gucken.
 - Vincent Ebert

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

Reply via email to