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
|
Config
{ font = "Monofur Nerd Font 12",
additionalFonts =
[ "Monofur NERD Font Bold 10",
"Monofur NERD Font Bold 7",
"Monofur NERD Font Bold 10", -- Media, Weather, etc.
"Monofur NERD Font Bold 10",
"Monofur NERD Font Bold 18",
"Monofur NERD Font Bold 12",
"Noto Sans Mono CJK JP Bold 12",
"Monofur NERD Font Bold 12",
"Monofur NERD Font Bold 3"
],
borderColor = "black",
border = FullBM -1,
borderWidth = 2,
bgColor = "#000000",
fgColor = "white",
alpha = 255, -- default: 255
position = TopSize C 99 40,
textOffset = -1, -- default: -1
iconOffset = -1, -- default: -1
lowerOnStart = True,
pickBroadest = False, -- default: False
persistent = True,
hideOnStart = False,
iconRoot = "/usr/local/google/home/rahm/.xmonad/resources", -- default: "."
allDesktops = True, -- default: True
overrideRedirect = False, -- default: True
sepChar = "%",
alignSep = "}{",
template =
" %logo% \
\%UnsafeStdinReader%}{\
\<fc=#404040>\
\<action=alacritty -t 'Floating Term' -e sh -c 'curl wttr.in ; read i'>\
\<fc=#888888>|</fc> %weather% \
\</action>\
\</fc><fc=#a0a0a0>%media%</fc>\
\%bluetooth% %bat%<fn=3> %cpu% %memory%<fc=#8888ff> %time%</fc></fn> ",
commands =
[ Run UnsafeStdinReader,
Run Date "%m/%d %H:%M:%S" "time" 10,
Run
Cpu
[ "-t",
"<fn=9><fc=#202020><bar></fc></fn>",
"-L",
"3",
"-H",
"50",
"-b",
"▄",
"-f",
"▄",
"-W",
"20",
"--normal",
"#88ff88",
"--high",
"#ff8888"
]
10,
Run
Memory
[ "-t",
"<fn=9><fc=#202020><usedbar></fc></fn>",
"-L",
"3",
"-H",
"50",
"-b",
"▄",
"-f",
"▄",
"-W",
"20",
"--normal",
"#88ff88",
"--high",
"#ff8888"
]
10,
Run Com ".xmonad/xmobar-media" [] "media" 20,
Run Com ".xmonad/xmobar-weather" [] "weather" 9000,
Run Com ".xmonad/xmobar-logo" [] "logo" 0,
Run Com "uname" ["-r"] "uname" 0,
Run Com ".xmonad/xmobar-bluetooth" [] "bluetooth" 50,
Run Com ".xmonad/xmobar-battery" [] "bat" 20
]
}
|