. . .
1; polybar
2
3[colors]
4background = #000000
5; #332211
6background-alt = #222222
7; #443322
8foreground = #BBDDFF
9; #FEFFCC
10primary = #00BBEE
11; #AA4444
12secondary = #FF9955
13alert = #A54242
14disabled = #FFEEEE
15
16[bar/base]
17width = 100%
18;97.5%
19override-redirect = true
20wm-restack = i3
21monitor = ${env:MONITOR}
22offset-x = 0
23;1.25%
24offset-y = -24px
25height = 48px
26radius = 0px
27;8px
28
29background = ${colors.background}
30foreground = ${colors.foreground}
31
32line-size = 2pt
33
34border-left-size = 0px
35border-right-size = 0px
36; 3px
37border-color = ${colors.primary}
38
39padding-left = 4
40padding-right = 4
41
42font-0 = Inconsolata:style=Bold:size=14;14
43font-1 = Font Awesome 6 Free:size=16;4
44font-2 = Font Awesome 6 Brands:size=16;4
45font-3 = Font Awesome v4 Compatibility:size=16;4
46font-4 = Font Awesome 6 Free Solid:size=16;4
47font-5 = Deja Vu Sans:size=20;6
48
49[bar/bottombar]
50inherit = bar/base
51
52font-0 = Inconsolata:style=Bold:size=14;-8
53font-1 = Font Awesome 6 Free:size=16;-7
54font-2 = Font Awesome 6 Brands:size=16;-7
55font-3 = Font Awesome v4 Compatibility:size=16;-7
56font-4 = Font Awesome 6 Free Solid:size=16;-7
57font-5 = Deja Vu Sans:size=20;-6
58
59width = 100%
60;66.66666%
61offset-x = 0%
62;16.66666%
63
64bottom = true
65
66modules-center = i3
67
68[bar/topbar]
69
70padding-top = 5px
71
72inherit = bar/base
73monitor = ${env:MONITOR}
74
75module-margin = 1
76
77separator = |
78separator-foreground = ${colors.disabled}
79
80
81modules-left = i3mode xwindow
82modules-center =
83modules-right = fsroot fshome fsd0 fsd1 fsd2 fsssd0 fsnix cpu memory pulseaudio date
84
85cursor-click = pointer
86cursor-scroll = ns-resize
87
88enable-ipc = true
89
90[module/i3mode]
91type = internal/i3
92
93enable-scroll = false
94format = "<label-mode>"
95label-mode = "%mode%"
96label-mode-underline = ${colors.foreground}
97label-mode-background = ${colors.primary}
98label-mode-padding = 1
99
100[module/i3]
101type = internal/i3
102
103pin-workspaces = true
104
105show-urgent = true
106
107strip-wsnumbers = true
108
109enable-scroll = true
110
111wrapping-scroll = false
112
113reverse-scroll = true
114
115fuzzy-match = true
116
117ws-icon-0 = 1;
118ws-icon-1 = Chrome;
119ws-icon-2 = Music;
120ws-icon-3 = Chat;
121ws-icon-4 = 11:1;❶
122ws-icon-5 = 12;#
123ws-icon-6 = 13;#
124ws-icon-7 = 14;#
125ws-icon-8 = 15;#
126ws-icon-9 = 16;#
127ws-icon-10 = 17;#
128ws-icon-11 = 18;#
129ws-icon-12 = 19;#
130ws-icon-default = ""
131
132format = "<label-state>"
133
134
135label-mode=" ~ ALTERNATE INPUT MODE ~ "
136label-mode-background = #FF0000
137label-mode-foreground = #FFFFFF
138label-mode-padding-left = 0
139label-mode-padding-right = 0
140
141label-focused = %icon% [%name%]
142label-focused-background = ${colors.background-alt}
143label-focused-underline = ${colors.primary}
144label-focused-overline = ${colors.primary}
145label-focused-padding = 1
146
147label-unfocused = "%icon% %name% "
148label-unfocused-padding = 1
149
150label-visible = %icon% [%name%]
151label-visible-underline = ${colors.primary}
152label-visible-overline = ${colors.primary}
153label-visible-padding = 1
154
155label-separator = " | "
156
157label-urgent = %icon% !%name%!
158label-urgent-foreground = #FF0000
159
160
161[module/xwindow]
162type = internal/xwindow
163label = %title:0:60:...%
164
165
166
167
168[module/fsd2]
169type = internal/fs
170interval = 25
171
172mount-0 = /data/2
173
174label-mounted = %{F#00BBEE}data/2%{F-} %free% [%percentage_free%%]
175label-unmounted = %{F00BBEE}data/2%{F-} --
176
177
178[module/foo]
179type = custom/text
180
181format = <label>
182label = "foo"
183click-left = notify-send "foo"
184
185[module/fsnix]
186type = internal/fs
187interval = 25
188
189mount-0 = /nix
190
191label-mounted = %{F#00BBEE}nix%{F-} %free% [%percentage_free%%]
192label-unmounted = %{F00BBEE}nix%{F-} --
193
194[module/fsssd0]
195type = internal/fs
196interval = 25
197
198mount-0 = /ssd/0
199
200label-mounted = %{F#00BBEE}ssd/0%{F-} %free% [%percentage_free%%]
201label-unmounted = %{F00BBEE}ssd/0%{F-} --
202
203[module/fsd1]
204type = internal/fs
205interval = 25
206
207mount-0 = /data/1
208
209label-mounted = %{F#00BBEE}data/1%{F-} %free% [%percentage_free%%]
210label-unmounted = %{F00BBEE}data/1%{F-} --
211
212[module/fsd0]
213type = internal/fs
214interval = 25
215
216mount-0 = /data/0
217
218label-mounted = %{F#00BBEE}data/0%{F-} %free% [%percentage_free%%]
219label-unmounted = %{F00BBEE}data/0%{F-} --
220
221[module/fshome]
222type = internal/fs
223interval = 25
224
225mount-0 = /home
226
227label-mounted = %{F#00BBEE}Home%{F-} %free% [%percentage_free%%]
228
229[module/fsroot]
230type = internal/fs
231interval = 25
232
233mount-0 = /
234
235label-mounted = %{F#00BBEE}Root%{F-} %free% [%percentage_free%%]
236
237[module/pulseaudio]
238type = internal/pulseaudio
239
240interval = 10
241
242format-volume-prefix = "VOL "
243format-volume-prefix-foreground = ${colors.primary}
244format-volume = <label-volume>
245
246use-ui-max = false
247
248label-volume = %percentage:3%%
249
250label-muted = "[ MUTE ]"
251label-muted-foreground = ${colors.alert}
252
253[module/memory]
254type = internal/memory
255interval = 2
256format-prefix = "RAM "
257format-prefix-foreground = ${colors.primary}
258label = %percentage_used:2%%
259
260[module/cpu]
261type = internal/cpu
262interval = 2
263format-prefix = "CPU "
264format-prefix-foreground = ${colors.primary}
265label = %percentage:2%%
266
267[module/date]
268type = internal/date
269interval = 1
270
271label = %date%
272rest = · %time%
273
274date = %d.%m.%Y
275date-alt = %a, %b. %d, %Y
276
277time = %H:%M:%S
278time-alt = %H:%M:%S
279
280label-foreground = ${colors.primary}
281
282[settings]
283screenchange-reload = true
284pseudo-transparency = true
285