Created
April 7, 2011 17:13
-
-
Save pd/908228 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
xmonad.hs:155:7: | |
Ambiguous occurrence `font' | |
It could refer to either `XMonad.Prompt.font', | |
imported from XMonad.Prompt at xmonad.hs:26:1-20 | |
or `Dzen.font', | |
imported from Dzen at xmonad.hs:35:1-11 | |
(defined at lib/Dzen.hs:89:7) |
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
-- snip | |
import XMonad.Prompt | |
import XMonad.Prompt.Shell | |
import Dzen -- from http://pbrisbin.com/xmonad/docs/src/Dzen.html | |
myAdditionalKeys = | |
[ -- run anything | |
("M-S-x", shellPrompt defaultXPConfig) | |
-- snip | |
] | |
-- dzen bars | |
myLeftBar :: DzenConf | |
myLeftBar = defaultDzen | |
{ width = Just $ Percent 45 | |
, font = Just "Droid Sans Mono-10" -- XXX This line is 155 | |
, fg_color = Just "grey" | |
, bg_color = Just "black" | |
, exec = [] | |
} | |
myRightBar :: DzenConf | |
myRightBar = myLeftBar | |
{ alignment = Just RightAlign | |
, x_position = Just $ Percent 45 | |
, width = Just $ Percent 55 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment