[xmonad] Per-workspace Application Instances
Brandon Allbery
allbery.b at gmail.com
Mon Aug 25 17:20:56 UTC 2014
On Mon, Aug 25, 2014 at 1:11 PM, Chris Bell <cwbell at mail.usf.edu> wrote:
> The problem is, I don't know where to start with this. My idea was to
> use environment variables to identify the current workspace, but I'm
> not sure how to. Any suggestions/ideas are greatly appreciated!
>
Add EwmhDesktops to your config and use wmctrl or xprop -root to get the
current desktop. Both will require processing the output: "wmctrl -d"
indicates the current desktop with an asterisk and "xprop -root -notype
_NET_CURRENT_DESKTOP" includes the property name.
--
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/20140825/ee4b43cb/attachment.html>
More information about the xmonad
mailing list