Config { -- font = "xft:Bitstream Vera Sans Mono:size=9:bold:antialias=true" font = "xft:DejaVu Sans Mono:pixelsize=9:antialias=true" , bgColor = "black" -- , fgColor = "#646464" , fgColor = "#ffffff" -- , position = Top , position = OnScreen 0 (TopW L 90) -- , border = BottomB -- , borderColor = "#646464" , sepChar = "%" -- delineator between plugin names and straight text , alignSep = "}{" -- separator between left-right alignment , template = "%StdinReader% }{ %multicpu% %thermal0% %memory% %dynnetwork% %battery% %kbd% %parisTime% " , lowerOnStart = True -- send to bottom of window stack on start , hideOnStart = False -- start with window unmapped (hidden) , allDesktops = True -- show on all desktops , overrideRedirect = True -- set the Override Redirect flag (Xlib) , pickBroadest = False -- choose widest display (multi-monitor) , persistent = True -- enable/disable hiding (True = disabled) , commands = [ Run StdinReader , Run MultiCpu [ "--template", "CPU:%" , "--Low", "50" -- units: % , "--High", "85" -- units: % , "--low", "green" , "--normal", "orange" , "--high", "red" ] 10 , Run ThermalZone 0 [ "--template", "Temp:°C" , "--Low", "70" -- units: °C , "--High", "80" -- units: °C , "--low", "green" , "--normal", "orange" , "--high", "red" ] 30 , Run Memory [ "--template","Mem:%" , "--Low", "20" -- units: % , "--High", "90" -- units: % , "--low", "green" , "--normal", "orange" , "--high", "red" ] 10 -- Note that reloading xmonad is needed (Win+End) -- to detect network interfaces brought -- after xmonad has started (eg. over USB). , Run DynNetwork [ "--template", ":Tx:|Rx:kB/s" , "--Low", "20000" -- units: B/s , "--High", "1000000" -- units: B/s , "--low", "green" , "--normal", "orange" , "--high", "red" ] 10 , Run Battery [ "--template", "Batt:" , "--Low", "20" -- units: % , "--High", "80" -- units: % , "--low", "red" , "--normal", "orange" , "--high", "green" , "--" -- battery specific options -- discharging status , "-o", "% ()" -- AC "on" status , "-O", "Charging" -- charged status , "-i", "Charged" ] 50 , Run Kbd [ ("fr", "Kbd:FR") , ("us", "Kbd:US") ] , Run DateZone "%A %d %b %H:%M:%S" "fr_FR.UTF-8" "Europe/Paris" "parisTime" 1 ] }