Skip to content

Instantly share code, notes, and snippets.

@pd
Created April 7, 2011 17:13
Show Gist options
  • Save pd/908228 to your computer and use it in GitHub Desktop.
Save pd/908228 to your computer and use it in GitHub Desktop.
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)
-- 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