$OpenBSD: patch-samples_xmobar_config,v 1.1 2011/06/13 21:23:04 kili Exp $ --- samples/xmobar.config.orig Mon Mar 28 01:16:24 2011 +++ samples/xmobar.config Sat Jun 11 23:46:39 2011 @@ -4,15 +4,11 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" , position = Top , lowerOnStart = True , commands = [ Run Weather "EGPF" ["-t",": 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: %"] 10 - , Run Swap [] 10 , Run Com "uname" ["-s","-r"] "" 36000 - , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 + , Run Battery ["-t","Batt: "] 10 + , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 ] , sepChar = "%" , alignSep = "}{" - , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }{ %date%| %EGPF% | %uname%" + , template = "%battery% }{ %date%| %EGPF% | %uname%" }