dotfiles/config/berry/polybar/polybar (view raw)
| 1 | [settings] |
| 2 | pseudo-transparency = true |
| 3 | |
| 4 | [colors] |
| 5 | background = #262A2B |
| 6 | foreground = #FFFFFF |
| 7 | secondary = #CED4DA |
| 8 | alert = #DD6C6B |
| 9 | |
| 10 | [bar/bar] |
| 11 | override-redirect = false |
| 12 | background = ${colors.background} |
| 13 | foreground = ${colors.foreground} |
| 14 | module-margin-left = 1 |
| 15 | module-margin-right = 1 |
| 16 | padding-left = 3 |
| 17 | padding-right = 3 |
| 18 | |
| 19 | width = 14% |
| 20 | height = 22 |
| 21 | |
| 22 | offset-x = 85.8% |
| 23 | offset-y = 0.4% |
| 24 | |
| 25 | font-0 = Iosevka Nerd Font:style=Medium:size=10;3 |
| 26 | font-1 = FontAwesome5Free:style=Solid:size=8;2.5 |
| 27 | modules-left = wifi-signal date |
| 28 | #modules-center = wp |
| 29 | #modules-right = keyboard pulseaudio backlight time |
| 30 | |
| 31 | [module/backlight] |
| 32 | type = internal/xbacklight |
| 33 | format = <ramp> <label> |
| 34 | label = %percentage%% |
| 35 | ramp-0 = |
| 36 | |
| 37 | [module/wifi-signal] |
| 38 | type = custom/script |
| 39 | label = %output:%% |
| 40 | exec = cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*' |
| 41 | interval = 3.0 |
| 42 | |
| 43 | [module/pulseaudio] |
| 44 | type = internal/pulseaudio |
| 45 | format-volume = <ramp-volume> <label-volume> |
| 46 | label-volume = %percentage%% |
| 47 | label-volume-foreground = ${colors.foreground} |
| 48 | label-muted = |
| 49 | ramp-volume-0 = |
| 50 | ramp-volume-1 = |
| 51 | ramp-volume-2 = |
| 52 | ramp-volume-3 = |
| 53 | ramp-volume-4 = |
| 54 | |
| 55 | [module/keyboard] |
| 56 | type = internal/xkeyboard |
| 57 | label-NAME-maxlen = 10 |
| 58 | format-prefix = "" |
| 59 | label-layout = %layout% |
| 60 | blacklist-0 = num lock |
| 61 | blacklist-1 = scroll lock |
| 62 | blacklist-2= caps lock |
| 63 | |
| 64 | [module/date] |
| 65 | type = internal/date |
| 66 | interval = 600 |
| 67 | date = %e |
| 68 | label = %date% |
| 69 | |
| 70 | [module/time] |
| 71 | type = internal/date |
| 72 | interval = 0 |
| 73 | time = %H:%M |
| 74 | label = %time% |
| 75 | |
| 76 | [module/wp] |
| 77 | type = internal/xworkspaces |
| 78 | format = <label-state> |
| 79 | label-active = × |
| 80 | label-empty = · |
| 81 | label-urgent = ~ |
| 82 | label-active-foreground = ${colors.foreground} |
| 83 | label-active-background = ${colors.background} |
| 84 | label-active-padding = 1 |
| 85 | label-empty-foreground = ${colors.secondary} |
| 86 | label-empty-padding = |
| 87 | label-urgent-foreground = ${colors.alert} |
| 88 | label-urgent-padding = 1 |