[xmonad] xmonad Digest, Vol 69, Issue 15

Mario Pastorelli pastorelli.mario at gmail.com
Thu Dec 27 12:09:48 CET 2012

I put the UI configuration in ShowTextConfig and left the text and the 
timeout outside. This is because I expect the user to change often the 
timeout and always the text. But probably the timeout could be put in 

On 12/26/2012 12:00 PM, xmonad-request at haskell.org wrote:
> On Tue, Dec 25, 2012 at 3:51 PM, Mario Pastorelli 
> <pastorelli.mario at gmail.com> wrote:
>> >I wrote a patch for xmonad-contrib 0.10.1 to include an action to show some
>> >text in the centre of the screen. The patch is based on
>> >XMonad.Layout.ShowWName (thank you again Brandon Allbery) but it is an
>> >action and not a layout modifier. In this way it could be used to show some
>> >text when a key is pressed, for example. It includes an event handler to
>> >destroy the window after the timeout.
> Hi Mario,
> I applied your patch. I also changed the type of handleTimerEvent to
> get the example code to typecheck: probably it will also work if the
> first mempty I added were a `return (All False)'.
> Maybe it's useful to put more (all?) arguments of flashText into the
> ShowTextConfig?
> --
> Adam

More information about the xmonad mailing list