turn any window into a statusbar or manage/unmage windows 'remotely'

Hi, as the question: 'How can I make xmonad ignore application "foo" and have it appear on every workspace?' is kind of a FAQ in xmonad's IRC channel, i wrote a tiny application just for this purpose. Source is attached below, usage is trivial: - retreive the window ID of the application you want to unmanage/manage with 'xwininfo' - invoke the program below, like: * unmanage <windowid> * manage <windowid> Compilation und usage instructions are in the code.. Have fun, Rob.

On Wed, Jul 11, 2007 at 09:19:45AM +0200, Robert Manea wrote:
Hi,
as the question:
'How can I make xmonad ignore application "foo" and have it appear on every workspace?'
is kind of a FAQ in xmonad's IRC channel, i wrote a tiny application just for this purpose.
Source is attached below, usage is trivial:
- retreive the window ID of the application you want to unmanage/manage with 'xwininfo'
- invoke the program below, like: * unmanage <windowid> * manage <windowid>
Ok, get this: does the same, in Haskell!
Requires the patch to X11-extras I've just sent.
It does not check if the windowID is correct, but who cares?
;-)
ciao
andrea
(Competition with Robert is so fun, but without his help I would not
be able to do anything like this.
So Thanks Robert for your great help!!!!!!)
-----------------------------------------------------------------------------
-- |
-- Module : XMobar
-- Copyright : (c) Andrea Rossato
-- License : GPL2
--
-- Maintainer : Andrea Rossato
participants (2)
-
Andrea Rossato
-
Robert Manea