Difference between revisions of "Xmonad/Config archive/jelly(12gen)'s xmobarrc"

From HaskellWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
  +
Scripts can be found on my github[http://github.com/jelly/dotfiles/tree/master]
 
 
<haskell>
 
<haskell>
 
Config { font = "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-u"
 
Config { font = "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-u"
 
, bgColor = "#000000"
 
, bgColor = "#000000"
 
, fgColor = "#00FFFF"
 
, fgColor = "#00FFFF"
, position = Top
+
, position = Top
 
, lowerOnStart = False
 
, lowerOnStart = False
 
, commands = [ Run Network "eth0" ["-L","0","-H","32","-l", "green", "--normal","orange","--high","red"] 40
 
, commands = [ Run Network "eth0" ["-L","0","-H","32","-l", "green", "--normal","orange","--high","red"] 40
Line 10: Line 10:
 
, Run Cpu ["<cpu0>","-L","3","-H","50","-l","green","--normal","orange","--high","red"] 40
 
, Run Cpu ["<cpu0>","-L","3","-H","50","-l","green","--normal","orange","--high","red"] 40
 
, Run Memory ["-t","Mem: <usedratio>%", "-l", "green", "--normal","orange","--high","red"] 40
 
, Run Memory ["-t","Mem: <usedratio>%", "-l", "green", "--normal","orange","--high","red"] 40
, Run Date "%a %b %_d %H:%M" "date" 60
+
, Run Date "%a %b %_d %H:%M" "date" 60
, Run CpuFreq ["-t","Freq:<cpu0>|<cpu1>GHz","-L","0","-H","2","-l","green","-n","orange","-h","red"] 50
+
, Run CpuFreq ["-t","Freq: <cpu0> | <cpu1> GHz","-L","0","-H","2","-l","green","-n","orange","-h","red"] 50
 
, Run StdinReader
 
, Run StdinReader
 
]
 
]
 
, sepChar = "%"
 
, sepChar = "%"
 
, alignSep = "}{"
 
, alignSep = "}{"
, template = " %StdinReader% }{ %cpu% @ %cpufreq% <fc=#0033FF>|</fc> %memory% <fc=#0033FF>|</fc> %eth0% <fc=#0033FF>|</fc> %date%"
+
, template = " %StdinReader% }{ %cpu% @ %cpufreq% <fc=#0033FF>|</fc> %memory% <fc=#0033FF>|</fc> %eth0% <fc=#0033FF>|</fc> %date% "
 
}
 
}
  +
 
</haskell>
 
</haskell>

Latest revision as of 19:26, 24 January 2010

Config { font         = "-*-terminus-*-*-*-*-12-*-*-*-*-*-*-u"  
             , bgColor      = "#000000"
             , fgColor      = "#00FFFF"
	     , position =  Top
             , lowerOnStart = False
             , commands     = [ Run Network "eth0" ["-L","0","-H","32","-l", "green", "--normal","orange","--high","red"] 40
                              , Run Cpu ["<cpu0>/<cpu1>","-L","3","-H","50","-l","green","--normal","orange","--high","red"]   40
                              , Run Cpu ["<cpu0>","-L","3","-H","50","-l","green","--normal","orange","--high","red"]  40
                              , Run Memory ["-t","Mem: <usedratio>%", "-l", "green", "--normal","orange","--high","red"] 40
			      , Run Date "%a %b %_d %H:%M" "date" 60
                              , Run CpuFreq ["-t","Freq: <cpu0> | <cpu1> GHz","-L","0","-H","2","-l","green","-n","orange","-h","red"] 50
                              , Run StdinReader
                              ]
             , sepChar      = "%"
             , alignSep     = "}{"
	     , template = " %StdinReader% }{ %cpu% @ %cpufreq% <fc=#0033FF>|</fc>  %memory% <fc=#0033FF>|</fc> %eth0% <fc=#0033FF>|</fc> %date%             "
             }