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

From HaskellWiki
Jump to navigation Jump to search
Line 1: Line 1:
<haskell>Config {
+
<haskell>Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
  +
, bgColor = "black"
font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*",
 
bgColor = "black",
+
, fgColor = "grey"
 
, position = Bottom
fgColor = "grey",
 
  +
, lowerOnStart = True
position = Top,
 
commands = [ Run Weather "KMCJ" ["-t","<station>: <tempF>F"] 9000
+
, commands = [ Run Weather "KMCJ" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 5
+
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 5
+
, Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 5
+
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Swap [] 5
+
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Com "uname" ["-o","-r"] "" 36000
+
, Run Swap [] 10
, Run Com "xmonad" ["--version"] "xmonadver" 36000
+
, Run Com "uname" ["-s","-r"] "" 36000
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
+
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
],
+
]
sepChar = "%",
+
, sepChar = "%"
alignSep = "}{",
+
, alignSep = "}{"
template = "%cpu% | %memory% * %swap% | %eth0% }{ <fc=#ee9a00>%date%</fc> | %KMCJ% | <fc=#c11b17>%uname%</fc> | <fc=#912cee>%xmonadver%</fc>"
+
, template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }{ <fc=#ee9a00>%date%</fc>| %KMCJ% | %uname%"
  +
}
} </haskell>
+
</haskell>

Revision as of 05:47, 10 August 2009

Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
       , bgColor = "black"
       , fgColor = "grey"
       , position = Bottom
       , lowerOnStart = True
       , commands = [ Run Weather "KMCJ" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
                    , Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
                    , Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
                    , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Swap [] 10
                    , Run Com "uname" ["-s","-r"] "" 36000
    		    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }{ <fc=#ee9a00>%date%</fc>| %KMCJ% | %uname%"
       }