
Hi! Thanks very much for your comments :) I think it's OK to change the button. Really, I was not very sure of how a "menu" button should look, so I drew the first thing that came to my mind. And your icon is more sensible for a "menu" button than mine. I'm now looking for some other ways to improve the image of the title bar, maybe using real images and backgrounds instead of list of pixels. However, I'm having some trouble thinking how XMonad could locate the image files in the disk. Does anyone have an idea about this?
Date: Fri, 2 Apr 2010 19:59:08 +0200 From: "Jan Vornberger"
Subject: Re: [xmonad] Image buttons in title bars To: xmonad@haskell.org Message-ID: <20100402175908.GA23701@archer.localdomain.org> Content-Type: text/plain; charset="us-ascii" Hi Alejandro!
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
On Wed, Mar 31, 2010 at 11:48:27AM +0200, Alejandro Serrano Mena wrote: 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