Personal tools

Xmonad/Config archive/jelly(12gen)'s xmobarrc

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Scripts can be found on my github[http://github.com/jelly/dotfiles/tree/master]
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","--normal","green","--high","red"] 10
+
, commands = [ Run Network "eth0" ["-L","0","-H","32","-l", "green", "--normal","orange","--high","red"] 40
-
, Run Cpu ["<cpu0>/<cpu1>","-L","3","-H","50","--normal","green","--high","red"] 10
+
, Run Cpu ["<cpu0>/<cpu1>","-L","3","-H","50","-l","green","--normal","orange","--high","red"] 40
-
, Run Cpu ["<cpu0>","-L","3","-H","50","--normal","green","--high","red"] 10
+
, Run Cpu ["<cpu0>","-L","3","-H","50","-l","green","--normal","orange","--high","red"] 40
-
,Run Com "sh" ["~/bin/updates.sh"] "updates" 600
+
, Run Memory ["-t","Mem: <usedratio>%", "-l", "green", "--normal","orange","--high","red"] 40
-
, Run Memory ["-t","Mem: <usedratio>%", "--normal","green","--high","red"] 10
+
, Run Date "%a %b %_d %H:%M" "date" 60
-
, Run Com "mpc" ["status", "--format", "\"%artist% - %title%\""] "music" 20
+
, Run CpuFreq ["-t","Freq:<cpu0>|<cpu1>GHz","-L","0","-H","2","-l","green","-n","orange","-h","red"] 50
-
, Run Date "%a %b %_d %H:%M" "date" 10
+
-
, Run Com "sh" ["/home/jelle/bin/mail.sh"] "mail" 200
+
, Run StdinReader
, Run StdinReader
]
]
, sepChar = "%"
, sepChar = "%"
, alignSep = "}{"
, alignSep = "}{"
-
, template = " %StdinReader% }{ %music%<fc=#429942>|</fc> M: <fc=#00FF33>%mail%</fc> <fc=#429942>|</fc>U: <fc=#00FF33>%updates%</fc><fc=#429942>| </fc>%cpu%<fc=#429942>|</fc> %memory%<fc=#429942>|</fc> %eth0%<fc=#429942>|</fc> %date%"
+
, template = " %StdinReader% }{ %cpu% @ %cpufreq% <fc=#0033FF>|</fc> %memory% <fc=#0033FF>|</fc> %eth0% <fc=#0033FF>|</fc> %date%"
}
}
</haskell>
</haskell>

Revision as of 21:19, 28 October 2009

Scripts can be found on my github[1]

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%"
             }