[xmonad] Always sink mplayer
Ricardo Martins
ricardo at scarybox.net
Thu Dec 4 05:28:35 EST 2008
Oops, it seems I forgot to reply to list. Sorry!
On Thu, 04 Dec 2008 10:24, Jesús Guerrero wrote:
> Hello,
>
> I can't seem to find anything (that works) that allows me to start mplayer
> sinked into the layout. I don't want it to float since I start mplayer
> into a separate monitor. I use the latest git as of today's date. Is there
> anything like doSink (instead of doFloat) or something like that?
>
> Thanks in advance.
> --
> Jesús Guerrero
Try adding the following to your manageHook:
[ className =? "MPlayer" --> (ask >>= doF . W.sink) ]
I use the same technique to sink qwit [1] on start.
[1] http://code.google.com/p/qwit/
Regards,
--
Ricardo Martins * scarybox.net * GPG key: 0x1308F1B4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20081204/a5a71420/attachment.bin
More information about the xmonad
mailing list