openbsd-ports/x11/xmobar/patches/patch-samples_xmobar_config
dcoppa 0cd24ad65c Update to xmobar-0.16
Including a patch by Alexander Polakov

OK kili@
2013-01-25 08:37:16 +00:00

27 lines
1.5 KiB
Plaintext

$OpenBSD: patch-samples_xmobar_config,v 1.3 2013/01/25 08:37:17 dcoppa Exp $
--- samples/xmobar.config.orig Mon Dec 3 00:47:56 2012
+++ samples/xmobar.config Thu Jan 24 12:28:53 2013
@@ -4,18 +4,15 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, bgColor = "black"
, fgColor = "grey"
, position = Top
+ , hideOnStart = False
, lowerOnStart = True
, persistent = False
, commands = [ Run Weather "EGPF" ["-t","<station>: <tempC>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: <usedratio>%"] 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: <left> <minleft>"] 10
+ , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
]
, sepChar = "%"
, alignSep = "}{"
- , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }{ <fc=#ee9a00>%date%</fc>| %EGPF% | %uname%"
+ , template = "%battery% }{ <fc=#ee9a00>%date%</fc> | %EGPF% | %uname%"
}