[xmonad] Externally determine active workspace

Brandon Allbery allbery.b at gmail.com
Thu Aug 15 16:08:38 CEST 2013


On Thu, Aug 15, 2013 at 9:57 AM, Mina Nagy Zaki <mnzaki at gmail.com> wrote:

> is there a way to determine the currently active workspace (that which
> contains the focused window) externally, i.e., through a command line
> utility?
>

If you have EwmhDesktops active, you can extract it from

    xprop -root -notype _NET_CURRENT_DESKTOP

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130815/681b5b8e/attachment.htm>


More information about the xmonad mailing list