guest@dotshare [~/groups/misc/misc] $ ls WPGTK-polybar-base/ | cat

WPGTK polybar base (scrot, raw, dl)

domsch1988 Jan 18, 2018 (misc/misc)

SCROT

  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
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
;=====================================================
;
;   To learn more about how to configure Polybar
;   go to https://github.com/jaagr/polybar
;
;   The README contains alot of information
;
;=====================================================

[colors]
background = #COLOR0
background-alt = #COLOR1
foreground = #ffffff
foreground-alt = #COLOR15
active = #COLOR1
inactive = #COLOR4

[bar/wpgtk1]
monitor = HDMI-1
width = 1910px
height = 24
offset-y = 5px
offset-x = 5px
radius = 0
fixed-center = true

background = ${colors.background}
foreground = ${colors.foreground}

line-size = 0
label-line-color = #f00

border-size = 0
border-color = #00000000

padding-left = 0
padding-right = 0

module-margin-left = 0
module-margin-right = 0

font-0 = SF Pro Display:size=10:antialias=true;2
font-1 = FontAwesome:style=Regular:size=10:antialias=false;2

modules-left = ewmh xwindow
modules-center =
modules-right =  eth cpu date xkeyboard powermenu

tray-position = none
tray-padding = 10
tray-background = ${colors.inactive}

[bar/wpgtk2]
monitor = VGA-1
width = 1910px
height = 24
offset-y = 5px
offset-x = 5px
radius = 0
fixed-center = true

background = ${colors.background}
foreground = ${colors.foreground}

line-size = 0
label-line-color = #f00

border-size = 0
border-color = #00000000

padding-left = 0
padding-right = 0

module-margin-left = 0
module-margin-right = 0

font-0 = SF Pro Display:size=10:antialias=true;2
font-1 = Fontawesome:size=10:antialias=false;2

modules-left = ewmh xwindow
modules-center =
modules-right =  eth cpu date powermenu

tray-position = none
tray-padding = 0
tray-background = ${colors.background}

[module/xwindow]
type = internal/xwindow
format-background = ${colors.active}
format-foreground = ${colors.foreground}
format-padding = 2
label = %title:0:30:...%

[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock

format-padding = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-font = 2

label-layout = %layout%
label-layout-underline = ${colors.inactive}

label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.inactive}

[module/filesystem]
type = internal/fs
interval = 25

mount-0 = /

label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}

[module/bspwm]
type = internal/bspwm

label-focused = %index%
label-focused-background = ${colors.active}
label-focused-padding = 2

label-occupied = %index%
label-occupied-padding = 2

label-urgent = %index%!
label-urgent-background = ${colors.active}
label-urgent-padding = 2

label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2

[module/i3]
type = internal/i3
format = <label-mode><label-state>
index-sort = true
wrapping-scroll = false
fuzzy-matching = true

; Only show workspaces on the same output as the bar
pin-workspaces = true

ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 9;
ws-icon-3 = 10;
ws-icon-default = 

label-mode-padding = 2
label-mode-foreground = ${colors.foreground}
label-mode-background = ${xrdb:color2}

; focused = Active workspace on focused monitor
; label-focused = %index%
label-focused-background = ${colors.active}
label-focused-padding = 1

; unfocused = Inactive workspace on any monitor
; label-unfocused = %index%
label-unfocused-padding = 1
label-unfocused-background = ${colors.inactive}

; visible = Active workspace on unfocused monitor
; label-visible = %index%
label-visible-background = ${xrdb:color2}
label-visible-padding = 1

; urgent = Workspace with urgency hint set
; label-urgent = %index%
label-urgent-background = ${xrdb:color2}
label-urgent-padding = 1

[module/mpd]
type = internal/mpd
format-online = <label-song>  <icon-prev> <icon-stop> <toggle> <icon-next>

icon-play = ⏵
icon-pause = ⏸
icon-stop = ⏹
icon-prev = ⏮
icon-next = ⏭

label-song-maxlen = 25
label-song-ellipsis = true
format-playing-padding = 2
format-playing-background = ${xrdb:color4}

[module/xbacklight]
type = internal/xbacklight

format = <label> <bar>
label = BL

bar-width = 10
bar-indicator = |
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}

[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight

[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-font = 2
format-prefix-padding = 1
format-prefix-background = ${colors.inactive}
label-background = ${colors.inactive}
label-padding = 1
label = %percentage%%

[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
label = %percentage_used%%

[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0

format-connected-padding = 2
format-connected = <ramp-signal> <label-connected>
label-connected = %essid%
format-connected-background = ${colors.active}

format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}

ramp-signal-0 = 
ramp-signal-foreground = ${colors.foreground-alt}

[module/eth]
type = internal/network
; interface = eth1
interface = enp2s0
interval = 3.0

format-connected = <label-connected>
format-connected-padding = 2
format-connected-background = ${colors.active}
label-connected =  %local_ip%

format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
;
[module/ewmh]
type = internal/xworkspaces

pin-workspaces = true
enable-click = true
enable-scroll = false
format-padding = 0
label-active-background = ${colors.active}
label-active = "  "
label-occupied = "  "
label-empty = "  "
label-empty-background = ${colors.inactive}
format-background = ${colors.inactive}

[module/date]
type = internal/date
interval = 5

date =
date-alt = " %d.%m.%Y"

time = %I:%M 
time-alt = %I:%M %p

format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-padding = 2
format-background = ${colors.active}

label = %date% %time%

[module/volume]
type = internal/volume

format-volume = <ramp-volume> <bar-volume>
format-volume-padding = 2
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
ramp-volume-4 = 
ramp-volume-5 = 
ramp-volume-foreground = ${xrdb:color15}

format-muted-prefix = " "
format-muted-foreground = ${xrdb:color15}
label-muted = MUTED
format-muted-padding = 2

bar-volume-width = 10
bar-volume-foreground-0 = ${xrdb:color2}
bar-volume-gradient = false
bar-volume-indicator =  
bar-volume-indicator-font = 1
bar-volume-fill = ●
bar-volume-fill-font = 1
bar-volume-empty = ●

bar-volume-empty-font = 2
bar-volume-empty-foreground = ${xrdb:color0}

[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 100

format-padding = 2

format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging> 
format-full =  <label-full>
format-full-padding = 2
format-full-background = ${colors.active}

ramp-capacity-0 = 
ramp-capacity-1 =  
ramp-capacity-2 =  
ramp-capacity-3 = 
ramp-capacity-4 =  
ramp-capacity-foreground = ${colors.foreground-alt}

animation-charging-0 =  
animation-charging-1 =   
animation-charging-2 =   
animation-charging-3 =  
animation-charging-4 =  
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
format-charging-padding = 2
format-charging-background = ${xrdb:color2}
format-discharging-padding = 2
format-discharging-background = ${colors.active}

[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 50

format = <label>
format-warn = <label-warn>
label-warn-padding = 2
label-padding = 2

label = " %temperature%"
label-warn = " %temperature%"
label-background = ${colors.inactive}
label-warn-background = ${xrdb:color2}

[module/wpgtk]
type = custom/menu
label-open = 
label-open-padding = 1

menu-0-0 = Colorscheme 1
menu-0-1 = Colorscheme 2

[module/powermenu]
type = custom/menu
format-spacing = 1
format-background = ${xrdb:color2}
format-padding = 1

label-open = 
label-open-foreground = ${colors.foreground-alt}
label-close =  cancel
label-close-foreground = ${colors.inactive}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2

menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = reboot

menu-2-0 = power off
menu-2-0-exec = poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0

[settings]
screenchange-reload = true
format-prefix-font = 2

[global/wm]
margin-top = 5
margin-bottom = 5


; vim:ft=dosini

CLICK TO VIEW

x

Notes

This is my personal polybar.base for use with wpgtk. This does nothing on it’s own!