This .xmobarrc
Config {
font = "xft:Sans-8:bold",
bgColor = "black",
fgColor = "grey",
position = Top,
lowerOnStart = False,
commands = [
Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10,
Run Date "%Y-%m-%d %a %H:%M:%S" "date" 10,
Run StdinReader
],
sepChar = "%",
alignSep = "}{",
template = "%cpu% } %StdinReader% { <fc=#ee9a00>%date%</fc> "
}
works on Debian 'squeeze' but on OpenBSD 4.8 i386 produces
xmobar: /home/nick/.xmobarrc: configuration file contains errors at:
"Config" (line 11, column 6):
error reading the commands: this usually means that a command could
not be parsed.
The error could be located at the begining of the command which
follows the offending one. field: [
Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10,
Run Date "%Y-%m-%d %a %H:%M:%S" "date" 10,
Run StdinReader]
It does work if I remove use of the 'Cpu' plugin. Help?
--
Nick