-- xmobar config used by Vic Fryzel
-- Author: Vic Fryzel
-- http://github.com/vicfryzel/xmonad-config

-- This is setup for dual 1920x1080 monitors, with the right monitor as primary
Config {
    font = "xft:Source Code Pro:pixelsize=13:antialias=true:hinting=true",
    bgColor = "#000000",
    fgColor = "#ffffff",
    position = Top,
--    position = Static { xpos = 0, ypos = 0, width = 1919, height = 20 },
    lowerOnStart = True,
    commands = [
        Run Weather "YSCB" ["-t","<tempC>C <skyCondition>","-L","12","-H","28","-n","#CEFFAC","-h","#FFB6B0","-l","#96CBFE"] 3000,
        Run MultiCpu ["-t","Cpu: <autototal>","-L","30","-H","60","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC","-w","3"] 10,
        Run Memory ["-t","Mem: <usedratio>%","-H","8192","-L","4096","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
        Run Network "eth0" ["-t","Net: <rx>, <tx>","-S","True","-H","200","-L","10","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
        Run Date "%a %b %_d %l:%M" "date" 10,
        Run CommandReader "$HOME/.xmonad/bin/alsa_hook" "vol",
        Run StdinReader
    ],
    sepChar = "*",
    alignSep = "}{",
    template = "*StdinReader* }{ *eth0* *multicpu* *memory* Vol: <fc=#FFFFCC>*vol*</fc>% <fc=#FFFFCC>*date*</fc> *YSCB*"
}
