config
1 |
[colors] |
2 |
xcolor0 = ${xrdb:color0} |
3 |
xcolor1 = ${xrdb:color1} |
4 |
xcolor2 = ${xrdb:color2} |
5 |
xcolor3 = ${xrdb:color3} |
6 |
xcolor4 = ${xrdb:color4} |
7 |
xcolor5 = ${xrdb:color5} |
8 |
xcolor6 = ${xrdb:color6} |
9 |
xcolor7 = ${xrdb:color7} |
10 |
xcolor8 = ${xrdb:color8} |
11 |
xcolor9 = ${xrdb:color9} |
12 |
xcolor10 = ${xrdb:color10} |
13 |
xcolor11 = ${xrdb:color11} |
14 |
xcolor12 = ${xrdb:color12} |
15 |
xcolor13 = ${xrdb:color13} |
16 |
xcolor14 = ${xrdb:color14} |
17 |
xcolor15 = ${xrdb:color15} |
18 |
|
19 |
[bar/top] |
20 |
width = 100% |
21 |
height = 25 |
22 |
offset-x = 0 |
23 |
offset-y = 10 |
24 |
;bottom = true |
25 |
|
26 |
; MD grey 500 and 800 for underline |
27 |
background = 000000 |
28 |
underline = ${colors.xcolor2} |
29 |
|
30 |
foreground = #eee |
31 |
|
32 |
underline-size = 3 |
33 |
underline-color = #424242FF |
34 |
|
35 |
spacing = 1 |
36 |
padding-left = 0 |
37 |
padding-right = 0 |
38 |
module-margin-left = 0 |
39 |
module-margin-right = 0 |
40 |
|
41 |
font-0 = Ubuntu:pixelsize=14;0 |
42 |
font-1 = FontAwesome:size=10;-2 |
43 |
font-2 = siji:pixelsize=10;0 |
44 |
|
45 |
modules-left = i3 xwindow |
46 |
modules-center = date |
47 |
modules-right = cpu network mpd battery backlight volume |
48 |
|
49 |
;tray-position = right |
50 |
;tray-padding = 2 |
51 |
tray-background = #66333333 |
52 |
tray-transparent = true |
53 |
|
54 |
wm-restack = i3 |
55 |
|
56 |
scroll-up = i3wm-wsnext |
57 |
scroll-down = i3wm-wsprev |
58 |
|
59 |
; MODULES |
60 |
|
61 |
[module/i3] |
62 |
type = internal/i3 |
63 |
|
64 |
ws-icon-0 = web; |
65 |
ws-icon-1 = term; |
66 |
ws-icon-2 = chat; |
67 |
ws-icon-3 = code; |
68 |
ws-icon-4 = music; |
69 |
;ws-icon-default = |
70 |
|
71 |
format = |
72 |
|
73 |
label-focused = %name% |
74 |
label-focused-foreground = ${colors.xcolor10} |
75 |
label-focused-padding = 4 |
76 |
|
77 |
label-occupied = %name% |
78 |
label-unfocused-foreground = #616161FF |
79 |
label-occupied-background = ${colors.xcolor7} |
80 |
label-occupied-underline= ${colors.xcolor15} |
81 |
label-occupied-padding = 4 |
82 |
|
83 |
label-urgent = %name% |
84 |
label-urgent-background = ${colors.xcolor7} |
85 |
label-urgent-underline= ${colors.xcolor15} |
86 |
label-urgent-padding = 4 |
87 |
|
88 |
label-empty = %name% |
89 |
label-empty-foreground = #44ffffff |
90 |
label-empty-background = ${colors.xcolor7} |
91 |
label-empty-underline= ${colors.xcolor15} |
92 |
label-empty-padding = 4 |
93 |
|
94 |
[module/xwindow] |
95 |
type = internal/xwindow |
96 |
label = %title:0:120:...% |
97 |
label-foreground = ${colors.xcolor11} |
98 |
;label-underline= ${colors.xcolor11} |
99 |
label-padding = 4 |
100 |
label-length = 60 |
101 |
label-maxlen = 60 |
102 |
|
103 |
[module/date] |
104 |
type = internal/date |
105 |
|
106 |
; Seconds to sleep between updates |
107 |
interval = 1.0 |
108 |
|
109 |
; See "man date" for details on how to format the date string |
110 |
; NOTE: if you want to use syntax tags here you need to use %%{...} |
111 |
date = %d/%m - |
112 |
|
113 |
; Optional time format |
114 |
time = %H:%M |
115 |
|
116 |
; if `date-alt` or `time-alt` is defined, clicking |
117 |
; the module will toggle between formats |
118 |
date-alt = %A, %d %B %Y | |
119 |
time-alt = %H:%M:%S |
120 |
|
121 |
label = %date% %time% |
122 |
format = |
123 |
format-foreground = ${colors.xcolor1} |
124 |
format-padding = 3 |
125 |
|
126 |
[module/padding] |
127 |
type = custom/text |
128 |
content = |
129 |
content-foreground = #000000ff |
130 |
content-background = #550000ff |
131 |
|
132 |
[module/battery] |
133 |
type = internal/battery |
134 |
|
135 |
full-at = 90 |
136 |
|
137 |
battery = BAT0 |
138 |
adapter = AC0 |
139 |
|
140 |
poll-interval = 5 |
141 |
|
142 |
format-charging = |
143 |
format-discharging = |
144 |
format-full = |
145 |
label-charging = %percentage% |
146 |
label-discharging = %percentage% |
147 |
label-full = %percentage% |
148 |
format-charging-padding = 3 |
149 |
format-discharging-padding = 3 |
150 |
format-full-padding = 3 |
151 |
|
152 |
ramp-capacity-0 = |
153 |
ramp-capacity-1 = |
154 |
ramp-capacity-2 = |
155 |
ramp-capacity-3 = |
156 |
ramp-capacity-4 = |
157 |
|
158 |
animation-charging-0 = |
159 |
animation-charging-1 = |
160 |
animation-charging-2 = |
161 |
animation-charging-3 = |
162 |
animation-charging-4 = |
163 |
animation-charging-framerate = 500 |
164 |
|
165 |
format-discharging-foreground = ${colors.xcolor15} |
166 |
label-discharging-foreground = ${colors.xcolor15} |
167 |
format-charging-foreground = ${colors.xcolor3} |
168 |
label-charging-foreground = ${colors.xcolor3} |
169 |
|
170 |
[module/backlight] |
171 |
type = internal/xbacklight |
172 |
|
173 |
card = intel_backlight |
174 |
enable-scroll = true |
175 |
|
176 |
format = |
177 |
label = %percentage% |
178 |
format-foreground = ${colors.xcolor14} |
179 |
|
180 |
|
181 |
ramp-0 = 🌕 |
182 |
ramp-1 = 🌔 |
183 |
ramp-2 = 🌓 |
184 |
ramp-3 = 🌒 |
185 |
ramp-4 = 🌑 |
186 |
|
187 |
|
188 |
[module/cpu] |
189 |
type = internal/cpu |
190 |
|
191 |
format-foreground = ${colors.xcolor13} |
192 |
|
193 |
; Seconds to sleep between updates |
194 |
; Default: 1 |
195 |
interval = 0.2 |
196 |
; Available tags: |
197 |
; |
198 |
; |
199 |
; |
200 |
; |
201 |
format = |
202 |
|
203 |
; Available tokens: |
204 |
; %percentage% (default) - total cpu load |
205 |
; %percentage-cores% - load percentage for each core |
206 |
; %percentage-core[1-9]% - load percentage for specific core |
207 |
label = %percentage%% CPU |
208 |
|
209 |
ramp-coreload-0 = ▁ |
210 |
ramp-coreload-1 = ▂ |
211 |
ramp-coreload-2 = ▃ |
212 |
ramp-coreload-3 = ▄ |
213 |
ramp-coreload-4 = ▅ |
214 |
ramp-coreload-5 = ▆ |
215 |
ramp-coreload-6 = ▇ |
216 |
ramp-coreload-7 = █ |
217 |
|
218 |
format-padding = 4 |
219 |
|
220 |
[module/network] |
221 |
type = internal/network |
222 |
interface = wlp2s0 |
223 |
interval = 0.5 |
224 |
; Available tags: |
225 |
; |
226 |
; |
227 |
format-connected = |
228 |
|
229 |
; Available tags: |
230 |
; |
231 |
format-disconnected = |
232 |
|
233 |
; Available tags: |
234 |
; |
235 |
; |
236 |
; |
237 |
format-packetloss = |
238 |
|
239 |
; Available tokens: |
240 |
; %ifname% [wireless+wired] |
241 |
; %local_ip% [wireless+wired] |
242 |
; %essid% [wireless] |
243 |
; %signal% [wireless] |
244 |
; %upspeed% [wireless+wired] |
245 |
; %downspeed% [wireless+wired] |
246 |
; %linkspeed% [wired] |
247 |
; Default: %ifname% %local_ip% |
248 |
label-connected = %essid% %downspeed:9% |
249 |
label-connected-foreground = ${colors.xcolor12} |
250 |
|
251 |
; Available tokens: |
252 |
; %ifname% [wireless+wired] |
253 |
; Default: (none) |
254 |
label-disconnected = Disconnected |
255 |
label-disconnected-foreground = ${colors.xcolor3} |
256 |
|
257 |
; Available tokens: |
258 |
; %ifname% [wireless+wired] |
259 |
; %local_ip% [wireless+wired] |
260 |
; %essid% [wireless] |
261 |
; %signal% [wireless] |
262 |
; %linkspeed% [wired] |
263 |
; Default: (none) |
264 |
;label-packetloss = %essid% |
265 |
;label-packetloss-foreground = #eefafafa |
266 |
|
267 |
|
268 |
; Only applies if |
269 |
animation-packetloss-0 = ⚠ |
270 |
animation-packetloss-0-foreground = #ffa64c |
271 |
animation-packetloss-1 = 📶 |
272 |
animation-packetloss-1-foreground = #000000 |
273 |
; Framerate in milliseconds |
274 |
animation-packetloss-framerate = 500 |
275 |
|
276 |
[module/volume] |
277 |
type = internal/volume |
278 |
|
279 |
format-volume = |
280 |
format-muted = |
281 |
label-volume = %percentage% |
282 |
label-muted = muted |
283 |
label-muted-foreground = #aaa |
284 |
format-volume-padding = 3 |
285 |
format-muted-padding = 3 |
286 |
format-volume-foreground = ${colors.xcolor14} |
287 |
|
288 |
ramp-volume-0 = |
289 |
ramp-volume-1 = |
290 |
ramp-volume-2 = |
291 |
ramp-headphones-0 = |
292 |
|
293 |
;[module/spotify] |
294 |
;type = custom/script |
295 |
; |
296 |
;exec = /home/gamehelp16/Documents/np |
297 |
;interval = 1 |
298 |
; |
299 |
;format = |
300 |
;format-background = #dd00c6e0 |
301 |
;format-foreground = #fff |
302 |
;format-padding = 4 |
303 |
; |
304 |
;label = %output% |
305 |
|
306 |
[module/powermenu] |
307 |
type = custom/menu |
308 |
|
309 |
label-open = |
310 |
format-background = |
311 |
format-underline = |
312 |
label-open-background = ${colors.xcolor6} |
313 |
label-open-underline = ${colors.xcolor14} |
314 |
label-close = Cancel |
315 |
label-close-background = ${colors.xcolor6} |
316 |
label-close-underline = ${colors.xcolor14} |
317 |
label-open-padding = 4 |
318 |
label-close-padding = 3 |
319 |
|
320 |
menu-0-0 = Reboot |
321 |
menu-0-0-exec = menu-open-1 |
322 |
menu-0-1 = Power off |
323 |
menu-0-1-exec = menu-open-2 |
324 |
menu-0-0-padding = 3 |
325 |
menu-0-1-padding = 3 |
326 |
|
327 |
menu-1-0 = reboot? |
328 |
menu-1-0-exec = sudo reboot |
329 |
menu-1-0-padding = 3 |
330 |
|
331 |
menu-2-0 = power off? |
332 |
menu-2-0-exec = sudo poweroff |
333 |
menu-2-0-padding = 3 |
334 |
|
335 |
[module/mpd] |
336 |
type = internal/mpd |
337 |
|
338 |
host = 127.0.0.1 |
339 |
port = 6600 |
340 |
password = |
341 |
|
342 |
; Seconds to sleep between progressbar/song timer sync |
343 |
; Default: 1 |
344 |
interval = 2 |
345 |
|
346 |
format-online = |
347 |
|
348 |
; Available tokens: |
349 |
; %artist% |
350 |
; %album% |
351 |
; %date% |
352 |
; %title% |
353 |
; Default: %artist% - %title% |
354 |
label-song = %title% |
355 |
format-online-padding = 3 |