Xmonad/Config archive/jelly(12gen)'s xmobarrc
From HaskellWiki
< Xmonad | Config archive(Difference between revisions)
| (2 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
| - | |||
| - | |||
| + | <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","--normal"," | + | , commands = [ Run Network "eth0" ["-L","0","-H","32","-l", "green", "--normal","orange","--high","red"] 40 |
| - | , Run Cpu ["<cpu0>/<cpu1>","-L","3","-H","50","--normal"," | + | , Run Cpu ["<cpu0>/<cpu1>","-L","3","-H","50","-l","green","--normal","orange","--high","red"] 40 |
| - | , Run Cpu ["<cpu0>","-L","3","-H","50","- | + | , 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>%", "- | + | , 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 | , Run StdinReader | ||
] | ] | ||
, sepChar = "%" | , sepChar = "%" | ||
, alignSep = "}{" | , alignSep = "}{" | ||
| - | , template = " %StdinReader% }{ % | + | , template = " %StdinReader% }{ %cpu% @ %cpufreq% <fc=#0033FF>|</fc> %memory% <fc=#0033FF>|</fc> %eth0% <fc=#0033FF>|</fc> %date% " |
} | } | ||
| + | |||
</haskell> | </haskell> | ||
Current revision
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% " }
