You are not logged in.
I've read this question in XMonad's FAQ, but it doesn't solve the problem.
I've imported "System.IO.UTF8", but I still see weird characters when a window has non-ASCI chars on it.
...
import System.IO.UTF8
...
main = do dz <- spawnPipe myStatusBar
xmonad $ myUrgencyHook $ defaultConfig
{ borderWidth = myBorderWidth
, focusedBorderColor = myFocusedBorderColor
, normalBorderColor = myNormalBorderColor
, focusFollowsMouse = followMouse
, mouseBindings = myMouseBindings
, keys = myKeys
, modMask = myModMask
, terminal = myTerminal
, workspaces = myWorkspaces
, logHook = (dynamicLogWithPP $ myDzenPP dz) >> updatePointer Nearest
, layoutHook = myLayoutHook
, manageHook = myManageHook
}
...
myDzenPP h = defaultPP { ppCurrent = dzenColor "#6b862f" "#333333" . pad
, ppHidden = dzenColor "#e0ddc8" "#222222" . pad
, ppHiddenNoWindows = dzenColor "#999789" "#222222" . pad
, ppTitle = dzenColor "#999789" "#222222" . shorten 120
, ppOutput = System.IO.UTF8.hPutStrLn h
, ppWsSep = ""
, ppUrgent = dzenColor "#ee6363" "#222222" . dzenStrip
, ppLayout = dzenColor "#6b862f" "#222222" .
(\x -> (case (drop 10 x) of
"Tall" -> "Tall"
"Mirror Tall" -> "Mirror"
"Full" -> "Full"
"ReflectX IM ThreeCol" -> "IM"
_ -> pad x))
}
...
Everywhere else and in others WMs it works fine.
TIA
Last edited by andre.ramaciotti (2009-09-07 01:55:18)
(lambda ())
Offline
Use System.IO instead. For some strange reason System.IO.UTF8 did not work for me either, but System.IO did.
Offline
From all the things that occurred to me, not doing anything wasn't one of them.
Thanks!
(lambda ())
Offline