-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolybar.ini
231 lines (163 loc) · 4.55 KB
/
polybar.ini
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
; ------------------------------------------------------------------------------
; A monokai themed color pallette
; ------------------------------------------------------------------------------
[colors]
; background = #BF262626
background = #262626
foreground = #F8F8F2
; i3 workspace colors
ws_def_text = #75715E
ws_def_b = #75715E
ws_focus_text = #F8F8F2
ws_focus_b = #AE81FF
ws_alert_b = #F92672
ws_vis_text = #75715E
ws_vis_b = #66D9EF
mem = ${colors.foreground}
cpu = ${colors.foreground}
temp = ${colors.foreground}
; ------------------------------------------------------------------------------
; Bar Configurations
; ------------------------------------------------------------------------------
[global/wm]
margin-top = 5
margin-bottom = 5
; "Abstract" bar to be inhereted by bars for specific monitors
[bar/base]
width = 100%
height = 26
offset-x = 0
offset-y = 0
locale = en_US.UTF-8
background = ${colors.background}
foreground = ${colors.foreground}
font-0 = Noto Sans Mono:size=10:fontformat=truetype
font-1 = Noto Sans Mono:size=12:weight=bold:fontformat=truetype
tray-position = right
tray-padding = 2
tray-background = ${colors.background}
underline-size = 3
spacing = 1
padding-left = 0
padding-right = 2
module-margin-left = 2
module-margin-right = 2
; Bar for my laptop
[bar/laptop]
inherit = bar/base
monitor = eDP1
height = 50
margin-bottom = 0
dpi = 220
modules-left = i3 xwindow
modules-center =
modules-right = date battery
; Bar for my center monitor (16:9)
[bar/landscape1]
inherit = bar/base
monitor = DP-0
modules-left = i3 xwindow
modules-center =
modules-right = date
; Bar for my rightmost monitor (16:9)
[bar/landscape2]
inherit = bar/base
monitor = DP-4
modules-left = i3 xwindow
modules-center =
modules-right = memory cpu temperature date
; ------------------------------------------------------------------------------
; Module Configurations
; ------------------------------------------------------------------------------
[module/memory]
type = internal/memory
interval = 3
format = <label>
label-foreground = ${colors.mem}
label = %gb_used%/%gb_free%
[module/cpu_percent]
type = internal/cpu
interval = 1
format = <label>
label-foreground = ${colors.cpu}
label = CPU - %percentage%%
[module/cpu]
type = internal/cpu
interval = 1
format = <label>
label-foreground = ${colors.cpu}
label = | %percentage-core1%% | %percentage-core2%% | %percentage-core3%% | %percentage-core4%% | %percentage-core5%% | %percentage-core6%% | %percentage-core7%% | %percentage-core8%% |
[module/temperature]
type = internal/temperature
interval = 10
label = %temperature-c%
format-foreground = ${colors.temp}
wabel-warn-foreground = #ff0090
[module/battery]
type = internal/battery
full-at = 99
poll-interval = 5
format-charging = <label-charging>
format-discharging = <label-discharging>
label-charging = B:~%percentage%%
label-discharging = B: %percentage%%
label-full = B:100%
label-charging-foreground = ${colors.bat}
label-discharging-foreground = ${colors.bat}
format-foreground = ${colors.bat}
[module/xwindow]
type = internal/xwindow
label = %title:0:128:...%
[module/i3]
type = internal/i3
label-active-font = 1
strip-wsnumbers = true
ws-icon-0 = 0
ws-icon-1 = 1
ws-icon-2 = 2
ws-icon-3 = 4
ws-icon-4 = 5
index-sort = true
format = <label-state> <label-mode>
label-mode-foreground = ${colors.ws_def_b}
label-mode-underline = ${colors.background}
label-mode-padding = 0
label-focused-foreground = ${colors.ws_focus_b}
label-focused-underline = ${colors.background}
label-focused-padding = 0
label-unfocused-padding = 0
label-urgent-background = ${colors.ws_alert_b}
label-urgent-underline = ${colors.background}
label-urgent-padding = 0
label-visible-foreground = ${colors.ws_vis_b}
label-visible-underline = ${colors.background}
label-visible-padding = 0
label-separator = |
lebel-separator-padding = 2
[module/volumeasus]
type = internal/alsa
format-volume = <label-volume>
master-mixer = Headphone
label-muted = Volume - muted
label-volume = Volume - %percentage%
format-volume-underline = ${colors.background}
format-volume-padding = 2
mapping = true
format-volume-background = ${colors.vol}
[module/date]
type = internal/date
interval = 2
date = "%A, %B %d, %Y"
time = "%I:%M%p"
format-padding = 2
label = "%{A3:gsimplecal:}%date% | %time%%{A}"
; format-background = ${colors.date_b}
; vim:ft=dosini