summaryrefslogtreecommitdiff
path: root/polybar/modules.ini
blob: e4b6b37901af8f4d13c06c1d23709f40134e1a9e (plain)
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
;[module/rofi]
;type=custom/text
;content="󰋜"
;content-padding=3
;click-left= exec rofi -show drun -disable-history -show-icons
;click-right= exec ~/.config/custom_scripts/power.sh
;content-foreground=${gruvbox.orange}
;content-background=${gruvbox.black}

;==========================================================
[module/ss]
type=custom/text
content=" "
content-foreground=${gruvbox.black}
content-background=${gruvbox.black}

;==========================================================
[module/i3]
type = internal/i3
enable-scroll = false
show-urgent = true
strip-wsnumbers = true
index-sort = true
enable-click = true
fuzzy-match = true

ws-icon-0 = 1;un
ws-icon-1 = 2;deux
ws-icon-2 = 3;trois
ws-icon-3 = 4;quatre
ws-icon-4 = 5;cinq
ws-icon-5 = 6;six
ws-icon-6 = 7;sept
ws-icon-7 = 8;huit
ws-icon-8 = 9;neuf
ws-icon-9 = 10;dix

format = <label-state> <label-mode>
label-mode = %mode%
label-mode-padding = 1
label-mode-background = ${gruvbox.red-alt} 
label-mode-foreground = ${gruvbox.white}

label-focused = %icon%
label-focused-font = 5
label-focused-foreground = ${gruvbox.aqua}
label-focused-background= ${gruvbox.transparent}
label-focused-padding = 2

label-unfocused = %icon%
label-unfocused-font = 5
label-unfocused-foreground = ${gruvbox.blue}
label-unfocused-background= ${gruvbox.transparent}
label-unfocused-padding = 2

label-visible = %icon%
label-visible-padding = 2

label-urgent = %icon%
label-urgent-font = 5
label-urgent-foreground = ${gruvbox.red}
label-urgent-background= ${gruvbox.black}
label-urgent-padding = 2

label-separator = ""
label-separator-padding = 0
label-separator-foreground = ${gruvbox.transparent}

;==========================================================
[module/xwindow]
type = internal/xwindow
format-prefix="      "
format-prefix-foreground=${gruvbox.green}
format-prefix-background=${gruvbox.black}

label = %class%
label-maxlen=60
label-foreground = ${gruvbox.aqua}
label-background= ${gruvbox.dark}
label-padding-left=2
label-padding-right=2

;==========================================================
[module/time]
type = internal/date
interval = 1
format-prefix = "      "
format-prefix-foreground=${gruvbox.aqua}
format-prefix-background=${gruvbox.black}

date = %A %d %B %Y | %H:%M:%S 
label =%date% 
label-foreground = ${gruvbox.cream}
label-background= ${gruvbox.dark}
label-padding-left=2
label-padding-right=2

;==========================================================
;[module/filesystem]
;type = internal/fs
;interval = 2
;mount-0 = /
;format-mounted-prefix = "      "
;format-mounted-prefix-foreground = ${gruvbox.red}
;format-mounted-prefix-background= ${gruvbox.black}
;
;label-mounted = %free%
;label-unmounted =  %mountpoint% not mounted
;label-mounted-foreground = ${gruvbox.cream}
;label-mounted-background= ${gruvbox.dark}
;label-mounted-padding-left=2
;label-mounted-padding-right=2

;==========================================================
;[module/cpu]
;type = internal/cpu
;interval = 1
;format-prefix = "      "
;format-prefix-foreground = ${gruvbox.orange-mat}
;format-prefix-background= ${gruvbox.black}
;
;label = %percentage%%
;label-foreground = ${gruvbox.cream}
;label-background= ${gruvbox.dark}
;label-padding-left=2
;label-padding-right=2

;==========================================================
;[module/temp]
;type = internal/temperature
;interval = 0.5
;thermal-zone = 0
;hwmon-path = /sys/class/hwmon/hwmon1/temp1_input
;base-temperature = 20 
;warn-temperature = 70
;units = true
;
;format =<label>
;format-prefix = "        "
;format-prefix-foreground= ${gruvbox.yellow-mat}
;format-prefix-background= ${gruvbox.black}
;
;label = %temperature-c%
;label-foreground = ${gruvbox.cream}
;label-background= ${gruvbox.dark}
;label-padding-left=2
;label-padding-right=2
;
;format-warn-prefix = "        "
;format-warn-prefix-foreground= ${gruvbox.white}
;format-warn-prefix-background= ${gruvbox.red-alt}
;
;label-warn = %temperature-c%
;label-warn-foreground = ${gruvbox.white}
;label-warn-background= ${gruvbox.red}
;label-warn-padding-left=2
;label-warn-padding-right=2

;==========================================================
;[module/memory]
;type = internal/memory
;interval = 1 
;format-prefix = "      "
;format-prefix-foreground = ${gruvbox.blue}
;format-prefix-background= ${gruvbox.black}
;
;label = %mb_used%
;label-foreground = ${gruvbox.cream}
;label-background= ${gruvbox.dark}
;label-padding-left=2
;label-padding-right=2

;==========================================================
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "     "
format-volume-prefix-foreground = ${gruvbox.blue-alt}
format-volume-prefix-background= ${gruvbox.black}
format-volume = <label-volume>

label-volume = %percentage%%
label-volume-foreground= ${gruvbox.cream}
label-volume-background= ${gruvbox.dark}
label-volume-padding-left=2
label-volume-padding-right=2

format-muted-prefix = "  󰝟   "
format-muted-foreground = ${gruvbox.orange}
format-muted-background = ${gruvbox.black}

label-muted = mute
label-muted-foreground = ${gruvbox.orange-mat}
label-muted-background = ${gruvbox.dark}
label-muted-padding=2

;==========================================================
[module/tray]
type=internal/tray
format = <tray>
format-prefix = " 󱊖   "
format-prefix-foreground = ${gruvbox.orange}
format-prefix-background = ${gruvbox.black}

tray-spacing= 8px
format-padding=5px
format-background=${gruvbox.black}
tray-background = ${gruvbox.black}

;==========================================================

[module/battery]
type = internal/battery
full-at = 99
low-at = 15
battery = BAT0
adapter = ADP1
poll-interval = 5
time-format = %H:%M

format-charging =  <animation-charging><label-charging>
format-charging-foreground = ${gruvbox.aqua}
format-charging-background = ${gruvbox.black}
label-charging = %percentage%%
label-charging-foreground = ${gruvbox.cream}
label-charging-background = ${gruvbox.dark}
label-charging-padding= 2

format-discharging = <ramp-capacity><label-discharging>
format-discharging-foreground = ${gruvbox.aqua}
format-discharging-background = ${gruvbox.black}
label-discharging = %percentage%%
label-discharging-foreground = ${gruvbox.cream}
label-discharging-background = ${gruvbox.dark}
label-discharging-padding= 2

format-full-prefix = "      "
format-full-foreground = ${gruvbox.aqua}
format-full-background = ${gruvbox.black}
label-full =  %percentage%%
label-full-foreground = ${gruvbox.cream}
label-full-background = ${gruvbox.dark}
label-full-padding = 2

label-low = [  BATTERY LOW ] %percentage%%
label-low-foreground = ${gruvbox.black}
label-low-background = ${gruvbox.red-alt}
label-low-padding = 2

; Only applies if <ramp-capacity> is used
ramp-capacity-0 =     
ramp-capacity-1 =     
ramp-capacity-2 =     
ramp-capacity-3 =     
ramp-capacity-4 =     

ramp-capacity-0-padding = 3
ramp-capacity-1-padding = 3
ramp-capacity-2-padding = 3
ramp-capacity-3-padding = 3
ramp-capacity-4-padding = 3

ramp-capacity-0-foreground = ${gruvbox.red-alt}
ramp-capacity-1-foreground = ${gruvbox.green-alt}
ramp-capacity-2-foreground = ${gruvbox.green-alt}
ramp-capacity-3-foreground = ${gruvbox.green-alt}
ramp-capacity-4-foreground = ${gruvbox.green-alt}

ramp-capacity-0-background = ${gruvbox.black}
ramp-capacity-1-background = ${gruvbox.black}
ramp-capacity-2-background = ${gruvbox.black}
ramp-capacity-3-background = ${gruvbox.black}
ramp-capacity-4-background = ${gruvbox.black}

; Only applies if <bar-capacity> is used
bar-capacity-width = 10

; Only applies if <animation-charging> is used
animation-charging-0 =     
animation-charging-1 =     
animation-charging-2 =     
animation-charging-3 =     
animation-charging-4 =     
animation-charging-framerate = 750

animation-charging-0-padding=3
animation-charging-1-padding=3
animation-charging-2-padding=3
animation-charging-3-padding=3
animation-charging-4-padding=3

; animation-charging color
animation-charging-0-foreground = ${gruvbox.green}
animation-charging-1-foreground = ${gruvbox.green}
animation-charging-2-foreground = ${gruvbox.green}
animation-charging-3-foreground = ${gruvbox.green}
animation-charging-4-foreground = ${gruvbox.green}

animation-charging-0-background = ${gruvbox.black}
animation-charging-1-background = ${gruvbox.black}
animation-charging-2-background = ${gruvbox.black}
animation-charging-3-background = ${gruvbox.black}
animation-charging-4-background = ${gruvbox.black}

; Only applies if <animation-discharging> is used
animation-discharging-0 =[  ]
animation-discharging-1 =[  ]
animation-discharging-2 =[  ]
animation-discharging-3 =[  ]
animation-discharging-4 =[  ]
animation-discharging-framerate = 500

animation-discharging-0-padding=1
animation-discharging-1-padding=1
animation-discharging-2-padding=1
animation-discharging-3-padding=1
animation-discharging-4-padding=1

; animation discharging color
animation-discharging-0-foreground = ${gruvbox.cream}
animation-discharging-1-foreground = ${gruvbox.cream}
animation-discharging-2-foreground = ${gruvbox.cream}
animation-discharging-3-foreground = ${gruvbox.cream}
animation-discharging-4-foreground = ${gruvbox.cream}

animation-discharging-0-background = ${gruvbox.green-alt}
animation-discharging-1-background = ${gruvbox.green-alt}
animation-discharging-2-background = ${gruvbox.green-alt}
animation-discharging-3-background = ${gruvbox.green-alt}
animation-discharging-4-background = ${gruvbox.green-alt}

animation-low-0 = !
animation-low-1 = !!
animation-low-framerate = 200

;==========================================================
[module/backlight]
type = internal/backlight
card = intel_backlight
use-actual-brightness = true
enable-scroll = true
format = <label>
format-prefix = "        "
format-prefix-foreground = ${gruvbox.yellow}
format-prefix-background = ${gruvbox.black}
format-padding-left=2
format-padding-right=2

label = %percentage%%
label-foreground=${gruvbox.cream}
label-background=${gruvbox.dark}
label-padding-left=2
label-padding-right=2

;==========================================================
[settings]
screenchange-reload = true
pseudo-transparency = true


; vim:ft=dosini