-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
328 lines (261 loc) · 8.08 KB
/
config.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
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
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
background = #171717
background-alt = #ff000d
foreground = #ffffff
primary = #F0C674
secondary = #8ABEB7
alert = #A54242
disabled = #707880
c1 = #E65100
c2 = #EF6C00
c3 = #F57C00
c4 = #F68800
c5 = #FFA000
c6 = #FFB300
c7 = #FFC107
c8 = #FFD54F
danger = #b82121
[bar/example]
width = 100%
height = 24pt
radius = 0
; dpi = 96
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3pt
border-size = 4pt
border-color = #00000000
padding-left = 0
padding-right = 0
module-margin = 0
# separator = |
separator-foreground = ${colors.disabled}
font-0 = Hack Nerd Font:style=Bold:size=11;2
modules-left = battery xwindow
modules-center = xworkspaces
modules-right = xkeyboard date pulseaudio network essid ethernet bluetooth power
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
; wm-restack = generic
wm-restack = bspwm
; wm-restack = i3
override-redirect = false
; This module is not active by default (to enable it, add it to one of the
; modules-* list above).
; Please note that only a single tray can exist at any time. If you launch
; multiple bars with this module, only a single one will show it, the others
; will produce a warning. Which bar gets the module is timing dependent and can
; be quite random.
; For more information, see the documentation page for this module:
; https://polybar.readthedocs.io/en/stable/user/modules/tray.html
[module/bluetooth]
type = custom/script
exec = ~/.config/polybar/polybar-scripts/system-bluetooth-bluetoothctl.sh
tail = true
click-left = ~/.config/polybar/polybar-scripts/system-bluetooth-bluetoothctl.sh --toggle &
label = %{F#ffffff}%{O2}%output%%{O0}%{F-}
label-padding = 2
[module/power]
type = custom/text
format = <label>
format-spacing = 5
;format-background = ${colors.c1}
label = ""
label-padding = 2
label-foreground = #1793d1
;label-background = ${colors.c1}
click-left = rofi -show power-menu -modi power-menu:rofi-power-menu
[module/essid]
type = custom/script
exec = "iwgetid -r wlo1 || echo 'No connection'"
interval = 3
label = "%output%"
format = "%{A1:rofi-wifi-menu:}<label> %{A}"
;format-background = ${colors.c2}
[module/network]
type = internal/network
interface = wlo1
interface-type = wireless
format-connected = %{A1:rofi-wifi-menu:}<ramp-signal> %{A}
format-disconnected = %{A1:rofi-wifi-menu:}<label-disconnected> %{A}
label-disconnected =
label-disconnected-padding = 2
interval = 3
;format-connected-background = ${colors.c2}
;format-disconnected-background = ${colors.c2}
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-padding-left = 2
[module/ethernet]
type = internal/network
interface = eno1
format-connected = %{F#ffffff}<label-connected>%{F-}
format-disconnected = %{F#EBEBE4}<label-disconnected>%{F-}
;format-connected-background = ${colors.c2}
;format-disconnected-background = ${colors.c2}
label-connected =
label-connected-padding = 2
label-disconnected =
label-disconnected-padding = 2
interval = 3
[module/systray]
type = internal/tray
format-margin = 8pt
tray-spacing = 16pt
[module/xworkspaces]
type = internal/xworkspaces
label-active =
label-active-padding = 1
label-occupied =
label-occupied-padding = 1
label-urgent =
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty =
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%
label-padding = 2
label-background = #202020
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <ramp-volume>
format-muted = <label-muted>
label-volume = %percentage%%
label-volume-padding-right = 2
;label-volume-background = ${colors.c5}
label-muted = " "
;label-volume-padding = 2
;label-muted-background = ${colors.c5}
ramp-volume-0 = "vol: ▁▁▁▁▁"
ramp-volume-1 = "vol: ▂▁▁▁▁"
ramp-volume-2 = "vol: ▃▂▁▁▁"
ramp-volume-3 = "vol: ▄▃▂▁▁"
ramp-volume-4 = "vol: ▅▄▃▂▁"
ramp-volume-5 = "vol: ▆▅▄▃▂"
ramp-volume-6 = "vol: ▇▆▅▄▃"
ramp-volume-7 = "vol: █▇▆▅▄"
ramp-volume-8 = "vol: ██▇▆▅"
ramp-volume-9 = "vol: ███▇▆"
ramp-volume-10 = "vol: ████▇"
ramp-volume-11 = "vol: █████"
ramp-volume-padding = 2
;ramp-volume-background = ${colors.c5}
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
label-layout = %layout%
label-layout-foreground = ${colors.foreground}
;label-layout-background = ${colors.c4}
label-layout-padding = 2
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
;label-indicator-background = ${colors.c4}
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.primary}
label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/wireless-network]
type = internal/network
interface = wlp2s0
interval = 1.0
format-connected = <label-connected>
label-connected = %ifname%
label-connected-background = ${colors.bg}
label-connected-foreground = ${colors.green}
label-connected-padding = 1
format-disconnected = <label-disconnected>
label-disconnected = Offline
label-disconnected-background = ${colors.bg}
label-disconnected-foreground = ${colors.red}
label-disconnected-padding = 1
[module/date]
type = internal/date
interval = 1
date = %H:%M
date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.foreground}
label-padding = 2
;format-background = ${colors.c3}
format = <label>
[module/battery]
type = internal/battery
full-at = 99
batery = BAT0
adapter = ADP1
poll-interval = 2
time-format = %I:%M
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
label-charging = %percentage%% %time%
label-discharging = %percentage%% %time%
label-charging-padding-right = 2
label-discharging-padding-right = 2
ramp-capacity-9 =
ramp-capacity-8 =
ramp-capacity-7 =
ramp-capacity-6 =
ramp-capacity-5 =
ramp-capacity-4 =
ramp-capacity-3 =
ramp-capacity-2 =
ramp-capacity-1 = %{F#b2bd20}
ramp-capacity-0 = %{F#b82121}
ramp-capacity-padding-left=2
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-5 =
animation-charging-6 =
animation-charging-7 =
animation-charging-8 =
animation-charging-9 =
animation-charging-padding-left = 2
animation-charging-framerate = 400
label-full = %{F#20bd23} %{F#FFFFFF}%percentage%%
label-full-padding = 2
[settings]
screenchange-reload = true
pseudo-transparency = true
; vim:ft=dosini