[xmonad] trigger xmonad commands with shell script
Brandon Allbery
allbery.b at gmail.com
Tue Sep 16 15:04:41 UTC 2014
On Tue, Sep 16, 2014 at 10:43 AM, Sepp Tannhuber <sepp.tannhuber at yahoo.de>
wrote:
> I would like to raise a certain window from within a shell script.
> Is it possible to trigger xmonad to execute something like
> raiseMaybe (runInTerm "-title myWindow" "myWindow") (title =? "myWindow")
> with a shell script? Or do you know any other possibility to raise a window
> from a shell?
>
There is no way to specify a ManageHook like that from a shell script. But
for just raising a window, include EwmhDesktops in your config (or start
your config from XMonad.Config.Desktop) and use `wmctrl`.
--
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/20140916/00e096eb/attachment.html>
More information about the xmonad
mailing list