Merge pull request #349 from sergeykish/master

Use XFT fonts if available
This commit is contained in:
slotThe
2021-03-24 12:44:09 +01:00
committed by GitHub
5 changed files with 39 additions and 2 deletions

View File

@@ -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"
}