diff options
author | jao <jao@gnu.org> | 2017-12-15 03:32:27 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2017-12-15 03:32:27 +0100 |
commit | b89668884f021e1023160febb680a43588a6aeaa (patch) | |
tree | ec625019888664efb6c7502b754269daebab16db /src/Config.hs | |
parent | a7bc612666062b5c48efae74054a453334727e91 (diff) | |
download | xmobar-b89668884f021e1023160febb680a43588a6aeaa.tar.gz xmobar-b89668884f021e1023160febb680a43588a6aeaa.tar.bz2 |
Configurable WM_CLASS and WM_NAME (should address #323)
Diffstat (limited to 'src/Config.hs')
-rw-r--r-- | src/Config.hs | 4 |
1 files changed, 4 insertions, 0 deletions
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 |