<p dir="ltr">Interesting, I didn't know about ConfirmPrompt! So many contrib modules.</p>
<p dir="ltr">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.</p>
<p dir="ltr">Also, insert shameless plug for the even more modern X.C.Prime module - I think it makes configs look nicer, personally.</p>
<div class="gmail_quote">On Dec 28, 2015 7:56 AM, "Tuncer Ayaz" <<a href="mailto:tuncer.ayaz@gmail.com">tuncer.ayaz@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 28 December 2015 at 14:51, Tuncer Ayaz <<a href="mailto:tuncer.ayaz@gmail.com">tuncer.ayaz@gmail.com</a>> wrote:<br>
<br>
> Here's a minimal, modern xmonad.hs, which we should include in the<br>
> announcement and ideally also on the website's getting started page.<br>
> Feel free to improve.<br>
<br>
Accidentally omitted:<br>
<br>
What's modern about it is that it uses<br>
<br>
(1) the new config module<br>
(2) built-in launcher prompt<br>
(3) built-in prompt module for exit confirmation<br>
<br>
It doesn't require dmenu and shows how to configure key bindings the<br>
modern way.<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div>