trigger xmonad commands with shell script

Dear all, 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?

On Tue, Sep 16, 2014 at 10:43 AM, Sepp Tannhuber
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@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
participants (2)
-
Brandon Allbery
-
Sepp Tannhuber