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