Xmonad/Config archive/k6b (kyle's) xmobarrc

From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

First xmobarrc

Config { font = "xft:DejaVu Sans Mono:pixelsize=12"
       , bgColor = "black"
       , fgColor = "grey"
       , position = TopW L 100 
       , commands = [ Run Date "%a %b %_d %l:%M" "date" 10
                    , Run MultiCpu ["-L","3","-H","50","--normal","green","--high","red","-p","3","-t","Cpu: <total0>% <total1>%"] 10
                    , Run Com "/home/k6b/scripts/wireless.sh" [] "wireless" 10
                    , Run Com "awk '{print $1,$2,$3}' /proc/loadavg" [] "load" 10
                    , Run StdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%StdinReader% }{ %wireless% %load% %multicpu% <fc=#ee9a00>%date%</fc> "
       }

Second xmobarrc

Config { font = "xft:DejaVu Sans Mono:pixelsize=12"
       , bgColor = "black"
       , fgColor = "grey"
       , position = BottomW L 100
       , commands = [ Run Weather "KAUS" ["-t","<tempF>° <rh>%","-L","64","-H","77","--normal","green","--high","red","--low","blue"] 36000
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Swap [] 10
                    , Run Network "wlan0" ["-L","0","-H","32","--normal","#56c2d6","--high","#56c2d6"] 10
                    , Run DiskU [("/", "/: <usedp>"), ("/boot", "/boot: <usedp>"), ("/home", "/home: <usedp>"), ("/var", "/var: <usedp>")] []  60
                    , Run DiskIO [("/", "/: <total>"), ("/boot", "/boot: <total>"), ("/home", "/home: <total>"), ("/var", "/var: <total>")] [] 10
                    , Run Com "/home/k6b/scripts/temp.sh" [] "temp" 20
                    , Run Com "/home/k6b/scripts/xreddit.sh" ["4wd22r"] "reddit" 9000
                    , Run Com "/home/k6b/scripts/volume.sh" [] "vol" 10
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = " %KAUS% | %wlan0% | %temp% } %disku% | %diskio% { %reddit% | %memory% * %swap% | %vol% "
       }