<div dir="ltr">Thanks, I've pushed an improvement to the docs that mentions this.<div><br></div><div>~d</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 12, 2016 at 1:40 PM, Adam Sjøgren <span dir="ltr"><<a href="mailto:asjo@koldfront.dk" target="_blank">asjo@koldfront.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was experimenting with switching from dmenu to XMonad.Prompt.Shell.<br>
<br>
With dmenu I can get the font I want by passing the argument '-fn "DejaVu<br>
Sans Condensed-8:normal"' (a truetype font, using xft).<br>
<br>
I would like the same in XMonad.Prompt.Shell.<br>
<br>
xfontsel(1) of course does not list truetype fonts, and the<br>
documentation only says:<br>
<br>
  "data XPConfig<br>
     Constructors<br>
       XPC<br>
         font :: String    Font"<br>
<br>
    - <a href="http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Prompt.html" rel="noreferrer" target="_blank">http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Prompt.html</a><br>
<br>
So if anyone else runs into this: what you need to know/guess is to<br>
prefix the 'font' with "xft:" in your configuration; i.e.:<br>
<br>
  myPromptConfig = defaultXPConfig<br>
                   {<br>
                     position = Top<br>
                     -- ...<br>
                   , font = "xft:DejaVu Sans Condensed-8"<br>
                   }<br>
<br>
<br>
  Best regards,<br>
<br>
    Adam<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
 "How are you this tiny and this strong? You are              Adam Sjøgren<br>
  like an ant!"                                          <a href="mailto:asjo@koldfront.dk">asjo@koldfront.dk</a><br>
<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>
</font></span></blockquote></div><br></div>