
Hi, is there a way to decorate windows in XMonad? I'm thinking of a small title bar in which the window title is shown (nothing graphically complicated, only a simple constant color rectangle, maybe a simple 3D emboss effect). By itself XMonad seems to support only a single-color border indicating the focus state of the window. And I did not find a contribution allowing decorations either. So my question: Is there already something allowing me to decorate windows in XMonad? Or are there plans to implement such a thing? Cheers, Daniel

On Sun, 06 Jan 2008 23:45:47 +0100
Daniel Fischer
Hi,
is there a way to decorate windows in XMonad? I'm thinking of a small title bar in which the window title is shown (nothing graphically complicated, only a simple constant color rectangle, maybe a simple 3D emboss effect).
By itself XMonad seems to support only a single-color border indicating the focus state of the window. And I did not find a contribution allowing decorations either.
AFAIK, the tabbed layout does something similar to what you're proposing (it draws a small title bar with the window title written in it). Now I didn't look at the code but I think that could be a good hint on where to start looking. Cheers, Zsolt P.s.: Sorry if this email gets through twice.

On Sun, Jan 06, 2008 at 11:45:47PM +0100, Daniel Fischer wrote:
So my question: Is there already something allowing me to decorate windows in XMonad? Or are there plans to implement such a thing?
yes and no... yes, there are the XMonad.Utils.XUtils XMonad.Utils.Font modules which provide many useful functions for creating decorations (look at XMonad.Layout.Tabbed and XMonad.Layout.DragPane for examples), but basically these are just shorthands for xlib functions, so you need to do all the xlib stuff by hand. Hope this helps. Feel free to ask even haskell/xlib questions here: it may be possible that someone has some kind of answer. Cheers, Andrea
participants (3)
-
Andrea Rossato
-
Daniel Fischer
-
Dollenstein Zsolt