Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Xmonad

1,572 bytes added, 18:54, 16 November 2009
Ackthet's xmonad.hs and .xmobarrc
=Ackthet's xmonad.hs and .xmobarrc=
Here is an example .xmobarrc:
<pre>
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"] 10
, Run Network "wlan0" ["-L","0","-H","32","-l", "green", "--normal","orange","--high","red"] 10
, Run Cpu ["<cpu0>/<cpu1>","-L","3","-H","50","-l","green","--normal","orange","--high","red"] 10
, Run Cpu ["<cpu0>","-L","3","-H","50","-l","green","--normal","orange","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%", "-l", "green", "--normal","orange","--high","red"] 10
, 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"] 10
, Run Battery ["-L","50","-H","75","--high","green","--normal","yellow", "--low", "red"] 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = " %StdinReader% }{ %cpu% @ %cpufreq% <fc=#0033FF>|</fc> %memory% <fc=#0033FF>|</fc> %eth0% <fc=#0033FF>|</fc> %wlan0% <fc=#0033FF>|</fc> %date% <fc=#0033FF>|</fc> %battery%"
}
</pre>
 
<pre>
--
Anonymous user