summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/polybar/config##h.luchs169
1 files changed, 53 insertions, 116 deletions
diff --git a/.config/polybar/config##h.luchs b/.config/polybar/config##h.luchs
index efea4d1..4cf066d 100644
--- a/.config/polybar/config##h.luchs
+++ b/.config/polybar/config##h.luchs
@@ -10,23 +10,17 @@
10;========================================================== 10;==========================================================
11 11
12[colors] 12[colors]
13background = #0c1014 13background = #40191724
14background_alt = #0a3749 14background_modules = #aaebbcba
15background_modules = #fbf1c7 15foreground = #e0def4
16foreground = #d3ebe9 16foreground_modules = #1f1d2e
17foreground_alt = #99d1ce 17red = #eb6f92
18foreground_modules = #282828 18green = #9ccfd8
19red = #9d0006
20green = #427b58
21sold_out_green = #1DB954 19sold_out_green = #1DB954
22yellow = #b56714 20yellow = #f6c177
23blue = #458588 21blue = #31748f
24purple = #8f3f71 22purple = #ebbcba
25aqua = #689d6a 23pink = #c4a7e7
26orange = #d65d0e
27primary = #d26937
28secondary = #888ca6
29alert = #c23127
30 24
31[bar/top] 25[bar/top]
32monitor = 26monitor =
@@ -37,7 +31,7 @@ offset-y = 0
37radius = 0 31radius = 0
38fixed-center = true 32fixed-center = true
39 33
40background = #40080808 34background = ${colors.background}
41foreground = ${colors.foreground} 35foreground = ${colors.foreground}
42 36
43border-top-size = 0 37border-top-size = 0
@@ -51,12 +45,37 @@ module-margin = 1
51font-0 = scientifica:antialias=false;1 45font-0 = scientifica:antialias=false;1
52font-1 = Siji:size=20;1 46font-1 = Siji:size=20;1
53 47
54modules-left = i3 pulseaudio-control spotify 48modules-left = i3 pulseaudio-control spotify github
55modules-center = xwindow 49modules-center = xwindow
56modules-right = backlight battery date time 50modules-right = focus backlight battery date time
57 51
58tray-position = right 52tray-position = right
59 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
60[module/focus] 79[module/focus]
61type = custom/script 80type = custom/script
62exec = ~/.config/polybar/focus 81exec = ~/.config/polybar/focus
@@ -68,7 +87,7 @@ interval = 1
68format-prefix = "" 87format-prefix = ""
69format-prefix-padding = 1 88format-prefix-padding = 1
70format-prefix-background = ${colors.sold_out_green} 89format-prefix-background = ${colors.sold_out_green}
71format-prefix-foreground = ${colors.foreground} 90format-prefix-foreground = ${colors.foreground_modules}
72format = <label> 91format = <label>
73format-padding = 0 92format-padding = 0
74exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {artist} - {song}' -p ', ' 93exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {artist} - {song}' -p ', '
@@ -82,8 +101,8 @@ format = <ramp><label>
82label = %percentage%% 101label = %percentage%%
83 102
84ramp-font = 4 103ramp-font = 4
85ramp-background = ${colors.primary} 104ramp-background = ${colors.yellow}
86ramp-foreground = ${colors.foreground} 105ramp-foreground = ${colors.foreground_modules}
87ramp-padding = 1 106ramp-padding = 1
88ramp-0 =  107ramp-0 = 
89ramp-1 =  108ramp-1 = 
@@ -106,11 +125,11 @@ format-charging = <animation-charging><label-charging>
106format-discharging = <ramp-capacity><label-discharging> 125format-discharging = <ramp-capacity><label-discharging>
107 126
108ramp-capacity-background = ${colors.red} 127ramp-capacity-background = ${colors.red}
109ramp-capacity-foreground = ${colors.foreground} 128ramp-capacity-foreground = ${colors.foreground_modules}
110ramp-capacity-padding = 1 129ramp-capacity-padding = 1
111 130
112animation-charging-background = ${colors.green} 131animation-charging-background = ${colors.green}
113animation-charging-foreground = ${colors.foreground} 132animation-charging-foreground = ${colors.foreground_modules}
114animation-charging-padding = 1 133animation-charging-padding = 1
115 134
116label-charging = %percentage%% %time% 135label-charging = %percentage%% %time%
@@ -124,7 +143,7 @@ label-discharging-foreground = ${colors.foreground_modules}
124label-discharging-padding = 1 143label-discharging-padding = 1
125 144
126label-full =  145label-full = 
127label-full-background = ${colors.green} 146label-full-background = ${colors.yellow}
128label-full-foreground = ${colors.foreground_modules} 147label-full-foreground = ${colors.foreground_modules}
129label-full-padding = 1 148label-full-padding = 1
130 149
@@ -156,29 +175,6 @@ label-empty = 
156label-empty-font = 3 175label-empty-font = 3
157label-empty-padding = 5 176label-empty-padding = 5
158 177
159[module/xkeyboard]
160type = internal/xkeyboard
161blacklist-0 = num lock
162blacklist-1 = scroll lock
163
164format = <label-layout> <label-indicator>
165format-spacing = 0
166
167format-prefix = @
168format-prefix-padding = 1
169format-prefix-background = ${colors.blue}
170format-prefix-foreground = ${colors.foreground}
171format-prefix-font = 3
172
173label-layout = %name%
174label-layout-padding = 1
175label-layout-background = ${colors.background_modules}
176label-layout-foreground = ${colors.foreground_modules}
177
178label-indicator-padding = 2
179label-indicator-margin =
180label-indicator-background = ${colors.alert}
181
182[module/i3] 178[module/i3]
183type = internal/i3 179type = internal/i3
184format = <label-state> 180format = <label-state>
@@ -206,8 +202,8 @@ label-mode-foreground = ${colors.foreground_modules}
206label-mode-padding = 2 202label-mode-padding = 2
207 203
208label-focused = %icon% 204label-focused = %icon%
209label-focused-background = ${colors.red} 205label-focused-background = ${colors.yellow}
210label-focused-foreground = ${colors.background_modules} 206label-focused-foreground = ${colors.foreground_modules}
211label-focused-padding = 1 207label-focused-padding = 1
212 208
213label-unfocused = %icon% 209label-unfocused = %icon%
@@ -221,50 +217,13 @@ label-visible-foreground = ${colors.foreground_modules}
221label-visible-padding = 1 217label-visible-padding = 1
222 218
223label-urgent = %icon% 219label-urgent = %icon%
224label-urgent-background = ${colors.alert} 220label-urgent-background = ${colors.red}
225label-urgent-foreground = ${colors.background} 221label-urgent-foreground = ${colors.foreground_modules}
226label-urgent-padding = 1 222label-urgent-padding = 1
227 223
228label-separator = " " 224label-separator = " "
229label-separator-foreground = ${colors.foreground} 225label-separator-foreground = ${colors.foreground}
230label-separator-background = #504945 226label-separator-background = ${colors.purple}
231
232[module/download]
233type = internal/network
234interface = wlp2s0
235interval = 3.0
236
237format-connected = <label-connected>
238
239format-connected-prefix = 
240format-connected-prefix-padding = 1
241format-connected-prefix-background = ${colors.green}
242format-connected-prefix-foreground = ${colors.foreground}
243
244label-connected = %downspeed%
245label-connected-background = ${colors.background_modules}
246label-connected-foreground = ${colors.foreground_modules}
247label-connected-padding = 1
248
249format-disconnected = <label-disconnected>
250label-disconnected = %ifname% disconnected 
251
252[module/upload]
253type = internal/network
254interface = wlp2s0
255interval = 3.0
256
257format-connected = <label-connected>
258
259format-connected-prefix = 
260format-connected-prefix-padding = 1
261format-connected-prefix-background = ${colors.yellow}
262format-connected-prefix-foreground = ${colors.foreground}
263
264label-connected = %upspeed%
265label-connected-background = ${colors.background_modules}
266label-connected-foreground = ${colors.foreground_modules}
267label-connected-padding = 1
268 227
269[module/date] 228[module/date]
270type = internal/date 229type = internal/date
@@ -275,8 +234,8 @@ label = %date%
275format = <label> 234format = <label>
276 235
277format-prefix =  236format-prefix = 
278format-prefix-background = ${colors.orange} 237format-prefix-background = ${colors.blue}
279format-prefix-foreground = ${colors.foreground} 238format-prefix-foreground = ${colors.foreground_modules}
280format-prefix-font = 3 239format-prefix-font = 3
281format-prefix-padding = 1 240format-prefix-padding = 1
282 241
@@ -293,8 +252,8 @@ label = %time%
293format = <label> 252format = <label>
294 253
295format-prefix =  254format-prefix = 
296format-prefix-background = ${colors.secondary} 255format-prefix-background = ${colors.green}
297format-prefix-foreground = ${colors.foreground} 256format-prefix-foreground = ${colors.foreground_modules}
298format-prefix-font = 3 257format-prefix-font = 3
299format-prefix-padding = 1 258format-prefix-padding = 1
300 259
@@ -302,28 +261,6 @@ label-background = ${colors.background_modules}
302label-foreground = ${colors.foreground_modules} 261label-foreground = ${colors.foreground_modules}
303label-padding = 1 262label-padding = 1
304 263
305[module/pulseaudio]
306type = internal/pulseaudio
307interval = 5
308
309format-volume = <label-volume>
310
311format-volume-prefix = 
312format-volume-prefix-background = ${colors.purple}
313format-volume-prefix-foreground = ${colors.background_modules}
314format-volume-prefix-font = 3
315format-volume-prefix-padding = 1
316
317label-volume = %percentage%
318label-volume-background = ${colors.background_modules}
319label-volume-foreground = ${colors.foreground_modules}
320label-volume-padding = 1
321
322label-muted = 
323label-muted-background = ${colors.purple}
324label-muted-foreground = ${colors.foreground}
325label-muted-padding = 2
326
327[module/pulseaudio-control] 264[module/pulseaudio-control]
328type = custom/script 265type = custom/script
329tail = true 266tail = true