openbsd-ports/x11/xmobar/patches/patch-examples_xmobar_config
2022-03-11 20:15:18 +00:00

31 lines
1.5 KiB
Plaintext

--- examples/xmobar.config.orig Mon Aug 8 23:40:59 2016
+++ examples/xmobar.config Wed Aug 10 09:45:35 2016
@@ -1,4 +1,4 @@
-Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
+Config { font = "fixed"
, additionalFonts = []
, borderColor = "black"
, border = TopB
@@ -20,19 +20,11 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
"--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 Battery ["-t","AC: <status> Batt: <left> <minleft>"] 10
, Run Com "uname" ["-s","-r"] "" 36000
, 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%"
}