-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xmobarrc
65 lines (53 loc) · 2.72 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
Config {
-- appearance
font = "xft:Roboto:size=11:normal:antialias=true:hinting:true"
, additionalFonts = ["xft:Noto Sans:size=11:bold:antialias=true:hinting:true" ]
, bgColor = "#212121"
, fgColor = "#dddddd"
, position = Top
, border = BottomB
, borderColor = "#646464"
-- layout
, sepChar = "%" -- delineator between plugin names and straight text
, alignSep = "}{" -- separator between left-right alignment
, template = " %UnsafeStdinReader% }{ %battery% | %memory% | %dynnetwork% | %date% | %kbd% "
-- general behavior
, lowerOnStart = True -- send to bottom of window stack on start
, hideOnStart = False -- start with window unmapped (hidden)
, allDesktops = True -- show on all desktops
, overrideRedirect = True -- set the Override Redirect flag (Xlib)
, pickBroadest = False -- choose widest display (multi-monitor)
, persistent = True -- enable/disable hiding (True = disabled)
, commands = [
-- time and date indicator
Run Date "<fc=#ABABAB>%a, %d %b %Y %T</fc>" "date" 10
-- network activity monitor (dynamic interface resolution)
, Run DynNetwork [ "--template" , "Net <tx>kB/s <rx>kB/s" ] 10
-- memory usage monitor
, Run Memory [ "--template" ,"RAM <usedratio>%"
, "--Low" , "20" -- units: %
, "--High" , "90" -- units: %
, "--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
-- keyboard layout indicator
, Run Kbd [ ("us(dvorak)" , "<fc=#00008B>DV</fc>")
, ("us" , "<fc=#8B0000>US</fc>")
]
, Run UnsafeStdinReader
]
}