-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xmobarrc
78 lines (77 loc) · 4.63 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Config { font = "-misc-fixed-*-*-*-*-13-*-*-*-*-*-*-*"
, additionalFonts = []
, borderColor = "black"
, border = TopB
, bgColor = "black"
, fgColor = "white"
, alpha = 255
, position = Top
, textOffset = -1
, iconOffset = -1
, lowerOnStart = True
, pickBroadest = False
, persistent = False
, hideOnStart = False
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %diskio% | %battery% | %cpu% | %memory% . %swap% | %date%"
-- , template = "%UnsafeStdinReader% }{ %cpu% | %memory% * %swap% | <fc =#ee9a00>%date%</fc>"
, commands = [ Run Cpu [ "--Low" , "5"
, "--High" , "50"
, "--low" , "darkgreen"
, "--normal" , "orange"
, "--high" , "red"
] 10
-- , Run Memory ["-t","Mem: <usedbar>"] 10
, Run Memory [ "--template" ,"Mem: <usedratio>%"
, "--Low" , "30" -- units: %
, "--High" , "90" -- units: %
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 10
, Run Swap ["--template" ,"<usedratio>%"] 10
, Run DiskIO [("/", "<read> <write>")] [] 10
-- battery monitor
, Run Battery [ "--template" , "Batt: <acstatus> <left>%"
, "--Low" , "10" -- units: %
, "--High" , "80" -- units: %
, "--low" , "darkred"
, "--normal" , "darkorange"
, "--high" , "darkgreen"
, "--" -- battery specific options
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
, "-O" , "<fc=#dAA520>Charging</fc>"
-- charged status
, "-i" , "<fc=#006000>Charged</fc>"
] 50
, Run Date "<fc=#ABABAB>%a %F</fc> %R" "date" 10
, Run StdinReader
-- , Run UnsafeStdinReader
-- , Run Uptime [] 10
-- , Run Brightness [ "-t", "<ipat>"
-- , "--"
-- -- , "--brightness-icon-pattern", "<icon=bright_%%.xpm/>"
-- ] 30
-- , Run Wireless "wlp3s0" ["-L","0","-H","32","--normal","green","--high","red"] 10
-- , 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 Com "uname" ["-s","-r"] "" 36000
-- -- keyboard layout indicator
-- , Run Kbd [ ("us(dvorak)" , "<fc=#00008B>DV</fc>")
-- , ("us" , "<fc=#8B0000>US</fc>")
-- ]
]
}