-
Notifications
You must be signed in to change notification settings - Fork 1
/
xmobarrc
32 lines (31 loc) · 1.91 KB
/
xmobarrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
-- .xmobarrc -*- mode: haskell -*-
-- Config { font = "-*-Fixed-Bold-R-Normal-*-16-*-*-*-*-*-*-*"
Config { font = "xft:DejaVu Sans:style=bold:size=12,WenQuanYi Zen Hei:size=12"
, borderColor = "black"
, border = TopB
, bgColor = "purple4"
, fgColor = "grey95"
, position = TopW L 100
, commands = [ --Run Weather "CYVR" ["-t","<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 Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Com "tcpu" [] "" 100
--, Run Com "apm" ["-l"] "battery" 600
--, Run Com "apm" ["-a"] "xac" 600
, Run Battery ["-t","<left>%⌁<acstatus>","-L","50","-H","75","-h","green","-n","yellow","-l","red"] 20
--, Run Volume "default" "Master" [] 10
, Run Date "%a %Y-%m-%d %H:%M:%S" "date" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
--, template = "%StdinReader% | %cpu% | %memory% * %swap% | %eth0% - %eth1% }{<fc=#ee9a00>%date%</fc> | %uname% | %CYVR% "
--, template = "%StdinReader% | <fc=#ee9a00>%date%</fc> | %uname% | %default:Master% "
, template = "%StdinReader% | <fc=#ee9a00>%date%</fc> | %uname% | %tcpu% | <fc=#99aaee>Bat電池:%battery%</fc> | %cpu%"
--, template = "%StdinReader% | <fc=#ee9a00>%date%</fc> | %uname% "
}