config.ini
1[colors]
2background = #2E3440
3rounded = #3B425260
4background-alt = #5E81AC
5foreground = #ECEFF4
6foreground-alt = #5E81AC
7primary = #D8DEE9
8secondary = #BF616A
9alert = #BF616A
10transparent = #001d1f21
11
12[bar/main]
13monitor = ${env:MONITOR:}
14width = 100%
15bottom = true
16height = 19
17fixed-center = false
18
19background = ${colors.transparent}
20foreground = ${colors.foreground}
21
22line-size = 11
23line-color = #1d1f2110
24
25border-size = 10
26
27padding-left = 0
28padding-right = 2
29
30locale = en_US.UTF-8
31
32font-0 = FiraCode Nerd Font:size=10;1
33font-1 = FiraCode Nerd Font Mono:pixelsize=10;1
34font-2 = FiraCode Nerd Font Mono:pixelsize=12;2
35modules-left = i3
36modules-right = round-left internet round-right space round-left weather round-right space round-left pulseaudio round-right space round-left date round-right
37
38tray-position = none
39
40wm-restack = i3
41
42[bar/dots]
43monitor = ${env:MONITOR:}
44width = 100%
45bottom = true
46height = 9
47offset-x = 1.3%
48fixed-center = false
49
50
51background = #1d1f2110
52foreground = ${colors.foreground}
53
54line-size = 1
55line-color = #f00
56
57border-size = 1
58
59padding-left = 0
60padding-right = 2
61
62module-margin-left = 1
63module-margin-right = 2
64
65modules-left = i3-dots
66
67tray-position = none
68
69wm-restack = i3
70override-redirect = true
71
72cursor-click = pointer
73cursor-scroll = ns-resize
74
75font-0 = FiraCode Nerd Font Mono:size=10;1
76
77[bar/eDP1]
78inherit = bar/main
79monitor = eDP1
80
81[bar/HDMI2]
82inherit = bar/main
83monitor = HDMI2
84
85[module/i3]
86type = internal/i3
87format = <label-state> <label-mode>
88index-sort = true
89wrapping-scroll = false
90
91pin-workspaces = true
92
93label-mode-padding = 2
94label-mode-foreground = #000
95label-mode-background = ${colors.primary}
96
97label-focused = %index%
98label-focused-padding = 2
99
100label-unfocused = %index%
101label-unfocused-padding = 2
102label-visible = %index%
103label-visible-background = ${self.label-focused-background}
104label-visible-padding = ${self.label-focused-padding}
105
106label-urgent = %index%
107label-urgent-background = ${colors.alert}
108label-urgent-padding = 2
109
110[module/i3-dots]
111type = internal/i3
112format = <label-state> <label-mode>
113index-sort = true
114wrapping-scroll = false
115
116pin-workspaces = true
117
118label-mode-padding = 2
119label-mode-foreground = #000
120label-mode-background = ${colors.primary}
121
122label-focused =·
123
124label-unfocused = " "
125label-unfocused-padding = 2
126
127label-visible = " "
128label-visible-background = ${self.label-focused-background}
129label-visible-padding = ${self.label-focused-padding}
130
131label-urgent = %index%
132label-urgent-background = ${colors.alert}
133label-urgent-padding = 2
134
135[module/round-left]
136type = custom/text
137
138content = %{T3}%{T-}
139content-foreground = ${colors.rounded}
140
141[module/space]
142type = custom/text
143
144content = " "
145
146[module/round-right]
147type = custom/text
148
149content = %{T3}%{T-}
150content-foreground = ${colors.rounded}
151
152[module/internet]
153type = internal/network
154interface = enp0s25
155interval = 3.0
156format-connected = %{A1:networkmanager_dmenu:}直 <label-connected>%{A}
157format-connected-overline = ${colors.borderound}
158format-connected-underline = ${colors.borderound}
159format-connected-background = ${colors.rounded}
160label-connected = "Ethernet"
161format-disconnected = %{A1:networkmanager_dmenu:}睊%{A}
162
163
164[module/date]
165type = internal/date
166interval = 5
167time = %H:%M
168date = %A %d %B %Y
169format-overline = ${colors.borderound}
170format-underline = ${colors.borderound}
171format-background = ${colors.rounded}
172label = %time%%{A} %{A}%{A3:gsimplecal & disown:}%date%
173
174[module/pulseaudio]
175type = internal/pulseaudio
176sink = alsa_output.pci-0000_00_1f.3.analog-stereo
177use-ui-max = true
178interval = 5
179format-volume = <ramp-volume> <label-volume>
180
181format-volume-overline = ${colors.borderound}
182format-volume-underline = ${colors.borderound}
183format-volume-background = ${colors.rounded}
184
185label-muted = " ﱝ "
186label-muted-foreground = ${colors.borderound}
187label-muted-background = ${colors.rounded}
188
189ramp-volume-0 = "奄"
190ramp-volume-1 = 奔
191ramp-volume-2 = 墳
192
193[module/weather]
194type = custom/script
195interval = 600
196cursor-click = python3 ~/.config/polybar/weather.py
197
198format-overline = ${colors.borderound}
199format-underline = ${colors.borderound}
200format-background = ${colors.rounded}
201
202exec = python3 ~/.config/polybar/weather.py
203
204ramp-capacity-0 =
205ramp-capacity-1 =
206ramp-capacity-2 =
207ramp-capacity-3 =
208ramp-capacity-4 =
209ramp-capacity-0-foreground = #BF616A
210ramp-capacity-1-foreground = #BF616A
211
212
213
214[settings]
215screenchange-reload = true
216compositing-overline = over
217compositing-underline = over
218pseudo-transparency = false
219
220[global/wm]
221; margin-top = 0
222; margin-bottom = 5
223
224; vim:ft=dosini
225
226