Interesting, I didn't know about ConfirmPrompt! So many contrib modules.

FYI, you don't need to use removeKeysP to update existing key bindings, as it's backed by a Data.Map - just the additionalKeysP will do.

Also, insert shameless plug for the even more modern X.C.Prime module - I think it makes configs look nicer, personally.

On Dec 28, 2015 7:56 AM, "Tuncer Ayaz" <tuncer.ayaz@gmail.com> wrote:
On 28 December 2015 at 14:51, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:

> Here's a minimal, modern xmonad.hs, which we should include in the
> announcement and ideally also on the website's getting started page.
> Feel free to improve.

Accidentally omitted:

What's modern about it is that it uses

(1) the new config module
(2) built-in launcher prompt
(3) built-in prompt module for exit confirmation

It doesn't require dmenu and shows how to configure key bindings the
modern way.
_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad