Created
January 26, 2013 22:35
-
-
Save polachok/4645103 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iconDir = "/home/plhk/.xmobar/" | |
getIcon s = "<icon=" ++ iconDir ++ s ++ ".xbm" ++ ">" | |
------------------------------------------------------------------------ | |
-- Now run xmonad with all the defaults we set up. | |
-- Run xmonad with the settings you specify. No need to modify this. | |
-- | |
main = do | |
xmonad =<< statusBar "xmobar" myPP toggleStrutsKey defaults | |
myPP = defaultPP { ppCurrent = \d -> xmobarColor "#74D9EE" "#222222" . pad $ (getIcon d) ++ d, | |
ppHidden = \d -> (getIcon d) ++ d, | |
--ppTitle = xmobarColor "" "#222222", | |
ppSep = " ", | |
ppLayout = \l -> xmobarColor "#74d9ee" "#222222" . pad $ (getIcon l) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment