summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-08-14 21:37:28 +0200
committertv <tv@krebsco.de>2018-08-14 21:37:28 +0200
commit97c4b6c5a2db1591a6bf181f787e109b827684ab (patch)
tree08e8265b6a5f40a18f8c191559a71b62ac077f49
parente5085203cb7c8fd67c7876a2a47e1e68a141be99 (diff)
use XFT harder!v1.2.0ni/master
-rw-r--r--XMonad/Stockholm/Font.hs4
-rw-r--r--xmonad-stockholm.cabal2
2 files changed, 6 insertions, 0 deletions
diff --git a/XMonad/Stockholm/Font.hs b/XMonad/Stockholm/Font.hs
index ed801cc..40bb332 100644
--- a/XMonad/Stockholm/Font.hs
+++ b/XMonad/Stockholm/Font.hs
@@ -5,6 +5,10 @@ module XMonad.Stockholm.Font
, printStringXMF'
) where
+#ifdef XFT
+import Graphics.X11.Xft
+import Graphics.X11.Xrender
+#endif
import XMonad
import XMonad.Util.Font
diff --git a/xmonad-stockholm.cabal b/xmonad-stockholm.cabal
index a6a90d8..21935e3 100644
--- a/xmonad-stockholm.cabal
+++ b/xmonad-stockholm.cabal
@@ -10,6 +10,7 @@ Library
base,
containers,
X11,
+ X11-xft,
X11-xshape,
xmonad,
xmonad-contrib
@@ -20,4 +21,5 @@ Library
XMonad.Stockholm.Shutdown
XMonad.Stockholm.Submap
XMonad.Stockholm.XUtils
+ CPP-Options: -DXFT
GHC-Options: -Wall -O3 -threaded -rtsopts