-
Notifications
You must be signed in to change notification settings - Fork 0
/
xmobarrc
62 lines (62 loc) · 2.97 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
Config { font = "xft:Source Code Pro:bold:size=8:antialias=true"
, additionalFonts = ["xft:Droid Sans Mono:size=8"]
, bgColor = "#000000"
, fgColor = "#ffffff"
, position = Top
, border = NoBorder
, borderWidth = 1
, borderColor = "#ffffff"
, textOffset = -1
, iconOffset = -1
, lowerOnStart = True
, pickBroadest = False
, iconRoot = "."
, allDesktops = True
, overrideRedirect = True
, persistent = False
, alpha = 255
, commands = [ Run DynNetwork [ "--template" , "<fc=#44bc44><icon=.xpm/net_down_03.xbm/></fc><rx>kB/s|<tx>kB/s<fc=#29aeff><icon=.xpm/net_up_03.xbm/></fc>"
, "--Low" , "100000" -- units: B/s
, "--High" , "1000000" -- units: B/s
, "--normal", "#44bc44"
, "--high", "#ff8059"
, "-m", "4"
, "-M", "4"
] 10
, Run Cpu [ "-L", "3"
, "-H", "50"
, "--normal", "#44bc44"
, "--high", "#ff8059"
, "-p", "3"
, "-t <fc=#ffffff><icon=.xpm/cpu.xbm/></fc> <total>%"
] 10
, Run Memory [ "-L", "10"
, "-H", "80"
, "--normal", "#44bc44"
, "--high", "#ff8059"
, "-p", "3"
, "-t","<fc=#ffffff><icon=.xpm/mem.xbm/></fc> <usedratio>%"
] 10
, Run BatteryP ["BAT0"]
[ "--template" , "<fc=#eecc00><icon=.xpm/bat_full_01.xbm/></fc> <acstatus>"
, "--Low" , "10"
, "--High" , "80"
, "--low" , "#ff8059"
, "--normal" , "#eecc00"
, "--high" , "#44bc44"
, "-m", "0"
, "-M", "0"
, "--", "-O", "<fc=#44bc44>→<left>%</fc>", "-o", "<left>%", "-i", "<fc=#29aeff>Full</fc>"
, "-f", "AC/online"
] 10
, Run Swap [] 10
, Run Com "uname" ["-s","-r"] "" 36000
, Run Date "%F %T" "date" 10
, Run Kbd [("us", "US"), ("ru", "RU")]
, Run XMonadLog
]
, sepChar = "%"
, alignSep = "}{"
, template = "%cpu% %memory% %dynnetwork% %battery% %XMonadLog% }{ <fc=#ffffff>%kbd% %date%</fc>"
, hideOnStart = False
}