Difference between revisions of "Xmonad/Config archive/oxymor00n's xmobarrc"

From HaskellWiki
Jump to navigation Jump to search
(my xmobarrc)
 
(sync)
 
Line 1: Line 1:
 
<haskell>
 
<haskell>
Config { font = "-*-Bandal-*-*-*-*-12-*-*-*-*-*-*-*"
+
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","green","--high","red","--low","lightblue"] 36000
+
, 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","DarkGoldenrod","--high","red"] 10
+
, Run Network "eth0" ["-L","0","-H","32","--normal","aquamarine2","--high","chocolate1"] 10
, Run Cpu ["-L","15","-H","50","--normal","DarkGoldenrod","--high","red"] 10
+
, 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","<core0>Ghz"] 10
+
, Run CpuFreq ["-t","<cpu0>Ghz"] 10
 
]
 
]
 
, sepChar = "%"
 
, sepChar = "%"
 
, alignSep = "}{"
 
, alignSep = "}{"
, template = "%StdinReader% }{[ %eth0% ][ %cpu% @ %cpufreq% ][ %LOWZ% ]<fc=DarkSlateGray3>[ %date% ]</fc><fc=aquamarine2,black>[ %time% ]</fc>"
+
, 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>"
       }