Difference between revisions of "Xmonad/Config archive/oxymor00n's xmobarrc"
< Xmonad | Config archive
Jump to navigation
Jump to search
(my xmobarrc) |
(sync) |
||
Line 1: | Line 1: | ||
<haskell> |
<haskell> |
||
− | Config { font = "- |
+ | Config { font = "xft:Consolas-11:style=bold" |
, bgColor = "black" |
, bgColor = "black" |
||
, fgColor = "lightskyblue" |
, fgColor = "lightskyblue" |
||
, position = Top |
, position = Top |
||
− | , commands = [ Run Weather "LOWZ" ["-t","<station>: <tempC>C, <skyCondition>","-L","18","-H","25","--normal"," |
+ | , commands = [ Run Weather "LOWZ" ["-t","<station>: <tempC>°C, <skyCondition>","-L","18","-H","25","--normal","aquamarine2","--high","chocolate1","--low","lightskyblue"] 36000 |
− | , Run Network "eth0" ["-L","0","-H","32","--normal"," |
+ | , Run Network "eth0" ["-L","0","-H","32","--normal","aquamarine2","--high","chocolate1"] 10 |
− | , Run Cpu ["-L","15","-H","50","--normal"," |
+ | , Run Cpu ["-L","15","-H","50","--normal","aquamarine2","--high","chocolate1"] 10 |
, Run Memory ["-t","Mem: <usedratio>%"] 10 |
, Run Memory ["-t","Mem: <usedratio>%"] 10 |
||
− | , Run Swap [] 10 |
||
− | , Run Com "uname" ["-s","-r"] "" 36000 |
||
, Run Date "%a %b %_d %Y" "date" 360 |
, Run Date "%a %b %_d %Y" "date" 360 |
||
, Run Date "%H:%M:%S" "time" 10 |
, Run Date "%H:%M:%S" "time" 10 |
||
, Run StdinReader |
, Run StdinReader |
||
− | , Run CpuFreq ["-t","< |
+ | , Run CpuFreq ["-t","<cpu0>Ghz"] 10 |
] |
] |
||
, sepChar = "%" |
, sepChar = "%" |
||
, alignSep = "}{" |
, alignSep = "}{" |
||
− | , template = "%StdinReader% }{[ |
+ | , template = "%StdinReader% }{[%eth0%][%cpu%@%cpufreq%][%memory%]<fc=DarkSlateGray3>[ %date% ]</fc><fc=aquamarine2,black>[ %time% ]</fc>" |
} |
} |
||
</haskell> |
</haskell> |
Latest revision as of 12:03, 18 March 2008
Config { font = "xft:Consolas-11:style=bold"
, bgColor = "black"
, fgColor = "lightskyblue"
, position = Top
, commands = [ Run Weather "LOWZ" ["-t","<station>: <tempC>°C, <skyCondition>","-L","18","-H","25","--normal","aquamarine2","--high","chocolate1","--low","lightskyblue"] 36000
, Run Network "eth0" ["-L","0","-H","32","--normal","aquamarine2","--high","chocolate1"] 10
, Run Cpu ["-L","15","-H","50","--normal","aquamarine2","--high","chocolate1"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Date "%a %b %_d %Y" "date" 360
, Run Date "%H:%M:%S" "time" 10
, Run StdinReader
, Run CpuFreq ["-t","<cpu0>Ghz"] 10
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{[%eth0%][%cpu%@%cpufreq%][%memory%]<fc=DarkSlateGray3>[ %date% ]</fc><fc=aquamarine2,black>[ %time% ]</fc>"
}