
Hi Alejandro! On Wed, Mar 31, 2010 at 11:48:27AM +0200, Alejandro Serrano Mena wrote:
Hi, I've implemented a way to show not only text buttons in titlebars but also image buttons. I attach a patch with the neccessary code, basically some extensions to XMonad.Util.XUtils and XMonad.Layout.Decoration, and a theme which uses the code: XMonad.Layout.ImageButtonDecoration.
I had some time now to play with that patch. Cool stuff! Nice that you made something like that work. I'm in favor of applying it, but it touches quite a few places, so I will wait a few days to see if anyone objects (?). I'm thinking of using this in Bluetile. I like your images for the buttons! However, for the menu button, I would prefer this image (somewhat trying to symbolize a window with a titlebar): menuButton' = [[1,1,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1], [1,1,0,0,0,0,0,0,1,1], [1,1,0,0,0,0,0,0,1,1], [1,1,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1]] How do you feel about that? I'm attaching a patch if you'd like to try it out. Regards! Jan