diff options
Diffstat (limited to '.config/polybar/config.ini##h.luchs')
-rw-r--r-- | .config/polybar/config.ini##h.luchs | 293 |
1 files changed, 293 insertions, 0 deletions
diff --git a/.config/polybar/config.ini##h.luchs b/.config/polybar/config.ini##h.luchs new file mode 100644 index 0000000..c7fc4af --- /dev/null +++ b/.config/polybar/config.ini##h.luchs | |||
@@ -0,0 +1,293 @@ | |||
1 | ;========================================================== | ||
2 | ; | ||
3 | ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ | ||
4 | ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ | ||
5 | ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ | ||
6 | ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ | ||
7 | ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ | ||
8 | ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ | ||
9 | ; | ||
10 | ;========================================================== | ||
11 | |||
12 | [colors] | ||
13 | background = #40191724 | ||
14 | background_modules = #aaebbcba | ||
15 | foreground = #e0def4 | ||
16 | foreground_modules = #1f1d2e | ||
17 | red = #eb6f92 | ||
18 | green = #9ccfd8 | ||
19 | sold_out_green = #1DB954 | ||
20 | yellow = #f6c177 | ||
21 | blue = #31748f | ||
22 | purple = #ebbcba | ||
23 | pink = #c4a7e7 | ||
24 | |||
25 | [bar/top] | ||
26 | monitor = | ||
27 | width = 100% | ||
28 | height = 20 | ||
29 | offset-x = 0 | ||
30 | offset-y = 0 | ||
31 | radius = 0 | ||
32 | fixed-center = true | ||
33 | |||
34 | background = ${colors.background} | ||
35 | foreground = ${colors.foreground} | ||
36 | |||
37 | border-top-size = 0 | ||
38 | border-bottom-size = 0 | ||
39 | border-top-color = ${colors.background} | ||
40 | border-bottom-color = ${colors.background} | ||
41 | |||
42 | padding = 2 | ||
43 | module-margin = 1 | ||
44 | |||
45 | font-0 = scientifica:antialias=false;1 | ||
46 | font-1 = Siji:size=20;1 | ||
47 | |||
48 | modules-left = i3 pulseaudio-control spotify github | ||
49 | modules-center = xwindow | ||
50 | modules-right = focus backlight battery date time | ||
51 | |||
52 | tray-position = right | ||
53 | |||
54 | [module/github] | ||
55 | type = internal/github | ||
56 | |||
57 | token = ${file:/home/yigit/.local/share/polybar/github_token} | ||
58 | user = yigitsever | ||
59 | empty-notifications = false | ||
60 | interval = 10 | ||
61 | api-url = https://api.github.com/ | ||
62 | |||
63 | format = <label> | ||
64 | label = %notifications% | ||
65 | |||
66 | label-padding = 1 | ||
67 | |||
68 | format-background = ${colors.background_modules} | ||
69 | format-foreground = ${colors.foreground_modules} | ||
70 | |||
71 | format-prefix = | ||
72 | format-prefix-foreground = ${colors.background_modules} | ||
73 | format-prefix-background = ${colors.purple} | ||
74 | format-prefix-padding = 1 | ||
75 | |||
76 | format-offline = <label-offline> | ||
77 | label-offline = Github offline | ||
78 | |||
79 | [module/focus] | ||
80 | type = custom/script | ||
81 | exec = ~/.config/polybar/scripts/focus | ||
82 | double-click-left = exec ~/.config/polybar/scripts/stop & | ||
83 | interval = 1 | ||
84 | |||
85 | [module/spotify] | ||
86 | type = custom/script | ||
87 | interval = 1 | ||
88 | format-prefix = "" | ||
89 | format-prefix-padding = 1 | ||
90 | format-prefix-background = ${colors.sold_out_green} | ||
91 | format-prefix-foreground = ${colors.foreground_modules} | ||
92 | format = <label> | ||
93 | format-padding = 0 | ||
94 | exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {artist} - {song}' -p ', ' | ||
95 | ;契 | ||
96 | |||
97 | [module/backlight] | ||
98 | type = internal/xbacklight | ||
99 | |||
100 | format = <ramp><label> | ||
101 | |||
102 | label = %percentage%% | ||
103 | |||
104 | ramp-font = 4 | ||
105 | ramp-background = ${colors.yellow} | ||
106 | ramp-foreground = ${colors.foreground_modules} | ||
107 | ramp-padding = 1 | ||
108 | ramp-0 = | ||
109 | ramp-1 = | ||
110 | ramp-2 = | ||
111 | ramp-3 = | ||
112 | ramp-4 = | ||
113 | |||
114 | label-padding = 1 | ||
115 | label-background = ${colors.background_modules} | ||
116 | label-foreground = ${colors.foreground_modules} | ||
117 | |||
118 | [module/battery] | ||
119 | type = internal/battery | ||
120 | battery = BAT0 | ||
121 | adapter = AC0 | ||
122 | |||
123 | time-format = %H:%M | ||
124 | |||
125 | format-charging = <animation-charging><label-charging> | ||
126 | format-discharging = <ramp-capacity><label-discharging> | ||
127 | |||
128 | ramp-capacity-background = ${colors.red} | ||
129 | ramp-capacity-foreground = ${colors.foreground_modules} | ||
130 | ramp-capacity-padding = 1 | ||
131 | |||
132 | animation-charging-background = ${colors.green} | ||
133 | animation-charging-foreground = ${colors.foreground_modules} | ||
134 | animation-charging-padding = 1 | ||
135 | |||
136 | label-charging = %percentage%% %time% | ||
137 | label-charging-background = ${colors.background_modules} | ||
138 | label-charging-foreground = ${colors.foreground_modules} | ||
139 | label-charging-padding = 1 | ||
140 | |||
141 | label-discharging = %percentage%% %time% | ||
142 | label-discharging-background = ${colors.background_modules} | ||
143 | label-discharging-foreground = ${colors.foreground_modules} | ||
144 | label-discharging-padding = 1 | ||
145 | |||
146 | label-full = | ||
147 | label-full-background = ${colors.yellow} | ||
148 | label-full-foreground = ${colors.foreground_modules} | ||
149 | label-full-padding = 1 | ||
150 | |||
151 | ; Only applies if <ramp-capacity> is used | ||
152 | ramp-capacity-0 = | ||
153 | ramp-capacity-1 = | ||
154 | ramp-capacity-2 = | ||
155 | ramp-capacity-3 = | ||
156 | |||
157 | ; Only applies if <animation-charging> is used | ||
158 | animation-charging-0 = | ||
159 | animation-charging-1 = | ||
160 | animation-charging-2 = | ||
161 | animation-charging-3 = | ||
162 | |||
163 | ; Framerate in milliseconds | ||
164 | animation-charging-framerate = 750 | ||
165 | |||
166 | [module/xwindow] | ||
167 | type = internal/xwindow | ||
168 | format = <label> | ||
169 | label = %title:0:70:...% | ||
170 | |||
171 | y-offset = 10 | ||
172 | label-padding = 1 | ||
173 | label-font = 1 | ||
174 | |||
175 | label-empty = | ||
176 | label-empty-font = 3 | ||
177 | label-empty-padding = 5 | ||
178 | |||
179 | [module/i3] | ||
180 | type = internal/i3 | ||
181 | format = <label-state> | ||
182 | index-sort = true | ||
183 | wrapping-scroll = false | ||
184 | strip-wsnumbers = true | ||
185 | |||
186 | ws-icon-default = | ||
187 | ws-icon-0 = 0; | ||
188 | ws-icon-1 = 1; | ||
189 | ws-icon-2 = 2; | ||
190 | ws-icon-3 = 3; | ||
191 | ws-icon-4 = 4; | ||
192 | ws-icon-5 = 5; | ||
193 | ws-icon-6 = 6; | ||
194 | ws-icon-7 = 7; | ||
195 | ws-icon-8 = 8; | ||
196 | ws-icon-9 = 9; | ||
197 | ws-icon-10 = zotero; | ||
198 | ws-icon-11 = desktop; | ||
199 | ws-icon-12 = browser; | ||
200 | |||
201 | label-mode-background = ${colors.background_modules} | ||
202 | label-mode-foreground = ${colors.foreground_modules} | ||
203 | label-mode-padding = 2 | ||
204 | |||
205 | label-focused = %icon% | ||
206 | label-focused-background = ${colors.yellow} | ||
207 | label-focused-foreground = ${colors.foreground_modules} | ||
208 | label-focused-padding = 1 | ||
209 | |||
210 | label-unfocused = %icon% | ||
211 | label-unfocused-background = ${colors.background_modules} | ||
212 | label-unfocused-foreground = ${colors.foreground_modules} | ||
213 | label-unfocused-padding = 1 | ||
214 | |||
215 | label-visible = %icon% | ||
216 | label-visible-background = ${colors.background_modules} | ||
217 | label-visible-foreground = ${colors.foreground_modules} | ||
218 | label-visible-padding = 1 | ||
219 | |||
220 | label-urgent = %icon% | ||
221 | label-urgent-background = ${colors.red} | ||
222 | label-urgent-foreground = ${colors.foreground_modules} | ||
223 | label-urgent-padding = 1 | ||
224 | |||
225 | label-separator = " " | ||
226 | label-separator-foreground = ${colors.foreground} | ||
227 | label-separator-background = ${colors.purple} | ||
228 | |||
229 | [module/date] | ||
230 | type = internal/date | ||
231 | interval = 1 | ||
232 | |||
233 | date = %Y-%m-%d %A | ||
234 | label = %date% | ||
235 | format = <label> | ||
236 | |||
237 | format-prefix = | ||
238 | format-prefix-background = ${colors.blue} | ||
239 | format-prefix-foreground = ${colors.foreground_modules} | ||
240 | format-prefix-font = 3 | ||
241 | format-prefix-padding = 1 | ||
242 | |||
243 | label-background = ${colors.background_modules} | ||
244 | label-foreground = ${colors.foreground_modules} | ||
245 | label-padding = 1 | ||
246 | |||
247 | [module/time] | ||
248 | type = internal/date | ||
249 | interval = 1 | ||
250 | |||
251 | time = %H:%M | ||
252 | label = %time% | ||
253 | format = <label> | ||
254 | |||
255 | format-prefix = | ||
256 | format-prefix-background = ${colors.green} | ||
257 | format-prefix-foreground = ${colors.foreground_modules} | ||
258 | format-prefix-font = 3 | ||
259 | format-prefix-padding = 1 | ||
260 | |||
261 | label-background = ${colors.background_modules} | ||
262 | label-foreground = ${colors.foreground_modules} | ||
263 | label-padding = 1 | ||
264 | |||
265 | [module/pulseaudio-control] | ||
266 | type = custom/script | ||
267 | tail = true | ||
268 | label = %output% | ||
269 | interval = 5 | ||
270 | |||
271 | exec = ~/.config/polybar/scripts/pulseaudio_control --listen | ||
272 | click-right = exec pavucontrol & | ||
273 | click-left = ~/.config/polybar/scripts/pulseaudio_control --togmute | ||
274 | click-middle = ~/.config/polybar/scripts/pulseaudio_control --change | ||
275 | scroll-up = ~/.config/polybar/scripts/pulseaudio_control --up | ||
276 | scroll-down = ~/.config/polybar/scripts/pulseaudio_control --down | ||
277 | label-padding = 2 | ||
278 | label-foreground = ${colors.foreground_modules} | ||
279 | label-background = ${colors.background_modules} | ||
280 | |||
281 | [settings] | ||
282 | screenchange-reload = true | ||
283 | compositing-background = source | ||
284 | compositing-foreground = source | ||
285 | compositing-border = over | ||
286 | pseudo-transparency = false | ||
287 | |||
288 | [global/wm] | ||
289 | margin-top = 5 | ||
290 | margin-bottom = 5 | ||
291 | ; override-redirect = true | ||
292 | |||
293 | ; vim:ft=dosini | ||