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