mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
Merge pull request #349 from sergeykish/master
Use XFT fonts if available
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
-----------------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : XMonad.Actions.ShowText
|
||||
@@ -74,7 +75,11 @@ data ShowTextConfig =
|
||||
|
||||
instance Default ShowTextConfig where
|
||||
def =
|
||||
#ifdef XFT
|
||||
STC { st_font = "xft:monospace-20"
|
||||
#else
|
||||
STC { st_font = "-misc-fixed-*-*-*-*-20-*-*-*-*-*-*-*"
|
||||
#endif
|
||||
, st_bg = "black"
|
||||
, st_fg = "white"
|
||||
}
|
||||
|
Reference in New Issue
Block a user