dotfiles/config/berry/polybar/polybar (view raw)
| 1 | [settings] |
| 2 | pseudo-transparency = true |
| 3 | |
| 4 | [colors] |
| 5 | background = #002B36 |
| 6 | foreground = #dfdfdf |
| 7 | secondary = #073642 |
| 8 | alert = #268bd2 |
| 9 | |
| 10 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 11 | [bar/top] |
| 12 | width = 14% |
| 13 | height = 22 |
| 14 | override-redirect = false |
| 15 | background = ${colors.background} |
| 16 | foreground = ${colors.foreground} |
| 17 | offset-x = 85.8% |
| 18 | offset-y = 0.4% |
| 19 | module-margin-left = 1 |
| 20 | module-margin-right = 1 |
| 21 | font-0 = Iosevka Nerd Font:style=Medium:size=8;3 |
| 22 | font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 |
| 23 | modules-center = keyboard pulseaudio wifi-signal time |
| 24 | |
| 25 | [bar/bom] |
| 26 | width = 6% |
| 27 | height = 22 |
| 28 | bottom = true |
| 29 | offset-x = 93.8% |
| 30 | offset-y = 0.4% |
| 31 | font-0 = Iosevka Nerd Font:style=Medium:size=8;3 |
| 32 | font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 |
| 33 | background = ${colors.background} |
| 34 | foreground = ${colors.foreground} |
| 35 | modules-left = t |
| 36 | tray-position = center |
| 37 | |
| 38 | [module/backlight] |
| 39 | type = internal/xbacklight |
| 40 | format = <ramp> <label> |
| 41 | label = %percentage%% |
| 42 | ramp-0 = |
| 43 | |
| 44 | [module/wifi-signal] |
| 45 | type = custom/script |
| 46 | label = %output:%% |
| 47 | exec = ~/.config/polybar/scripts/wifi-signal.sh |
| 48 | interval = 3.0 |
| 49 | |
| 50 | [module/pulseaudio] |
| 51 | type = internal/pulseaudio |
| 52 | format-volume = <ramp-volume> <label-volume> |
| 53 | label-volume = %percentage%% |
| 54 | label-volume-foreground = ${root.foreground} |
| 55 | label-muted = |
| 56 | ramp-volume-0 = |
| 57 | ramp-volume-1 = |
| 58 | ramp-volume-2 = |
| 59 | ramp-volume-3 = |
| 60 | ramp-volume-4 = |
| 61 | |
| 62 | [module/updates-pacman] |
| 63 | type = custom/script |
| 64 | exec = ~/.config/polybar/scripts/updates-pacman-aur.sh |
| 65 | interval = 60 |
| 66 | |
| 67 | [module/keyboard] |
| 68 | type = internal/xkeyboard |
| 69 | label-NAME-maxlen = 10 |
| 70 | format-prefix = "" |
| 71 | label-layout = %layout% |
| 72 | blacklist-0 = num lock |
| 73 | blacklist-1 = scroll lock |
| 74 | blacklist-2= caps lock |
| 75 | |
| 76 | [module/date] |
| 77 | type = internal/date |
| 78 | interval = 600 |
| 79 | date = %b %e |
| 80 | label = %date% |
| 81 | |
| 82 | [module/time] |
| 83 | type = internal/date |
| 84 | interval = 0 |
| 85 | time = %H:%M |
| 86 | label = %time% |
| 87 | |
| 88 | [module/t] |
| 89 | type = custom/text |
| 90 | content = " " |