On 03.12.2013 08:44, Vincent Bernat wrote:
> ❦ 2 décembre 2013 22:57 CET, Uli Schlachter <[email protected]> :
>
>>> [1] xprop -f WM_AWESOME_TAGS 8s -set WM_AWESOME_TAGS tag1,tag2
>>
>> Such a property (almost) already exists and is called _NET_WM_DESKTOP. It is
>> used for saving the first (and only the first, this is the "almost" part) tag
>> that a client is attached to (mostly because EWMH demands this).
>
> Is it possible to read it from Lua without using an external tool?
Nope, by the time Lua sees a client and can work with it, awesome already
overwrote that property with whatever tags the client now belongs to, sorry.
Uli
--
"Do you know that books smell like nutmeg or some spice from a foreign land?"
-- Faber in Fahrenheit 451
--
To unsubscribe, send mail to [email protected].