-
Notifications
You must be signed in to change notification settings - Fork 7
/
xmobar.hs
32 lines (32 loc) · 1.54 KB
/
xmobar.hs
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
Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, borderColor = "black"
, border = TopB
, bgColor = "black"
, fgColor = "grey"
, position = Top
, lowerOnStart = True
, persistent = False
, hideOnStart = False
, commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Date "%a %Y-%m-%d %H:%M:%S" "date" 10
, Run StdinReader
, Run Battery ["-L" ,"40" ,
"-H" , "80" ,
"--high" , "#969896" ,
"--normal" , "#7aa6da" ,
"--low" , "#d54e53" ,
"-t" , "<left>"] 100
, Run DynNetwork [ "--template" , "<dev> tx: <tx> rx: <rx>"
, "--Low" , "1000" -- B/s
, "--High" , "1000000" -- B/s
, "--low" , "green"
, "--normal" , "orange"
, "--high" , "red"
, "-S" , "True" -- show units
] 10
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %dynnetwork% | %cpu% | %memory% | %battery% | <fc=#ee9a00>%date%</fc>"
}