blob: 49614a6209ca485a3caa59cf0a4eebb70ecc534b (
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
|
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
;background = #dd1e2120
background = #e6100b13
foreground = #FFFFFF
;systray-bg = #232627
systray-bg = #e6100b13
module-color-0 = #9b1bed
module-color-1 = #ff0aa3
module-bg = #e6100b13
xwindow-fg = #9d00ff
ws-active-fg = #ffffff
ws-active-bg = ${colors.module-color-1}
ws-active-ul = #d33682
ws-occupied-fg = #FFFFFF
ws-occupied-bg = ${colors.module-color-0}
ws-occupied-ul = #130f23
ws-empty-fg = ${colors.xwindow-fg}
ws-empty-bg = ${colors.background}
ws-empty-ul = ${colors.background}
time-fg = ${colors.module-color-0}
time-bg = ${colors.module-bg}
uptime-fg = ${colors.module-color-0}
uptime-bg = ${colors.module-bg}
ethernet-fg = ${colors.module-color-1}
ethernet-bg = ${colors.module-bg}
wifi-fg = ${colors.ethernet-fg}
wifi-bg = ${colors.module-bg}
fs-root-fg = ${colors.module-color-0}
fs-root-bg = ${colors.module-bg}
fs-home-fg = ${colors.module-color-1}
fs-home-bg = ${colors.module-bg}
fs-hdd-fg = ${colors.module-color-0}
fs-hdd-bg = ${colors.module-bg}
cpu-fg = ${colors.module-color-1}
cpu-bg = ${colors.module-bg}
temp-fg = ${colors.module-color-0}
temp-bg = ${colors.module-bg}
mem-fg = ${colors.module-color-1}
mem-bg = ${colors.module-bg}
vol-fg = ${colors.module-color-0}
vol-bg = ${colors.module-bg}
vol-fg-alt = #c32aeb
[bar/mybar]
;monitor = ${env:MONITOR:eDP-1-1}
enable-ipc = true
width = 100%
height = 28
offset-x = 0
offset-y = 0
radius = 0
fixed-center = true
bottom = 0
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0
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 = "SauceCodePro:style=Regular:size=12;3"
font-1 = "Source Han Sans JP Normal:size=11;2"
font-2 = "RobotoMono Nerd Font Mono:size=22;5"
font-3 = fixed:pixelsize=10;1
;font-4 = unifont:fontformat=truetype:size=8:antialias=false;0
;font-5 = siji:pixelsize=10;1
modules-left = date uptime wlan eth filesystem-root filesystem-home filesystem-hdd cpu temperature memory xwindow
;modules-center = xwindow
modules-right = pulseaudio ewmh
tray-position = right
tray-padding = 2
tray-background = ${colors.systray-bg}
override-redirect = true
cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = " %title:0:50:...%"
label-foreground = ${colors.xwindow-fg}
[module/filesystem-root]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = " %{A1:pcmanfm /:}%mountpoint% %percentage_used%%%{A1} "
label-mounted-background = ${colors.fs-root-bg}
label-mounted-foreground = ${colors.fs-root-fg}
[module/filesystem-home]
type = internal/fs
interval = 25
mount-0 = /home
label-mounted = " %{A1:pcmanfm /home:}%mountpoint% %percentage_used%%%{A1} "
label-mounted-background = ${colors.fs-home-bg}
label-mounted-foreground = ${colors.fs-home-fg}
[module/filesystem-hdd]
type = internal/fs
interval = 25
mount-0 = /hdd
label-mounted = " %{A1:pcmanfm /hdd:}%mountpoint% %percentage_used%%%{A1} "
label-mounted-background = ${colors.fs-hdd-bg}
label-mounted-foreground = ${colors.fs-hdd-fg}
[module/cpu]
type = internal/cpu
interval = 2
label = " CPU: %percentage:2%% "
label-background = ${colors.cpu-bg}
label-foreground = ${colors.cpu-fg}
[module/memory]
type = internal/memory
interval = 2
label-background = ${colors.mem-bg}
label-foreground = ${colors.mem-fg}
label = " MEM: %percentage_used%% "
[module/wlan]
type = internal/network
interface = wlo1
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-background = ${colors.wifi-bg}
format-connected-foreground = ${colors.wifi-fg}
label-connected = "%{A1:alacritty -t 'nmtui' -e 'nmtui':}WIFI: %essid% (%local_ip%)%{A1}"
;label-connected = "%local_ip%"
label-disconnected = ""
label-disconnected-foreground = ${colors.foreground}
label-disconnected-background = ${colors.wifi-bg}
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground}
[module/eth]
type = internal/network
interface = eno1
interval = 3.0
label-connected-background = ${colors.ethernet-bg}
label-connected-foreground = ${colors.ethernet-fg}
format-connected-underline = #55aa55
format-connected-prefix = "LAN: "
format-connected-prefix-foreground = ${colors.foreground}
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/date]
type = internal/date
interval = 5
time = " %I:%M %p "
time-alt = " %d %B %Y (%A) %H:%M:%S "
format-foreground = ${colors.time-fg}
format-background = ${colors.time-bg}
label = %{A3:#uptime.module_toggle:}%time%%{A3}
[module/uptime]
type = custom/script
click-left = module_toggle
interval = 100
exec = "uptime | awk -F, '{sub(".*up ",x,$1);sub(" min","M",$1);print $1}'"
label = "/ UP: %output% "
hidden = true
format-foreground = ${colors.uptime-fg}
format-background = ${colors.uptime-bg}
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume>
label-volume = " VOL: %percentage%% "
label-volume-background = ${colors.vol-bg}
label-volume-foreground = ${colors.vol-fg}
label-muted = " MUTED "
label-muted-foreground = ${colors.vol-fg-alt}
label-muted-background = ${colors.vol-bg}
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 65
label = " TEMP: %temperature-c% "
label-warn-foreground = ${colors.vol-fg-alt}
label-warn-background = ${colors.temp-bg}
label-background = ${colors.temp-bg}
label-foreground = ${colors.temp-fg}
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 0
margin-bottom = 0
; vim:ft=dosini
[module/ewmh]
type = internal/xworkspaces
pin-workspaces = false
enable-click = true
enable-scroll = false
format = <label-state>
label-monitor = %name%
;label-active = "%{F#f516a4}%{B#232327}%{F#FFFFFF}%{B#f516a4} %name% %{B#f516a4}%{F#232327}%{B-}%{F-}"
label-active = %name%
label-active-foreground = ${colors.ws-active-fg}
label-active-background = ${colors.ws-active-bg}
label-active-underline = ${colors.ws-active-ul}
label-active-padding = 3
label-occupied = %name%
label-occupied-foreground = ${colors.ws-occupied-fg}
label-occupied-background = ${colors.ws-occupied-bg}
label-occupied-underline = ${colors.ws-occupied-ul}
label-occupied-padding = 3
label-empty = %name%
label-empty-foreground = ${colors.ws-empty-fg}
label-empty-background = ${colors.ws-empty-bg}
label-empty-underline = ${colors.ws-empty-ul}
label-empty-padding = 3
label-background = #FFFFFF
label-urgent = %name%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-underline = #9b0a20
label-urgent-padding = 0
|