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