diff options
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | xmobar.cabal | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -56,7 +56,7 @@ To install simply run: # Or, to enable UTF-8 support: # runhaskell Setup.lhs configure --flags="with_utf8" # Or, to enable XFT and UTF-8 support: - # runhaskell Setup.lhs configure --flags="use_xft" + # runhaskell Setup.lhs configure --flags="with_xft" runhaskell Setup.lhs build runhaskell Setup.lhs install # possibly to be run as root @@ -83,9 +83,9 @@ This requires the presence of [utf8-string] package. XFT support, which will also enable UTF-8 support, requires the [X11-xft] package too and is enabled by running the configuration -script with the `"use_xft"` flag: +script with the `"with_xft"` flag: - runhaskell Setup.lhs configure --flags="use_xft" + runhaskell Setup.lhs configure --flags="with_xft" Then build [Xmobar] as usual. diff --git a/xmobar.cabal b/xmobar.cabal index 6651a63..8f0d0e2 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -18,7 +18,7 @@ build-type: Simple flag small_base description: Choose the new smaller, split-up base package. -flag use_xft +flag with_xft description: Use Xft to render text. UTF-8 support included. flag with_utf8 @@ -35,7 +35,7 @@ executable xmobar else build-depends: base < 3 - if flag(use_xft) + if flag(with_xft) build-depends: utf8-string, X11-xft >= 0.2 cpp-options: -DXFT |