Allow colors in the form #RRGGBB (ie w/o alpha).
On input, ignore % w/o a { after.

This allows eg “Battery 88%” in the input w/o messing
up the colors.
Avoid compiler warning about ignore return from write.
Merges fixes
Merge branch 'Numeromancer-master' into xft-port

* Numeromancer-master:
  Avoid compiler warning about ignore return from write.
  On input, ignore % w/o a { after.
  Allow colors in the form #RRGGBB (ie w/o alpha).