summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/polybar/config##mobile.Linux.Luchs66
1 files changed, 50 insertions, 16 deletions
diff --git a/.config/polybar/config##mobile.Linux.Luchs b/.config/polybar/config##mobile.Linux.Luchs
index 376266f..656cad2 100644
--- a/.config/polybar/config##mobile.Linux.Luchs
+++ b/.config/polybar/config##mobile.Linux.Luchs
@@ -18,6 +18,7 @@ foreground_alt = #99d1ce
18foreground_modules = #282828 18foreground_modules = #282828
19red = #9d0006 19red = #9d0006
20green = #427b58 20green = #427b58
21sold_out_green = #1DB954
21yellow = #b56714 22yellow = #b56714
22blue = #458588 23blue = #458588
23purple = #8f3f71 24purple = #8f3f71
@@ -31,10 +32,10 @@ alert = #c23127
31monitor = 32monitor =
32width = 100% 33width = 100%
33height = 20 34height = 20
34offset-x = 0% 35offset-x = 0
35offset-y = 0 36offset-y = 0
36radius = 0 37radius = 0
37override-redirect = false 38fixed-center = true
38 39
39background = ${colors.background} 40background = ${colors.background}
40foreground = ${colors.foreground} 41foreground = ${colors.foreground}
@@ -44,7 +45,7 @@ border-bottom-size = 0
44border-top-color = ${colors.background} 45border-top-color = ${colors.background}
45border-bottom-color = ${colors.background} 46border-bottom-color = ${colors.background}
46 47
47padding = 1 48padding = 2
48module-margin = 1 49module-margin = 1
49 50
50font-0 = scientifica:antialias=false;0 51font-0 = scientifica:antialias=false;0
@@ -52,12 +53,29 @@ font-1 = Lato:size=10;1
52font-2 = Fira Code:size=10;1 53font-2 = Fira Code:size=10;1
53font-3 = FuraCode Nerd Font Mono:size=12;2 54font-3 = FuraCode Nerd Font Mono:size=12;2
54 55
55modules-left = i3 56modules-left = i3 pulseaudio-control spotify
56modules-center = xwindow 57modules-center = xwindow
57modules-right = backlight battery date time xkeyboard 58modules-right = backlight battery date time xkeyboard
58 59
59tray-position = right 60tray-position = right
60 61
62[module/focus]
63type = custom/script
64exec = ~/.config/polybar/focus
65interval = 10
66
67[module/spotify]
68type = custom/script
69interval = 1
70format-prefix = ""
71format-prefix-padding = 1
72format-prefix-background = ${colors.sold_out_green}
73format-prefix-foreground = ${colors.foreground}
74format = <label>
75format-padding = 0
76exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , '
77;契
78
61[module/backlight] 79[module/backlight]
62type = internal/xbacklight 80type = internal/xbacklight
63 81
@@ -155,12 +173,12 @@ type = internal/xwindow
155format = <label> 173format = <label>
156label = %title:0:70:...% 174label = %title:0:70:...%
157 175
158y-offset = 0 176y-offset = 10
159label-padding = 1 177label-padding = 1
160label-font = 1 178label-font = 1
161 179
162label-empty = 180label-empty =
163label-empty-font = 4 181label-empty-font = 3
164label-empty-padding = 5 182label-empty-padding = 5
165 183
166[module/xkeyboard] 184[module/xkeyboard]
@@ -171,13 +189,13 @@ blacklist-1 = scroll lock
171format = <label-layout> <label-indicator> 189format = <label-layout> <label-indicator>
172format-spacing = 0 190format-spacing = 0
173 191
174format-prefix = 192format-prefix =
175format-prefix-padding = 1 193format-prefix-padding = 1
176format-prefix-background = ${colors.blue} 194format-prefix-background = ${colors.blue}
177format-prefix-foreground = ${colors.foreground} 195format-prefix-foreground = ${colors.foreground}
178format-prefix-font = 4 196format-prefix-font = 3
179 197
180label-layout = %layout% 198label-layout = %name%
181label-layout-padding = 1 199label-layout-padding = 1
182label-layout-background = ${colors.background_modules} 200label-layout-background = ${colors.background_modules}
183label-layout-foreground = ${colors.foreground_modules} 201label-layout-foreground = ${colors.foreground_modules}
@@ -214,7 +232,7 @@ label-visible-padding = 1
214 232
215label-urgent = %index% 233label-urgent = %index%
216label-urgent-background = ${colors.alert} 234label-urgent-background = ${colors.alert}
217label-urgent-foreground = ${colors.foreground_modules} 235label-urgent-foreground = ${colors.background}
218label-urgent-padding = 1 236label-urgent-padding = 1
219 237
220[module/download] 238[module/download]
@@ -265,7 +283,7 @@ format = <label>
265format-prefix =  283format-prefix = 
266format-prefix-background = ${colors.orange} 284format-prefix-background = ${colors.orange}
267format-prefix-foreground = ${colors.foreground} 285format-prefix-foreground = ${colors.foreground}
268format-prefix-font = 4 286format-prefix-font = 3
269format-prefix-padding = 1 287format-prefix-padding = 1
270 288
271label-background = ${colors.background_modules} 289label-background = ${colors.background_modules}
@@ -280,10 +298,10 @@ time = %H:%M
280label = %time% 298label = %time%
281format = <label> 299format = <label>
282 300
283format-prefix = 301format-prefix =
284format-prefix-background = ${colors.secondary} 302format-prefix-background = ${colors.secondary}
285format-prefix-foreground = ${colors.foreground} 303format-prefix-foreground = ${colors.foreground}
286format-prefix-font = 4 304format-prefix-font = 3
287format-prefix-padding = 1 305format-prefix-padding = 1
288 306
289label-background = ${colors.background_modules} 307label-background = ${colors.background_modules}
@@ -296,10 +314,10 @@ interval = 5
296 314
297format-volume = <label-volume> 315format-volume = <label-volume>
298 316
299format-volume-prefix = 317format-volume-prefix =
300format-volume-prefix-background = ${colors.purple} 318format-volume-prefix-background = ${colors.purple}
301format-volume-prefix-foreground = ${colors.background_modules} 319format-volume-prefix-foreground = ${colors.background_modules}
302format-volume-prefix-font = 4 320format-volume-prefix-font = 3
303format-volume-prefix-padding = 1 321format-volume-prefix-padding = 1
304 322
305label-volume = %percentage% 323label-volume = %percentage%
@@ -312,6 +330,22 @@ label-muted-background = ${colors.purple}
312label-muted-foreground = ${colors.foreground} 330label-muted-foreground = ${colors.foreground}
313label-muted-padding = 2 331label-muted-padding = 2
314 332
333[module/pulseaudio-control]
334type = custom/script
335tail = true
336label = %output%
337interval = 5
338
339exec = ~/.config/polybar/pulseaudio-control.sh --listen
340click-right = exec pavucontrol &
341click-left = ~/.config/polybar/pulseaudio-control.sh --togmute
342click-middle = ~/.config/polybar/pulseaudio-control.sh --change
343scroll-up = ~/.config/polybar/pulseaudio-control.sh --up
344scroll-down = ~/.config/polybar/pulseaudio-control.sh --down
345label-padding = 2
346label-foreground = ${colors.foreground_modules}
347label-background = ${colors.background_modules}
348
315[settings] 349[settings]
316screenchange-reload = true 350screenchange-reload = true
317compositing-background = source 351compositing-background = source