-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xmobarrc
executable file
·98 lines (89 loc) · 4.86 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Config { font = "-*-courier-medium-r-normal-*-20-*-*-*-*-*-iso8859-1"
, bgColor = "black"
, fgColor = "grey"
, position = TopW L 90
, lowerOnStart = True
, sepChar = "%"
, commands = [ -- network activity monitor (dynamic interface resolution)
Run DynNetwork [ "--template" , "<dev>: <rx>kB/s|<tx>kB/s"
, "--Low" , "1000000" -- units: B/s
, "--High" , "10000000" -- units: B/s
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 10
-- cpu activity monitor
, Run MultiCpu [ "--template" , "Avg cpuq: <total>%"
, "--Low" , "50" -- units: %
, "--High" , "85" -- units: %
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 10
-- cpu core temperature monitor (displaying one core as a rough average)
, Run CoreTemp [ "--template" , "Avg Temp: <core0>°C"
, "--Low" , "70" -- units: °C
, "--High" , "80" -- units: °C
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 50
-- memory usage monitor
, Run Memory [ "--template" ,"Mem: <usedratio>%"
, "--Low" , "20" -- units: %
, "--High" , "90" -- units: %
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 10
-- battery monitor
, Run Battery [ "--template" , "Batt: <acstatus>"
, "--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
-- time and date indicator
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
, Run Date "<fc=#ABABAB>%F (%a) %T</fc>" "date" 10
-- keyboard layout indicator
, Run Kbd [ ("us", "<fc=#00ff00>US</fc>")
, ("de", "<fc=#ffff00>DE</fc>")
, ("dk", "<fc=#ff0000>DK</fc>")
, ("gr", "<fc=#1589ff>GR</fc>")
]
, Run DiskU [("/", "<used>/<size>"), ("/home", "<used>/<size>")] ["-L", "20", "-H", "50", "-m", "1", "-p", "3"] 20
, Run Date "%a %b %_d %l:%M" "date" 10
, Run Battery [ "--template" , "Batt: <acstatus>"
, "--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 XMonadLog
, Run Alsa "default" "Master"
[ "--template", "<volumestatus>"
, "--suffix" , "True"
, "--"
, "--on", ""
]
]
, alignSep = "}{<fc=#ee9a00>%date%</fc>"
, template = "%XMonadLog% }{ %date% | %battery% | %dynnetwork% | %multicpu% | %coretemp% | %memory% | %disku% | vol: %alsa:default:Master% | %kbd%"
}