From b89668884f021e1023160febb680a43588a6aeaa Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 15 Dec 2017 03:32:27 +0100 Subject: Configurable WM_CLASS and WM_NAME (should address #323) --- src/Config.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Config.hs') diff --git a/src/Config.hs b/src/Config.hs index 59d6bd4..b131648 100644 --- a/src/Config.hs +++ b/src/Config.hs @@ -50,6 +50,8 @@ import Plugins.DateZone data Config = Config { font :: String -- ^ Font , additionalFonts :: [String] -- ^ List of alternative fonts + , wmClass :: String -- ^ X11 WM_CLASS property value + , wmName :: String -- ^ X11 WM_NAME property value , bgColor :: String -- ^ Backgroud color , fgColor :: String -- ^ Default font color , position :: XPosition -- ^ Top Bottom or Static @@ -112,6 +114,8 @@ defaultConfig :: Config defaultConfig = Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" , additionalFonts = [] + , wmClass = "xmobar" + , wmName = "xmobar" , bgColor = "#000000" , fgColor = "#BFBFBF" , alpha = 255 -- cgit v1.2.3