annotate .xmobarrc @ 388:c35759aceed4
emacs: add a hook to handle ANSI colors in compilation buffers
Some tools just blindly assume they're printing to a color-supporting
terminal. Since fixing them is probably impractical, we'll just work around
their stupidity.
author |
Augie Fackler <raf@durin42.com> |
date |
Mon, 01 Feb 2016 17:30:54 -0500 |
parents |
cf3ed4aa3e52 |
children |
|
rev |
line source |
199
|
1 Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" |
|
2 , bgColor = "black" |
|
3 , fgColor = "grey" |
|
4 , position = Top |
|
5 , lowerOnStart = True |
|
6 , commands = [ Run Weather "KPWK" ["-t","<tempC>C/<tempF>F, <skyCondition>, RH <rh>%"] 36000 |
|
7 , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 50 |
|
8 , Run Memory ["-t","Mem: <usedratio>%"] 50 |
|
9 , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 |
|
10 ] |
|
11 , sepChar = "%" |
|
12 , alignSep = "}{" |
|
13 , template = "%cpu% | %memory% }{ %KPWK% | <fc=#ee9a00>%date%</fc>" |
|
14 } |