xmobar/xmobar-default-fonts.patch

31 lines
1.1 KiB
Diff

--- a/samples/xmobar.config 2010-12-24 05:12:22.000000000 +0300
+++ b/samples/xmobar.config 2011-05-28 17:57:04.141822660 +0400
@@ -1,4 +1,4 @@
-Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
+Config { font = "xft:mono-12"
, borderColor = "black"
, border = TopB
, bgColor = "black"
--- xmobar-0.16/src/XUtil.hsc~ 2012-12-03 08:47:56.000000000 +0900
+++ xmobar-0.16/src/XUtil.hsc 2013-01-19 19:12:52.273165837 +0900
@@ -92,7 +92,7 @@
#endif
miscFixedFont :: String
-miscFixedFont = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
+miscFixedFont = "-misc-fixed-*-*-*-*-13-*-*-*-*-*-*-*"
-- | Given a fontname returns the font structure. If the font name is
-- not valid the default font will be loaded and returned.
--- a/src/Config.hs 2013-06-05 07:37:16.000000000 +0900
+++ b/src/Config.hs 2013-06-07 13:49:58.579730878 +0900
@@ -104,7 +104,7 @@
-- | The default configuration values
defaultConfig :: Config
defaultConfig =
- Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
+ Config { font = "xft:mono-12"
, bgColor = "#000000"
, fgColor = "#BFBFBF"
, position = Top